[libvirt] [PATCH] lxc: trivially support DomainHasManagedSaveImage
jtomko at redhat.com
Thu Jan 15 15:01:44 UTC 2015
On 01/15/2015 03:20 PM, Daniel P. Berrange wrote:
> On Thu, Jan 15, 2015 at 03:12:01PM +0100, Ján Tomko wrote:
>> Return 0 instead of ERR_NO_SUPPORT to avoid spamming daemon logs
>> when 'virsh dominfo' is run.
>> src/lxc/lxc_driver.c | 24 ++++++++++++++++++++++++
>> 1 file changed, 24 insertions(+)
> What about all the other virt drivers too ? If virsh is going to do
> this, then we really ought to make every virt driver have this same
> no-op impl. The bug only reports it against LXC since that's what
> the reporter tested, but anyone could see it against other virt
The problem is - I can't tell if a driver doesn't have any ManagedSave* APIs
implemented because nobody took the time to implement them in libvirt, or
because the hypervisor does not support it.
For example if VirtualBox used without libvirtd can do a save, I think it
would be wrong to always return 0 in our vbox driver.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the libvir-list