mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tim Mann <mann@vmware.com>
To: Alexey Makhalov <amakhalov@vmware.com>
Cc: <corbet@lwn.net>, <akataria@vmware.com>, <tglx@linutronix.de>,
	<mingo@redhat.com>, <hpa@zytor.com>, <x86@kernel.org>,
	<time-lords@vmware.com>, <monitor-list@vmware.com>,
	<pv-drivers@vmware.com>, <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	<virtualization@lists.linux-foundation.org>
Subject: Re: [PATCH 2/3] x86/vmware: Add basic paravirt ops support
Date: Wed, 26 Oct 2016 13:47:07 -0700	[thread overview]
Message-ID: <20161026134707.1e445c37@manzanita> (raw)
In-Reply-To: <20161026052600.77535-1-amakhalov@vmware.com>

I believe our trademark guidelines say we aren't supposed to use VMware as a
noun to mean a product, only to mean the company.  So we can say "running on
VMware ESXi" or "running in a VMware virtual machine", but "running on VMware"
is wrong.  There is supposedly some good legal reason for this related to
keeping our trademark.

On Tue, 25 Oct 2016 22:26:00 -0700, Alexey Makhalov <amakhalov@vmware.com>
wrote:
> Add basic paravirt support:
>  1. set pv_info.name to "VMware" to have proper boot log message
> 	Booting paravirtualized kernel on VMware
>     instead of "... on bare hardware"
>  2. set pv_cpu_ops.io_delay() to empty function - paravirt_nop() to
>     avoid vm-exits on IO delays.
> 
> Signed-off-by: Alexey Makhalov <amakhalov@vmware.com>
> Acked-by: Alok N Kataria <akataria@vmware.com>
> ---
>  arch/x86/kernel/cpu/vmware.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
> index 480790f..e3fb320 100644
> --- a/arch/x86/kernel/cpu/vmware.c
> +++ b/arch/x86/kernel/cpu/vmware.c
> @@ -61,6 +61,16 @@ static unsigned long vmware_get_tsc_khz(void)
>  	return vmware_tsc_khz;
>  }
>  
> +#ifdef CONFIG_PARAVIRT
> +static void __init vmware_paravirt_ops_setup(void)
> +{
> +	pv_info.name = "VMware";
> +	pv_cpu_ops.io_delay = paravirt_nop;
> +}
> +#else
> +#define vmware_paravirt_ops_setup() do {} while (0)
> +#endif
> +
>  static void __init vmware_platform_setup(void)
>  {
>  	uint32_t eax, ebx, ecx, edx;
> @@ -94,6 +104,8 @@ static void __init vmware_platform_setup(void)
>  	} else {
>  		pr_warn("Failed to get TSC freq from the hypervisor\n");
>  	}
> +
> +	vmware_paravirt_ops_setup();
>  }
>  
>  /*



-- 
Tim Mann                  | work: mann@vmware.com  home: tim@tim-mann.org
VMware Sr. Staff Engineer | http://www.vmware.com  http://tim-mann.org

  reply	other threads:[~2016-10-26 20:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26  5:20 [PATCH 0/3] x86/vmware guest improvements Alexey Makhalov
2016-10-26  5:20 ` [PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Alexey Makhalov
2016-10-26  5:26 ` [PATCH 2/3] x86/vmware: Add basic paravirt ops support Alexey Makhalov
2016-10-26 20:47   ` Tim Mann [this message]
2016-10-26 20:47     ` Thomas Gleixner
2016-10-27 19:44       ` [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Alexey Makhalov
2016-10-27 19:44         ` [RESEND PATCH 2/3] x86/vmware: Add basic paravirt ops support Alexey Makhalov
2016-10-27 19:44         ` [RESEND PATCH 3/3] x86/vmware: Add paravirt sched clock Alexey Makhalov
2016-10-27 22:10           ` Thomas Gleixner
2016-10-27 21:44         ` [RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Thomas Gleixner
2016-10-28  7:54           ` [PATCH v3 0/3] x86/vmware guest improvements Alexey Makhalov
2016-10-28  7:54             ` [PATCH v3 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu() Alexey Makhalov
2016-10-31  1:17               ` [tip:x86/platform] " tip-bot for Alexey Makhalov
2016-10-28  7:54             ` [PATCH v3 2/3] x86/vmware: Add basic paravirt ops support Alexey Makhalov
2016-10-31  1:17               ` [tip:x86/platform] " tip-bot for Alexey Makhalov
2016-10-28  7:54             ` [PATCH v3 3/3] x86/vmware: Add paravirt sched clock Alexey Makhalov
2016-10-31  1:18               ` [tip:x86/platform] " tip-bot for Alexey Makhalov
2016-10-26  5:26 ` [PATCH 3/3] " Alexey Makhalov
2016-10-26 10:18   ` Thomas Gleixner
2016-10-26 16:51     ` [PATCH v2 " Alexey Makhalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161026134707.1e445c37@manzanita \
    --to=mann@vmware.com \
    --cc=akataria@vmware.com \
    --cc=amakhalov@vmware.com \
    --cc=corbet@lwn.net \
    --cc=hpa@zytor.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=monitor-list@vmware.com \
    --cc=pv-drivers@vmware.com \
    --cc=tglx@linutronix.de \
    --cc=time-lords@vmware.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®