> -----Oorspronkelijk bericht-----
> Van: Lentes, Bernd [mailto:bernd.len...@helmholtz-muenchen.de]
> Verzonden: donderdag 3 december 2015 13:54
> Aan: libvirt-ML
> CC: Dominique Ramaekers
> Onderwerp: RE: snapshot of running vm's
> 
> > ...
> > >
> > > Hi,
> > >
> > > i have inserted:
> > >
> > > <channel type='unix'>
> > >       <source mode='bind'
> > >
> > path='/var/lib/libvirt/qemu/channel/target/sles11.org.qemu.guest_age
> > nt
> > > .0'/
> > > >
> > >       <target type='virtio' name='org.qemu.guest_agent.0'/>
> > >       <address type='virtio-serial' controller='0' bus='0'
> > > port='2'/> </channel>
> > >
> > >
> > > I didn't insert the path, it was added automatically, the same with
> > > "<address type='virtio-serial' controller='0' bus='0' port='2'/>".
> > > I tried already port 1 and 2, but get this error:
> > >
> > > sunhb58820:~/libvirt_1.2.11 # virsh start sles11
> > > error: Failed to start domain sles11
> > > error: internal error: process exited while connecting to monitor:
> > > qemu-kvm: -chardev
> > >
> > socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/sles1
> > > 1.or
> > > g.qemu.guest_agent.0,server,nowait: Failed to bind socket: No such
> > > file or directory
> > > chardev: opening backend "socket" failed
> >
> > Does the path /var/lib/libvirt/qemu/channel/target/ exists?
> > Is libvirt able to write to this path?
> >
> Hi Dominique,
> 
> no, the path does not exist. But from where does libvirt derive it ?

I think the path is compiled into the binaries. Just create the path and make 
sure 
libvirt can write to it

root@CmsrvVH3:/var/lib/libvirt/qemu/channel# ls -lh
totaal 4,0K
drwxr-xr-x 2 libvirt-qemu kvm 4,0K nov 23 20:49 target




> 
> I forgot: I'm still running libvirt 1.2.5. Do I need to update also for this 
> problem
> ?
I don't think so... Until you want to use active block commit, your good with 
1.2.5

> 
> 
> Bernd
> 
> 
> 
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Dr. Nikolaus Blum, Dr. Alfons
> Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671


_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to