summaryrefslogtreecommitdiff
path: root/hw/pci/pcie.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-10-10 10:30:27 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-10-17 13:06:11 +0200
commit0624c7f916b4d97f17726d9b295d6a6b0dc5076d (patch)
treeb5ab2845a5e344cc587b20e544403808b5923188 /hw/pci/pcie.c
parent1680d485777ecf436d724631ea8722cc0c66990e (diff)
downloadqemu-0624c7f916b4d97f17726d9b295d6a6b0dc5076d.zip
e820: pass high memory too.
We have a fw_cfg entry to pass e820 entries from qemu to the firmware. Today it's used to pass reservations only. This patch makes qemu pass entries for RAM too. This allows to pass RAM sizes larger than 1TB to the firmware and it will also allow to pass non-contignous memory ramges should we decide to implement that some day, say for our virtual numa nodes. Obviously this needs some extra care to not break existing firware. SeaBIOS loads the entries and happily adds them without looking at the type. Which is problematic for memory below 4g as this will overwrite reservations added for bios memory etc. For memory above 4g it works just fine, seabios will merge the entry derived from cmos with the one loaded from fw_cfg. OVMF doesn't look at the fw_cfg e820 table. coreboot doesn't look at the fw_cfg e820 table. Cc: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-By: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/pci/pcie.c')
0 files changed, 0 insertions, 0 deletions