Description of problem: Occasionally 'virsh list' will say that a domain is not running when the process is blatantly there in a ps faux - under libvirtd. This means the domain can't be destroyed or created because of errors in both situations. Killing the process results in a "[qemu-system-x86] <defunct>" process which can't be killed without killing libvirtd and restarting it from init.d Version-Release number of selected component (if applicable): virsh -v == 0.4.0 How reproducible: Very Steps to Reproduce: 1. Create a domain 2. watch "virsh list" (in a seperate window) 3. Try to create the same domain again, the following error appears: libvir: QEMU error : VM is already active error: Failed to create domain from /home/virt/domains/Matilda/vm.cfg Fair enough, but then the domain that was started previously disappears from virsh list! Actual results: Please let me know if is reproduceible Expected results: Additional info: Base System: Ubuntu Hardy latest over KVM
Created attachment 301440 [details] Config file for domain in question
Changing Product, that's unrelated to Red Hat Enterprise or Fedora, Please try with the latest upstream version i.e. libvirt-0.4.1 as many bugs were fixed since 0.4.0, Daniel
I've tried to reproduce this, but cannot. There should be no way for a defunct QEMU process not to be cleaned up by libvirt, because when we get a SIGHUP or EOF on the monitor socket we always call waitpid. If you can reproduce on latest upstream release (0.5.1) then please re-open.