Hi,
On Tue, Mar 13, 2012 at 11:16:51AM +0100, Igor Mammedov wrote:
What if qemu doesn't have 0xaf00 (like current upstream)? cfg_have_acpi_cpus_map is just a flag that allows to detect if qemu provides 0xaf00. This way it would be possible for seabios to work with old and new versions of qemu without breaking anything.
If QEMU will update cmos cpu count on cpu (un)plug we will not have to introduce new PV interface to telll SeaBIOS about 0xaf00.
But we will have to introduce it anyway in future for correct building of mp/acpi/smbios tables. So why not do it now and be ready later for patches to mp/acpi/smbios tables.
This sounds reasonable in principle. I am not sure about mp/smbios tables, but note that ACPI SRAT tables already use PV Interface qemu_cfg_get_numa_data.
thanks,
- Vasilis