I'm using Libvirt's Java API and connecting to the hypervisor using the same. My program is such that periodic discovery of active VMs is done using Libvirt's functions. <br><br>However, when I try to perform any VM related operations while the Java code connecting to Qemu is running such as shutdown, start VM using virsh, I end up with :<br>
'libvir: Remote error : cannot recv data: : Connection reset by peer' on my Java IDE and 'error: cannot recv data: : Connection reset by peer error: failed to connect to the hypervisor' on the terminal running virsh.<br>
<br>I'm using QEMU emulator version 0.14.0 (qemu-kvm-0.14.0) and Libvirt version 0.4.7 on Ubuntu 11.04. <br><br>Please help me out! Thanks.<br>