]> git.proxmox.com Git - qemu.git/commit - vl.c
Allow machines to configure the QEMU_VERSION that's exposed via hardware
authorCrístian Viana <vianac@linux.vnet.ibm.com>
Wed, 30 May 2012 03:35:51 +0000 (00:35 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 19 Jun 2012 18:36:56 +0000 (13:36 -0500)
commit93bfef4c6e4b23caea9d51e1099d06433d8835a4
tree89ede1eb2d2c290b991c7e54068ca8f37d594bbd
parent459ae5ea5ad682c2b3220beb244d4102c1a4e332
Allow machines to configure the QEMU_VERSION that's exposed via hardware

QEMU exposes its version to the guest's hardware and in some cases that is wrong
(e.g. Windows prints messages about driver updates when you switch
the QEMU version).
There is a new field now on the struct QEmuMachine, hw_version, which may
contain the version that the specific machine should report. If that field is
set, then that machine will report that version to the guest.

Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
19 files changed:
hw/boards.h
hw/bt-sdp.c
hw/ide/core.c
hw/nseries.c
hw/pc_piix.c
hw/scsi-bus.c
hw/scsi-disk.c
hw/usb/dev-bluetooth.c
hw/usb/dev-hid.c
hw/usb/dev-hub.c
hw/usb/dev-serial.c
hw/usb/dev-smartcard-reader.c
hw/usb/dev-storage.c
hw/usb/dev-wacom.c
hw/usb/redirect.c
osdep.c
osdep.h
target-i386/cpu.c
vl.c