[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [XEN][RFC PATCH 11/15] xc: Fix python build



On Thu, 2012-03-22 at 15:59 +0000, Julien Grall wrote:
> Quickly fix for hvm_build in python.

If an earlier patch breaks the build then this need to be part of that
patch to allow bisection.

> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
> ---
>  tools/python/xen/lowlevel/xc/xc.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/tools/python/xen/lowlevel/xc/xc.c 
> b/tools/python/xen/lowlevel/xc/xc.c
> index 7c89756..eb004b6 100644
> --- a/tools/python/xen/lowlevel/xc/xc.c
> +++ b/tools/python/xen/lowlevel/xc/xc.c
> @@ -984,8 +984,9 @@ static PyObject *pyxc_hvm_build(XcObject *self,
>      if ( target == -1 )
>          target = memsize;
>  
> +    // Ugly fix : we must retrieve the number of servers
>      if ( xc_hvm_build_target_mem(self->xc_handle, dom, memsize,
> -                                 target, image) != 0 )
> +                                 target, image, 0) != 0 )
>          return pyxc_error_to_exception(self->xc_handle);
>  
>  #if !defined(__ia64__)



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.