[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 for-4.11 1/2] libxc/x86: fix mapping of the start_info area
On Wed, Mar 28, 2018 at 12:55:15PM +0100, Roger Pau Monne wrote: > The start_info size calculated in bootlate_hvm is wrong. It should use > HVMLOADER_MODULE_MAX_COUNT instead of dom->num_modules and it doesn't > take into account the size of the modules command line. > > This is not a problem so far because the actually used amount of > memory doesn't cross a page boundary, and so no page-fault is > triggered. > > Instead of fixing the size calculation done in bootlate_hvm just map > the amount of memory allocated in alloc_magic_pages_hvm. > > Suggested-by: Wei Liu <wei.liu2@xxxxxxxxxx> > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |