Re: [Xen-devel] [PATCH v4 02/14] libxc: Prepare a start info structure for hvmloader

2016-03-19 Thread Boris Ostrovsky
On 03/15/2016 08:18 PM, Konrad Rzeszutek Wilk wrote: On Mon, Mar 14, 2016 at 05:55:37PM +, Anthony PERARD wrote: @@ -624,8 +628,6 @@ static int alloc_magic_pages_hvm(struct xc_dom_image *dom) if ( !dom->device_model ) { -size_t start_info_size = sizeof(struct hvm_

Re: [Xen-devel] [PATCH v4 02/14] libxc: Prepare a start info structure for hvmloader

2016-03-19 Thread Anthony PERARD
> > diff --git a/tools/libxc/xc_dom_x86.c b/tools/libxc/xc_dom_x86.c > > index bdec40a..9c56d55 100644 > > --- a/tools/libxc/xc_dom_x86.c > > +++ b/tools/libxc/xc_dom_x86.c > > @@ -69,6 +69,9 @@ > > #define round_up(addr, mask) ((addr) | (mask)) > > #define round_pg_up(addr) (((addr) + PAGE_

Re: [Xen-devel] [PATCH v4 02/14] libxc: Prepare a start info structure for hvmloader

2016-03-18 Thread Anthony PERARD
On Wed, Mar 16, 2016 at 02:01:38PM -0400, Boris Ostrovsky wrote: > On 03/15/2016 08:18 PM, Konrad Rzeszutek Wilk wrote: > >On Mon, Mar 14, 2016 at 05:55:37PM +, Anthony PERARD wrote: > > > > > >>@@ -624,8 +628,6 @@ static int alloc_magic_pages_hvm(struct xc_dom_image > >>*dom) > >> if (

Re: [Xen-devel] [PATCH v4 02/14] libxc: Prepare a start info structure for hvmloader

2016-03-15 Thread Konrad Rzeszutek Wilk
On Mon, Mar 14, 2016 at 05:55:37PM +, Anthony PERARD wrote: > ... and load BIOS into guest memory. > > This adds a new firmware module, bios_module. It is > loaded in the guest memory and final location is provided to hvmloader > via the hvm_start_info struct. > > This patch create the hvm_st

[Xen-devel] [PATCH v4 02/14] libxc: Prepare a start info structure for hvmloader

2016-03-14 Thread Anthony PERARD
... and load BIOS into guest memory. This adds a new firmware module, bios_module. It is loaded in the guest memory and final location is provided to hvmloader via the hvm_start_info struct. This patch create the hvm_start_info struct for HVM guest that have a device model, so this is now common