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

Re: [Xen-devel] [PATCHv2 0/2] xen/privcmd: support for paged-out frames



On Wed, 2012-08-29 at 14:15 +0100, David Vrabel wrote:
> This series is a straight forward-port of some functionality from
> classic kernels to support Xen hosts that do paging of guests.
> 
> This isn't functionality the XenServer makes use of so I've not tested
> these with paging in use.
> 
> Changes since v1:
> 
> - Don't change PRIVCMD_MMAPBATCH (except to #define a constant for the
>   error).  It's broken and not really fixable sensibly and libxc will
>   use V2 if it is available.
> - Return -ENOENT if all failures were -ENOENT.

Is this behaviour a requirement from something?

Usually hypercalls of this type return a global error only if something
went wrong with the general mechanics of the hypercall (e.g. faults
reading arguments etc) and leave reporting of the individual failures of
subops to the op specific field, even if all the subops fail in the same
way.

Ian.

> - Clear arg->err on success (libxc expected this).
> 
> I think this should probably get a "Tested-by" Andres or someone else
> who uses paging before being applied.
> 
> David
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



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