|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 1/1] Add pci_hole_min_size
On 06/27/14 04:34, Jan Beulich wrote: On 26.06.14 at 19:47, <dslutz@xxxxxxxxxxx> wrote:--- a/tools/firmware/hvmloader/config.h +++ b/tools/firmware/hvmloader/config.h @@ -53,7 +53,6 @@ extern struct bios_config ovmf_config; #define PCI_ISA_IRQ_MASK 0x0c20U /* ISA IRQs 5,10,11 are PCI connected *//* MMIO hole: Hardcoded defaults, which can be dynamically expanded. */-#define PCI_MEM_START 0xf0000000 #define PCI_MEM_END 0xfc000000This pair already shows that ... [skip next comment for continuation]--- a/tools/firmware/hvmloader/pci.c +++ b/tools/firmware/hvmloader/pci.c @@ -28,9 +28,10 @@ #include <xen/memory.h> #include <xen/hvm/ioreq.h> #include <xen/hvm/hvm_xs_strings.h> +#include <xen/hvm/e820.h> #include <stdbool.h>-unsigned long pci_mem_start = PCI_MEM_START;+unsigned long pci_mem_start = HVM_BELOW_4G_RAM_END;Perhaps (also related to the comment below) better to use HVM_BELOW_4G_MMIO_START here, even if right now both evaluate to the same number. Will do.
I think it is better to have at most 2 names. So either s/pci_hole_min_size/mmio_hole_min_size/ or switch to max_ram_below_4g.
Sure.
I am fine with disabling the auto-growing (since as far as I know
this is bug #28 (
#28 - support PCI hole resize in qemu-xen
)
Which this change is a kind of work around.
I would also drop the _min part of the name (i.e. use mmio_hole_size
or max_ram_below_4g).
-Don Slutz
Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |