Adding A Monitor Socket To A Virtual Guest Using Virt-manager

Home » CentOS-Virt » Adding A Monitor Socket To A Virtual Guest Using Virt-manager
CentOS-Virt No Comments

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.