OSDN Git Service

hw/smbios: Add table 4 parameter, "processor-id"
authorPatrick Venture <venture@google.com>
Tue, 25 Jan 2022 16:31:18 +0000 (08:31 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 6 Mar 2022 10:28:55 +0000 (05:28 -0500)
commitcb5fb04fe6805bafc46534637d701874835315fe
tree05075f3499e7c372d1784bf705b2ce1e609855fa
parente6895f04c83e898873fa04c6ed87b094542d1a6d
hw/smbios: Add table 4 parameter, "processor-id"

This parameter is to be used in the processor_id entry in the type 4
table.

This parameter is set as optional and if left will use the values from
the CPU model.

This enables hiding the host information from the guest and allowing AMD
VMs to run pretending to be Intel for some userspace software concerns.

Reviewed-by: Peter Foley <pefoley@google.com>
Reviewed-by: Titus Rwantare <titusr@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220125163118.1011809-1-venture@google.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/smbios/smbios.c
qemu-options.hx