[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [v9][PATCH 07/16] hvmloader/e820: construct guest e820 table
On Fri, Jul 17, 2015 at 5:06 PM, Jan Beulich <JBeulich@xxxxxxxx> wrote: >>>> On 17.07.15 at 17:54, <tiejun.chen@xxxxxxxxx> wrote: >>> > + for ( i = nr-1; i > memory_map.nr_map; i-- ) >>> >>> Before you add memory_map.nr_map, you should be able to iterate >>> from 0 to (not inclusive) nr. At least as far as I recall the original >>> patch. >>> >> >> Sorry, I really don't understand what you want. >> >> Before we add memory_map.nr_map, e820[0, nr) don't include low/high >> memory, right? > > Why? memory_map is representing the reserved areas only, isn't it? > If that's not the case, then of course everything is fine. I'm pretty sure the memory map we get here is an extension of the original PV-only get_e820 hypercall, which *does* include both the lowmem and highmem regions. In any case, it's pretty clear from the patched code that Tiejun is removing the old code which created the lowmem and highmem regions and is not replacing it. Where do you think the highmem region he's looking for was coming from? -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |