From aed75145c155481433d9b8b38d68ab3239d38ef4 Mon Sep 17 00:00:00 2001 From: Shuo Liu Date: Tue, 29 Jan 2019 17:48:17 +0800 Subject: [PATCH] dm: Limit 64 bits PCI BAR region address space Limit 64 bits PCI BAR space from 0x100000000UL ~ 0x140000000UL, as HV now only support 0x400000000UL+0x80000000 as top of guest memory address. EPT table size is static allocated. Tracked-On: #2577 Signed-off-by: Shuo A Liu Signed-off-by: Jian Jun Chen Acked-by: Yu Wang --- devicemodel/hw/pci/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicemodel/hw/pci/core.c b/devicemodel/hw/pci/core.c index e5fbaa25a..7284be064 100644 --- a/devicemodel/hw/pci/core.c +++ b/devicemodel/hw/pci/core.c @@ -97,8 +97,8 @@ SYSRES_MEM(PCI_EMUL_ECFG_BASE, PCI_EMUL_ECFG_SIZE); #define PCI_EMUL_MEMLIMIT32 PCI_EMUL_ECFG_BASE -#define PCI_EMUL_MEMBASE64 0x7000000000UL -#define PCI_EMUL_MEMLIMIT64 0x8D00000000UL +#define PCI_EMUL_MEMBASE64 0x100000000UL +#define PCI_EMUL_MEMLIMIT64 0x140000000UL static struct pci_vdev_ops *pci_emul_finddev(char *name); static void pci_lintr_route(struct pci_vdev *dev);