[virt-tools-list] virt-manager and remote managedsave

Daniel Berteaud dani at firewall-services.com
Wed Sep 8 12:01:16 UTC 2010


Le mercredi 08 septembre 2010 à 07:53 -0400, Cole Robinson a écrit :
> On 09/08/2010 04:41 AM, Daniel Berteaud wrote:
> > Hi.
> > 
> > I've just updated virt-manager to version 0.8.5 (on F13, from the
> > virt-preview repo). Reading the chagelog, I see that virt-manager now
> > supports managedsave.
> > 
> > I use virt-manager to control a remote libvirt using qemu+ssh (remote
> > libvirt is version 0.8.3 running on a CentOS 5.5 x86_64).
> > 
> > I was surprised to see an error message when trying to save a VM:
> > "Saving virtual machines over remote connections is not supported with
> > this libvirt version or hypervisor."
> > 
> > I understand why the old save function wasn't available for remote
> > connections, but I don't see any reason for managedsave.
> > 
> > So, I've looked in the engine.py file and saw this check (lines
> > 729-733):
> > 
> >         if managed and conn.is_remote():
> >             self.err.val_err(_("Saving virtual machines over remote "
> >                                "connections is not supported with this "
> >                                "libvirt version or hypervisor."))
> >             return
> > 
> >
> 
> Ugh, this is supposed to be 'if not managed and conn.is_remote()', as
> in, we don't support non-managed save on remote connections

Ok, makes sense ;)

Thanks.

> 
> Thanks for the report, fixed upstream now:
> 
> http://hg.fedorahosted.org/hg/virt-manager/rev/1e16004da834
> 
> - Cole
> 
> > I just tried to comment this block, and now, I can save my VM, even over
> > a remote connection. Everything is working fine.
> > 
> > So I'm wondering, what's the goal of this check ?
> > 
> > If managedsave is supported, I don't see any difference between a local
> > and a remote connection.
> > 
> > If someone has the answer....
> > 
> > Regards, Daniel
> > 
> 

-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: daniel at firewall-services.com
Web : http://www.firewall-services.com




More information about the virt-tools-list mailing list