[CentOS-virt] Adding a monitor socket to a virtual guest using virt-manager

Wed Jul 8 09:35:34 UTC 2015
C.L. Martinez <carlopmart at gmail.com>

Hi all,

  I need to add a monitor socket to a kvm guest as I can using qemu from 
coammnd line. Sample:

-chardev socket,path=/tmp/sock0,server,nowait,id=sock0 -mon 
chardev=sock0,mode=control

  Is this prossible to add this to guest's xml config file?? If not, 
(and If I am not wrong), could it be possible to add these options 
inside "/etc/libvirt/hooks/qemu" startup script?? Some example??

Thanks.