Ian Campbell
2012-Aug-03 10:16 UTC
[PATCH] arm/tools: pass correct p2m array to popphysmap in alloc_magic_pages
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- tools/libxc/xc_dom_arm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c index aac63e5..b743a6c 100644 --- a/tools/libxc/xc_dom_arm.c +++ b/tools/libxc/xc_dom_arm.c @@ -60,7 +60,7 @@ static int alloc_magic_pages(struct xc_dom_image *dom) rc = xc_domain_populate_physmap_exact( dom->xch, dom->guest_domid, NR_MAGIC_PAGES, - 0, 0, &p2m[i]); + 0, 0, p2m); if ( rc < 0 ) return rc; -- 1.7.9.1
Stefano Stabellini
2012-Aug-03 10:51 UTC
Re: [PATCH] arm/tools: pass correct p2m array to popphysmap in alloc_magic_pages
On Fri, 3 Aug 2012, Ian Campbell wrote:> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>> --- > tools/libxc/xc_dom_arm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c > index aac63e5..b743a6c 100644 > --- a/tools/libxc/xc_dom_arm.c > +++ b/tools/libxc/xc_dom_arm.c > @@ -60,7 +60,7 @@ static int alloc_magic_pages(struct xc_dom_image *dom) > > rc = xc_domain_populate_physmap_exact( > dom->xch, dom->guest_domid, NR_MAGIC_PAGES, > - 0, 0, &p2m[i]); > + 0, 0, p2m); > if ( rc < 0 ) > return rc; > > -- > 1.7.9.1 >
Ian Campbell
2012-Aug-03 10:55 UTC
Re: [PATCH] arm/tools: pass correct p2m array to popphysmap in alloc_magic_pages
On Fri, 2012-08-03 at 11:51 +0100, Stefano Stabellini wrote:> On Fri, 3 Aug 2012, Ian Campbell wrote: > > Signed-off-by: Ian Campbell <ian.campbell@citrix.com> > > > Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>I may end up folding this into your original patch in my branch.> > > --- > > tools/libxc/xc_dom_arm.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/tools/libxc/xc_dom_arm.c b/tools/libxc/xc_dom_arm.c > > index aac63e5..b743a6c 100644 > > --- a/tools/libxc/xc_dom_arm.c > > +++ b/tools/libxc/xc_dom_arm.c > > @@ -60,7 +60,7 @@ static int alloc_magic_pages(struct xc_dom_image *dom) > > > > rc = xc_domain_populate_physmap_exact( > > dom->xch, dom->guest_domid, NR_MAGIC_PAGES, > > - 0, 0, &p2m[i]); > > + 0, 0, p2m); > > if ( rc < 0 ) > > return rc; > > > > -- > > 1.7.9.1 > >
Ian Campbell
2012-Aug-09 09:10 UTC
Re: [PATCH] arm/tools: pass correct p2m array to popphysmap in alloc_magic_pages
On Fri, 2012-08-03 at 11:55 +0100, Ian Campbell wrote:> On Fri, 2012-08-03 at 11:51 +0100, Stefano Stabellini wrote: > > On Fri, 3 Aug 2012, Ian Campbell wrote: > > > Signed-off-by: Ian Campbell <ian.campbell@citrix.com> > > > > > > Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> > > I may end up folding this into your original patch in my branch.I added it to my arm-for-4.3 branch as is, perhaps I''ll collapse when I submit for 4.3 proper. Ian.