diff options
author | Liran Alon <liran.alon@oracle.com> | 2020-03-12 18:54:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-10 12:09:45 -0400 |
commit | f8bdc550370f9a652a00db891f9b7640d83c0c43 (patch) | |
tree | 16d8cd1bd5e75b7db38eb633fd87dbf21fe5b141 /hw/core | |
parent | 2fd2f799f874a4d4156c4c7287c92cfbbae5bdb2 (diff) | |
download | qemu-f8bdc550370f9a652a00db891f9b7640d83c0c43.zip qemu-f8bdc550370f9a652a00db891f9b7640d83c0c43.tar.gz qemu-f8bdc550370f9a652a00db891f9b7640d83c0c43.tar.bz2 |
hw/i386/vmport: Report vmware-vmx-type in CMD_GETVERSION
As can be seen from VmCheck_GetVersion() in open-vm-tools code,
CMD_GETVERSION should return vmware-vmx-type in ECX register.
Default is to fake host as VMware ESX server. But user can control
this value by "-global vmport.vmware-vmx-type=X".
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Message-Id: <20200312165431.82118-7-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r-- | hw/core/machine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c index fc209d7..9a07e93 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -45,6 +45,7 @@ GlobalProperty hw_compat_4_2[] = { { "fw_cfg", "acpi-mr-restore", "false" }, { "vmport", "x-read-set-eax", "off" }, { "vmport", "x-signal-unsupported-cmd", "off" }, + { "vmport", "x-report-vmx-type", "off" }, }; const size_t hw_compat_4_2_len = G_N_ELEMENTS(hw_compat_4_2); |