xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Don Slutz <dslutz@verizon.com>
Cc: Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Jun Nakajima <jun.nakajima@intel.com>,
	Eddie Dong <eddie.dong@intel.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	xen-devel@lists.xen.org, Jan Beulich <jbeulich@suse.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Subject: Re: [RFC PATCH 00/10] Xen VMware tools support
Date: Tue, 17 Dec 2013 14:03:37 -0500	[thread overview]
Message-ID: <20131217190337.GA25371@phenom.dumpdata.com> (raw)
In-Reply-To: <1386875718-28166-1-git-send-email-dslutz@terremark.com>

On Thu, Dec 12, 2013 at 02:15:08PM -0500, Don Slutz wrote:
> From: Don Slutz <dslutz@verizon.com>
> 
> See
> 
> http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458

Can you say how this benefits Xen to detect this and take
advantage of it? Or is this Xen emulating VMWare so to a guest
it looks like its running under VMWare?

Thank you.
> 
> for info on detecting VMware.
> 
> Linux does not follow this exactly.  It checks for CPUID 1st.  If
> that fails, it checks for SMBIOS containing "VMware" (not VMware- or
> VMW).
> 
> So this patch set provides:
> 
>         SMBIOS -- Add string VMware-
>         CPUID -- Add VMware's CPUID (Note: currently HyperV (viridian support) breaks this check.)
>         Add the magic VMware port
>             Allow VMware tools poweroff and reboot
>             Enable access to VMware's guest info
>             Provide the VMware tools build number
> 
> Don Slutz (10):
>   smbios: Add "plus VMware-Tools" to HVM_XS_SYSTEM_PRODUCT_NAME.
>   Add VMware HVM params
>   Add cpuid_vmware_leaves
>   tools: Add support for new HVM params
>   vmport: Add VMware provided include files.
>   Add vmport structs
>   Add new vmport code.
>   connect vmport up
>   libxl: Add VTPOWER, VTREBOOT and VTPING
>   Add VMware guest info access
> 
>  tools/firmware/hvmloader/smbios.c        |   2 +-
>  tools/libxc/xc_domain.c                  | 112 +++++
>  tools/libxc/xc_domain_restore.c          |  27 ++
>  tools/libxc/xc_domain_save.c             |  24 ++
>  tools/libxc/xenctrl.h                    |  24 ++
>  tools/libxc/xg_save_restore.h            |   2 +
>  tools/libxl/libxl.c                      |  12 +
>  tools/libxl/libxl_create.c               |   4 +-
>  tools/libxl/libxl_dom.c                  |   5 +
>  tools/libxl/libxl_types.idl              |   5 +
>  tools/libxl/xl_cmdimpl.c                 |  10 +
>  tools/libxl/xl_cmdtable.c                |   2 +-
>  tools/libxl/xl_sxp.c                     |   4 +
>  xen/arch/x86/domctl.c                    |  34 ++
>  xen/arch/x86/hvm/Makefile                |   1 +
>  xen/arch/x86/hvm/hvm.c                   | 209 ++++++++-
>  xen/arch/x86/hvm/io.c                    |   4 +
>  xen/arch/x86/hvm/svm/svm.c               | 104 +++++
>  xen/arch/x86/hvm/svm/vmcb.c              |   1 +
>  xen/arch/x86/hvm/vmport/Makefile         |   1 +
>  xen/arch/x86/hvm/vmport/backdoor_def.h   | 167 +++++++
>  xen/arch/x86/hvm/vmport/guest_msg_def.h  |  87 ++++
>  xen/arch/x86/hvm/vmport/includeCheck.h   |  17 +
>  xen/arch/x86/hvm/vmport/vmport.c         | 719 +++++++++++++++++++++++++++++++
>  xen/arch/x86/hvm/vmport/xen_vmport_def.h |  36 ++
>  xen/arch/x86/hvm/vmx/vmcs.c              |   1 +
>  xen/arch/x86/hvm/vmx/vmx.c               | 125 ++++++
>  xen/arch/x86/hvm/vmx/vvmx.c              |  13 +
>  xen/arch/x86/traps.c                     |  58 ++-
>  xen/include/asm-x86/hvm/domain.h         |   4 +
>  xen/include/asm-x86/hvm/hvm.h            |   3 +
>  xen/include/asm-x86/hvm/trace.h          |   3 +
>  xen/include/asm-x86/hvm/vmport.h         |  77 ++++
>  xen/include/asm-x86/processor.h          |   2 +
>  xen/include/public/domctl.h              |   3 +
>  xen/include/public/hvm/hvm_op.h          |  18 +
>  xen/include/public/hvm/params.h          |  11 +-
>  xen/include/public/trace.h               |   1 +
>  38 files changed, 1926 insertions(+), 6 deletions(-)
>  create mode 100644 xen/arch/x86/hvm/vmport/Makefile
>  create mode 100644 xen/arch/x86/hvm/vmport/backdoor_def.h
>  create mode 100644 xen/arch/x86/hvm/vmport/guest_msg_def.h
>  create mode 100644 xen/arch/x86/hvm/vmport/includeCheck.h
>  create mode 100644 xen/arch/x86/hvm/vmport/vmport.c
>  create mode 100644 xen/arch/x86/hvm/vmport/xen_vmport_def.h
>  create mode 100644 xen/include/asm-x86/hvm/vmport.h
> 
> -- 
> 1.8.4
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-12-17 19:03 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 19:15 [RFC PATCH 00/10] Xen VMware tools support Don Slutz
2013-12-12 19:15 ` [RFC PATCH 01/10] smbios: Add "plus VMware-Tools" to HVM_XS_SYSTEM_PRODUCT_NAME Don Slutz
2013-12-12 19:35   ` Olaf Hering
2013-12-12 22:07     ` Andrew Cooper
2013-12-13 18:03       ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 02/10] Add VMware HVM params Don Slutz
2013-12-12 22:32   ` Andrew Cooper
2013-12-13 18:12     ` Don Slutz
2013-12-13 10:52   ` Jan Beulich
2013-12-13 18:13     ` Don Slutz
2013-12-17 20:02   ` Konrad Rzeszutek Wilk
2013-12-19  0:47     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 03/10] Add cpuid_vmware_leaves Don Slutz
2013-12-12 22:27   ` Andrew Cooper
2013-12-13 10:55     ` Jan Beulich
2013-12-13 13:38       ` Andrew Cooper
2013-12-13 18:55         ` Don Slutz
2013-12-16  8:13           ` Jan Beulich
2013-12-19  0:51             ` Don Slutz
2013-12-17 16:20     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 04/10] tools: Add support for new HVM params Don Slutz
2013-12-12 22:36   ` Andrew Cooper
2013-12-13 23:23     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 05/10] vmport: Add VMware provided include files Don Slutz
2013-12-17 20:22   ` Konrad Rzeszutek Wilk
2013-12-19  0:54     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 06/10] Add vmport structs Don Slutz
2013-12-12 23:10   ` Andrew Cooper
2013-12-19  1:26     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 07/10] Add new vmport code Don Slutz
2013-12-13  0:06   ` Andrew Cooper
2013-12-19  2:22     ` Don Slutz
2013-12-13 10:59   ` Jan Beulich
2013-12-19  2:25     ` Don Slutz
2013-12-17 20:36   ` Konrad Rzeszutek Wilk
2013-12-19  2:29     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 08/10] connect vmport up Don Slutz
2013-12-13  0:51   ` Andrew Cooper
2013-12-19  2:53     ` Don Slutz
2013-12-13 15:46   ` Boris Ostrovsky
2013-12-19  3:45     ` Don Slutz
2013-12-17 20:37   ` Konrad Rzeszutek Wilk
2013-12-19  3:46     ` Don Slutz
2013-12-12 19:15 ` [RFC PATCH 09/10] libxl: Add VTPOWER, VTREBOOT and VTPING Don Slutz
2013-12-13  0:58   ` Andrew Cooper
2013-12-17 20:30   ` Konrad Rzeszutek Wilk
2013-12-12 19:15 ` [RFC PATCH 10/10] Add VMware guest info access Don Slutz
2013-12-13  1:08   ` Andrew Cooper
2013-12-13  5:32   ` Matthew Daley
2013-12-17 20:34   ` Konrad Rzeszutek Wilk
2013-12-17 19:03 ` Konrad Rzeszutek Wilk [this message]
2013-12-19  0:46   ` [RFC PATCH 00/10] Xen VMware tools support Don Slutz
2013-12-19  9:50     ` Ian Campbell
2013-12-19 14:08       ` Don Slutz

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=20131217190337.GA25371@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=dslutz@verizon.com \
    --cc=eddie.dong@intel.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jun.nakajima@intel.com \
    --cc=keir@xen.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).