[libvirt] virsh domstate output when kvm killed vs guest OS panic

Chris Friesen chris.friesen at windriver.com
Thu Sep 5 18:47:03 UTC 2013


Hi,

If I kill a libvirt-managed kvm process with "kill -9", running "virsh 
domstate --reason <name>" gives

shut off (crashed)

Looking at the code, that corresponds to 
VIR_DOMAIN_SHUTOFF/VIR_DOMAIN_SHUTOFF_CRASHED.  The comment says that 
VIR_DOMAIN_SHUTOFF_CRASHED corresponds to "domain crashed".  Is this 
supposed to be a crash of the hypervisor, or of the guest OS?



If I trigger a panic in the guest, it sits there in the panicked state 
doing nothing and "virsh domstate" gives

running (booted)

So what's the point of VIR_DOMAIN_CRASHED/VIR_DOMAIN_CRASHED_PANICKED?

Chris




More information about the libvir-list mailing list