commit 46ee8349d22d11ec4b8609c5bf14db9409eef974 Author: Gerd Hoffmann kraxel@redhat.com Date: Thu Jun 7 10:34:31 2012 +0200
update bios date
Linux ignores some information from acpi in case the bios is old as acpi support used to be buggy in the early days. This affects ressources for example (unless forced with pci=use_crs). So lets go for something more recent. With this patch applied the ressources for \SB.PCI0 will show up in /proc/{iomem,ioports}, tagged as "PCI Bus 0000:00".
Signed-off-by: Gerd Hoffmann kraxel@redhat.com
Breaks qemu-test:
*** Running tests *** Running test /tests/finger-print.sh... OK --- fingerprints/pc-1.0.x86_64 2011-12-18 13:08:40.000000000 -0600 +++ fingerprint.txt 2012-08-22 13:22:29.000000000 -0500 @@ -57,7 +57,7 @@ /sys/bus/pci/devices/0000:00:06.0/revision=0x00 /sys/bus/pci/devices/0000:00:06.0/virtio/host-features=0x710006d4 /sys/class/dmi/id/bios_vendor=Bochs -/sys/class/dmi/id/bios_date=01/01/2007 +/sys/class/dmi/id/bios_date=01/01/2011 /sys/class/dmi/id/bios_version=Bochs /sys/class/dmi/id/chassis_vendor=Bochs /sys/class/dmi/id/chassis_version= Guest fingerprint changed for pc-1.0!
Can we make the bios date set from fw_cfg? We really can't change the SMBIOS information unconditionally like this.
Regards,
Anthony Liguori
On Wed, Aug 22, 2012 at 01:29:57PM -0500, anthony@codemonkey.ws wrote:
commit 46ee8349d22d11ec4b8609c5bf14db9409eef974 Author: Gerd Hoffmann kraxel@redhat.com Date: Thu Jun 7 10:34:31 2012 +0200
update bios date
[...]
Guest fingerprint changed for pc-1.0!
Can we make the bios date set from fw_cfg? We really can't change the SMBIOS information unconditionally like this.
It was thought this change would be non-invasive. If it's going to cause a problem, we can revert the change and figure out an alternative. How problematic is it to change the date?
-Kevin
-/sys/class/dmi/id/bios_date=01/01/2007 +/sys/class/dmi/id/bios_date=01/01/2011
Can we make the bios date set from fw_cfg? We really can't change the SMBIOS information unconditionally like this.
Why is this so problematic? If you update the bios on real hardware the bios date will change too ...
cheers, Gerd