[libvirt-users] libvirt: XML-RPC error : Cannot write data: Broken pipe

Daniel P. Berrange berrange at redhat.com
Wed Aug 9 12:18:51 UTC 2017

On Wed, Aug 09, 2017 at 11:53:54AM +0800, netsurfed wrote:
> Hi all, 
> I think it's a bug, when call virDomainGetState after "service libvirtd stop"
> , I receive signal SIGPIPE.

For the QEMU driver, the libvirt library just talks to libvirtd over an
RPC layer. You killed libvirtd, so the libvirt library gets SIGPIPE.

> I want to know how to avoid this problem? And Other interfaces will also

If you want libvirt to work, don't stop libvirtd

|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

More information about the libvirt-users mailing list