[libvirt] [PATCH V2] libxl: detect support for save and restore
Jim Fehlig
jfehlig at suse.com
Thu Jun 26 18:09:09 UTC 2014
Eric Blake wrote:
> 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
>
Ian provided the passing test results. I've pushed this now. Thanks!
Regards,
Jim
More information about the libvir-list
mailing list