Re: [libvirt] connecting to qemu domain monitor socket outside of libvirt/virsh

2016-12-21 Thread Eric Blake
On 12/20/2016 12:56 PM, Eric Blake wrote: > On 12/20/2016 12:48 PM, Jason Miesionczek wrote: >> Hi, >> >> So I see that when i have a qemu vm running, that i created via libvirt, >> there is a socket here: >> /var/lib/libvirt/qemu/domain-/monitor.sock >> > > Libvirt creates a QMP socket already.

Re: [libvirt] connecting to qemu domain monitor socket outside of libvirt/virsh

2016-12-21 Thread Daniel P. Berrange
On Tue, Dec 20, 2016 at 01:48:44PM -0500, Jason Miesionczek wrote: > Hi, > > So I see that when i have a qemu vm running, that i created via libvirt, > there is a socket here: > /var/lib/libvirt/qemu/domain-/monitor.sock > > I am trying to connect to this socket via cli or a completely separate

Re: [libvirt] connecting to qemu domain monitor socket outside of libvirt/virsh

2016-12-20 Thread Eric Blake
On 12/20/2016 12:48 PM, Jason Miesionczek wrote: > Hi, > > So I see that when i have a qemu vm running, that i created via libvirt, > there is a socket here: > /var/lib/libvirt/qemu/domain-/monitor.sock > > I am trying to connect to this socket via cli or a completely separate > C/C++

[libvirt] connecting to qemu domain monitor socket outside of libvirt/virsh

2016-12-20 Thread Jason Miesionczek
Hi, So I see that when i have a qemu vm running, that i created via libvirt, there is a socket here: /var/lib/libvirt/qemu/domain-/monitor.sock I am trying to connect to this socket via cli or a completely separate C/C++ application to be able to control the VM, but I can't seem to get it to