[libvirt] [PATCH] managedsave: prohibit use on transient domains
Eric Blake
eblake at redhat.com
Thu Aug 11 03:52:43 UTC 2011
On 08/10/2011 08:19 PM, Daniel Veillard wrote:
> On Wed, Aug 10, 2011 at 08:54:20AM -0600, Eric Blake wrote:
>> Transient domains reject attempts to set autostart, and using
>> virDomainCreate to restart a domain only works on persistent
>> domains. Therefore, managed save makes no sense on transient
>> domains, and should be rejected up front rather than creating
>> an otherwise unrecoverable managed save file.
>>
>> * src/libvirt.c: Document that transient domains are incompatible
>> with managed save.
>> * src/qemu/qemu_driver.c (qemuDomainManagedSave): Enforce it.
>> * src/libxl/libxl_driver.c (libxlDomainManagedSave): Likewise.
>> ---
>
> ACK
Pushed.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
More information about the libvir-list
mailing list