diff options
| author | Daniil Tatianin <d-tatianin@yandex-team.ru> | 2025-07-24 22:54:09 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-10-05 08:17:08 -0400 |
| commit | d285591d29e28abe2841ecec9a82f57fc773719f (patch) | |
| tree | 2df358c17657b840e91c17c5008d2cb420dc2e31 /include/hw/firmware | |
| parent | 4cc103081b170a80afe3344da4899b525fd4d0a8 (diff) | |
| download | focaccia-qemu-d285591d29e28abe2841ecec9a82f57fc773719f.tar.gz focaccia-qemu-d285591d29e28abe2841ecec9a82f57fc773719f.zip | |
hw/smbios: allow clearing the VM bit in SMBIOS table 0
This is useful to be able to freeze a specific version of SeaBIOS to prevent guest visible changes between BIOS updates. This is currently not possible since the extension byte 2 provided by SeaBIOS does not set the VM bit, whereas QEMU sets it unconditionally. Allowing to clear it also seems useful if we want to hide the fact that the guest system is running inside a virtual machine. Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20250724195409.43499-1-d-tatianin@yandex-team.ru> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/firmware')
| -rw-r--r-- | include/hw/firmware/smbios.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/firmware/smbios.h b/include/hw/firmware/smbios.h index f066ab7262..3ea732f4e6 100644 --- a/include/hw/firmware/smbios.h +++ b/include/hw/firmware/smbios.h @@ -22,7 +22,7 @@ extern GArray *usr_blobs_sizes; typedef struct { const char *vendor, *version, *date; - bool have_major_minor, uefi; + bool have_major_minor, uefi, vm; uint8_t major, minor; } smbios_type0_t; extern smbios_type0_t smbios_type0; |