mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
![]() At the start of pc_memory_init() we usually pass a range of 0..UINT64_MAX as pci_memory, when really its 2G (i440fx) or 32G (q35). To get the real user value, we need to get pci-host passed property for default pci_hole64_size. Thus to get that, create the qdev prior to memory init to better make estimations on max used/phys addr. This is in preparation to determine that host-phys-bits are enough and also for pci-hole64-size to be considered to relocate ram-above-4g to be at 1T (on AMD platforms). Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20220719170014.27028-3-joao.m.martins@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
designware.h | ||
dino.h | ||
gpex.h | ||
i440fx.h | ||
ls7a.h | ||
mv64361.h | ||
pam.h | ||
pnv_phb3.h | ||
pnv_phb3_regs.h | ||
pnv_phb4.h | ||
pnv_phb4_regs.h | ||
ppce500.h | ||
q35.h | ||
remote.h | ||
sabre.h | ||
spapr.h | ||
uninorth.h | ||
xilinx-pcie.h |