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

Re: [Xen-devel] [PATCH v2] libxc: check for xc_domain_get_guest_width failure and pass it down



On Fri, 2013-11-01 at 13:24 +1300, Matthew Daley wrote:
> ...in xc_cpuid_pv_policy.
> 
> Coverity-ID: 1093050
> Signed-off-by: Matthew Daley <mattjd@xxxxxxxxx>
> ---
> v2: Return actual error from xc_domain_get_guest_width
[...]
> -        xc_cpuid_pv_policy(xch, domid, input, regs);
> +        if ( xc_cpuid_pv_policy(xch, domid, input, regs) != 0 )
> +            return -EINVAL;

But then you throw it away again one step further up the chain?

Ian.


_______________________________________________
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®.