[libvirt] [PATCH V2] libxl: detect support for save and restore

Eric Blake eblake at redhat.com
Thu Jun 26 01:07:56 UTC 2014


On 06/25/2014 06:09 PM, Jim Fehlig wrote:
> libxl does not support save, restore, or migrate on all architectures,
> notably ARM.  Detect whether libxl supports these operations using
> LIBXL_HAVE_NO_SUSPEND_RESUME.  If not supported, drop advertisement of
> <migration_features>.
> 
> Found by Ian Campbell while improving Xen's OSSTEST infrastructure
> 
> http://lists.xen.org/archives/html/xen-devel/2014-06/msg02171.html
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> 
> Another option for
> 
> https://www.redhat.com/archives/libvir-list/2014-June/msg01276.html
> 
> With this one, we even avoid the distasteful double negative :).
> 
> Compile-tested on x86 only at this point.  The ARM build is still
> slowly grinding away...
> 
>  src/libxl/libxl_conf.c   |  4 ++++
>  src/libxl/libxl_driver.c | 35 +++++++++++++++++++++++++++++++++++
>  2 files changed, 39 insertions(+)

Looks better; thanks for putting up with me :)

ACK if it passes your testing


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140625/2789c90e/attachment-0001.sig>


More information about the libvir-list mailing list