hw/i386/vmport: Add support for CMD_GETBIOSUUID
commitaaacf1c15a225ffeb1ff066b78e211594b3a5053
authorLiran Alon <liran.alon@oracle.com>
Thu, 12 Mar 2020 16:54:24 +0000 (12 18:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jun 2020 16:09:47 +0000 (10 12:09 -0400)
treef2237701b60861cbad3ee3b96f6d6154604e3d9b
parentdcd938f032d3cca5d33d9faaca591b498d40debe
hw/i386/vmport: Add support for CMD_GETBIOSUUID

This is VMware documented functionallity that some guests rely on.
Returns the BIOS UUID of the current virtual machine.

Note that we also introduce a new compatability flag "x-cmds-v2" to
make sure to expose new VMPort commands only to new machine-types.
This flag will also be used by the following patches that will introduce
additional VMPort commands.

Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Message-Id: <20200312165431.82118-10-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
hw/i386/vmport.c
include/hw/i386/vmport.h