[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]