[Gluster-devel] [libvirt][gluster]try to add gluster protocol in libvirt, but has qemuMonitorIO error

Yin Yin maillistofyinyin at gmail.com
Wed Aug 22 17:50:55 UTC 2012

Hi, all:
       after test the qemu gluster V5 patch:
       I had write a patch in libvirt to support gluster protocol, but has
qemuMonitorIO error:
   2012-08-22 17:17:47.600+0000: 29121: error : qemuMonitorIORead:490 :
Unable to read from monitor: Connection reset by peer
2012-08-22 17:17:47.600+0000: 29121: error : qemuMonitorIO:546 : 内部错误 event
from unexpected fd -1!=27 / watch 15!=15

the vm libvirt config file like this:
<domain type='kvm'>
<topology sockets='1' cores='1' threads='1'/>
<disk type='network' device='disk'>
<source protocol='gluster' name='volname/windowsxp.img'>
    <host name='' port='24007'/>
<target dev='vda' bus='virtio'/>
<driver name='qemu' type='qcow2' io='native' cache='none'/>
<controller type='virtio-serial' index='0'/>


my questions:
1. what's the function of qemuMonitorIO?
2. why the qemu-gluster patch caused qemuMonitorIO error?
    I could boot vm in qemu command without monitor, like this:
    /usr/libexec/qemu-kvm -drive file=gluster://,format=qcow2

Best Regards,
Yin Yin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120823/1dcfa211/attachment-0003.html>

More information about the Gluster-devel mailing list