qemu-devel
[Top][All Lists]
Advanced

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

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


From: Ian Campbell
Subject: Re: [Qemu-devel] [Xen-devel] [XEN][RFC PATCH 11/15] xc: Fix python build
Date: Fri, 23 Mar 2012 11:39:12 +0000

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 <address@hidden>
> ---
>  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__)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]