[libvirt] virDomainCreateWithFlags error

Wangpan hzwangpan at corp.netease.com
Thu Aug 8 05:54:41 UTC 2013


Hi all, 
I'm using 'libvirt  1.1.1-1  amd64' undef debian wheezy, I found that the return code is 139 when I run command:
$ sudo virsh start df1c4670-18eb-4520-b5d8-aa8a492eb876 --paused; echo $?
139
but the return code is OK(0) when run command:
$ sudo virsh start df1c4670-18eb-4520-b5d8-aa8a492eb876; echo $?

I found there is an error in libvirtd.log:
2013-08-08 05:40:23.983+0000: 16626: error : virNetSocketReadWire:1377 : End of file while reading data: Input/output error

I found this issue by using openstack nova folsom, if I create an VM by nova, it will use dom.createWithFlags(0) to create the VM, but then the nova-compute process exited when this function is called, then I changed the createWithFlags(0) to create(), everything become OK.
I also tried the function under python, and the python process exited, too. but the dom.create() method is OK, so I think this is a problem about libvirt.
I want to know is this a reported bug?

libvirt and kvm hypervisor version:
Compiled against library: libvirt 1.1.1
Using library: libvirt 1.1.1
Using API: QEMU 1.1.1
Running hypervisor: QEMU 1.1.2

Thanks
2012-08-16 
Wangpan 




More information about the libvir-list mailing list