Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-25 Thread Andrew Cooper
On 25/08/15 10:22, Roger Pau Monné wrote: > El 25/08/15 a les 11.02, Wei Liu ha escrit: >> On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: >> [...] >>> static int clear_page(struct xc_dom_image *dom, xen_pfn_t pfn) >>> { >>> xen_pfn_t dst; >>> @@ -197,14 +184,9 @@ void *xc_d

Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-25 Thread Wei Liu
On Tue, Aug 25, 2015 at 11:22:16AM +0200, Roger Pau Monné wrote: > El 25/08/15 a les 11.02, Wei Liu ha escrit: > > On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: > > [...] > >> static int clear_page(struct xc_dom_image *dom, xen_pfn_t pfn) > >> { > >> xen_pfn_t dst; > >> @@

Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-25 Thread Roger Pau Monné
El 25/08/15 a les 11.02, Wei Liu ha escrit: > On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: > [...] >> static int clear_page(struct xc_dom_image *dom, xen_pfn_t pfn) >> { >> xen_pfn_t dst; >> @@ -197,14 +184,9 @@ void *xc_dom_boot_domU_map(struct xc_dom_image *dom, >> xen

Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-25 Thread Wei Liu
On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: [...] > static int clear_page(struct xc_dom_image *dom, xen_pfn_t pfn) > { > xen_pfn_t dst; > @@ -197,14 +184,9 @@ void *xc_dom_boot_domU_map(struct xc_dom_image *dom, > xen_pfn_t pfn, > > int xc_dom_boot_image(struct xc_do

Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-25 Thread Roger Pau Monné
El 24/08/15 a les 20.26, Konrad Rzeszutek Wilk ha escrit: > On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: >> Place the calls to xc_vcpu_setcontext and the allocation of the hypercall >> buffer into the arch-specific vcpu hooks. This is needed for the next patch, > > s/next patch

Re: [Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-24 Thread Konrad Rzeszutek Wilk
On Fri, Aug 21, 2015 at 06:53:20PM +0200, Roger Pau Monne wrote: > Place the calls to xc_vcpu_setcontext and the allocation of the hypercall > buffer into the arch-specific vcpu hooks. This is needed for the next patch, s/next patch/$title/ please > so x86 HVM guests can initialize the BSP using

[Xen-devel] [PATCH v5 07/28] libxc: rework BSP initialization

2015-08-21 Thread Roger Pau Monne
Place the calls to xc_vcpu_setcontext and the allocation of the hypercall buffer into the arch-specific vcpu hooks. This is needed for the next patch, so x86 HVM guests can initialize the BSP using XEN_DOMCTL_sethvmcontext instead of XEN_DOMCTL_setvcpucontext. This patch should not introduce any f