Re: [libvirt-users] virsh attach device equivalent in libvirt API

2015-12-04 Thread Jean-Pierre Ribeauville
Hi, Very good advice. Thx. J.P. -Message d'origine- De : Lars Kellogg-Stedman [mailto:l...@redhat.com] Envoyé : vendredi 4 décembre 2015 18:27 À : Jean-Pierre Ribeauville Cc : libvirt-users@redhat.com Objet : Re: [libvirt-users] virsh attach device equivalent in libvirt API On Fri, De

Re: [libvirt-users] virsh attach device equivalent in libvirt API

2015-12-04 Thread Lars Kellogg-Stedman
On Fri, Dec 04, 2015 at 04:37:58PM +, Jean-Pierre Ribeauville wrote: > Hi, > > Is there an equivalent of "virsh attach-device -live > -persistent" within libvirt API : Use the source, Luke! You can see exactly how virsh implements the attach-device command: https://github.com/libvirt/l

Re: [libvirt-users] [ovirt-users] virsh athentification failure

2015-12-04 Thread Michal Skrivanek
> On 04 Dec 2015, at 16:26, Daniel P. Berrange wrote: > > On Fri, Dec 04, 2015 at 03:18:19PM +, Jean-Pierre Ribeauville wrote: >> Hi, >> >> I wrote a C program running in a KVM host. >> Part of it adds a Unix Channel device in all Guests in order to have a >> dialog from Host to Guest. a

[libvirt-users] virsh attach device equivalent in libvirt API

2015-12-04 Thread Jean-Pierre Ribeauville
Hi, Is there an equivalent of "virsh attach-device -live -persistent " within libvirt API : virDomainAttachDevice() or virDomainAttachDeviceFlags() or ??? Thanks for help. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 jpribeauvi...@axway.com

Re: [libvirt-users] virsh athentification failure

2015-12-04 Thread Daniel P. Berrange
On Fri, Dec 04, 2015 at 03:18:19PM +, Jean-Pierre Ribeauville wrote: > Hi, > > I wrote a C program running in a KVM host. > Part of it adds a Unix Channel device in all Guests in order to have a > dialog from Host to Guest. > As long as my host wasn't part of an Ovirt cluster , all was runni

[libvirt-users] virsh athentification failure

2015-12-04 Thread Jean-Pierre Ribeauville
Hi, I wrote a C program running in a KVM host. Part of it adds a Unix Channel device in all Guests in order to have a dialog from Host to Guest. As long as my host wasn't part of an Ovirt cluster , all was running fine. I added my host in a ovirt cluster , and then , when running the script c

Re: [libvirt-users] snapshot of running vm's

2015-12-04 Thread Lentes, Bernd
Dominique wrote: > > Never had that problem. Can it be a setting of the guest agent on the > guest? With me all the commands of the ga are enabled... > Where can i change the settings of the agent ? > You can check the commands by using this: > virsh qemu-agent-command $VM '{"execute": "guest-in

Re: [libvirt-users] FAIL: qemuxml2argvtest , FAIL: virsh-uriprecedence after make check

2015-12-04 Thread Ján Tomko
On Thu, Dec 03, 2015 at 06:06:22AM -0500, Héctor Abreu wrote: > Hi there, > > I'm new to libvirt and I'm trying to install it on a Debian Jessie system. Hi, do you have the latest libxml2 installed? It could be this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797450 > My goal is to c

Re: [libvirt-users] Error message doesn't make sense

2015-12-04 Thread Zhang Qiang
Thanks Jan. On 4 December 2015 at 17:30, Ján Tomko wrote: > On Fri, Dec 04, 2015 at 10:42:30AM +0800, Tashi Lu wrote: > > Hi everyone, > > > > I incidentally configured two IDE controller for my machine-1.2 VM(it > > might be virsh attach-disk to blame), and I got the error message > > "Only a s

Re: [libvirt-users] Error message doesn't make sense

2015-12-04 Thread Ján Tomko
On Fri, Dec 04, 2015 at 10:42:30AM +0800, Tashi Lu wrote: > Hi everyone, > > I incidentally configured two IDE controller for my machine-1.2 VM(it > might be virsh attach-disk to blame), and I got the error message > "Only a single IDE controller is unsupported...". I can't understand > this error