On Sun, Oct 13, 2013 at 03:31:23PM +0300, Michael S. Tsirkin wrote:
On Sun, Oct 13, 2013 at 02:13:44PM +0200, Igor Mammedov wrote:
Currently 64-bit PCI BARs are unconditionally mapped by BIOS right over 4G + RamSizeOver4G location, which doesn't allow to reserve extra space before 64-bit PCI window. For memory hotplug an extra RAM space might be reserved after present 64-bit RAM end and BIOS should map 64-bit PCI BARs after it.
Introduce "etc/pcimem64-start" romfile to provide BIOS a hint where it should start mapping of 64-bit PCI BARs. If romfile is missing, BIOS reverts to legacy behavior and starts mapping right after high memory.
Signed-off-by: Igor Mammedov imammedo@redhat.com
v2:
- place 64-bit window behind high RAM end if "etc/pcimem64-start" points below it.
Hmm I had an alternative suggestion of passing smbios tables in from QEMU (seabios already has a mechanism for this).
Irrespective of this discussion, I do think the SMBIOS tables should be passed in from QEMU.
-Kevin