Red Hat Bugzilla – Bug 495479
RFE: Support graceful reboot with KVM guests
Last modified: 2011-11-14 13:38:50 EST
Description of problem:
The following error messages occurs when rebooting guest domain.
error: Failed to reboot domain kvmtest
error: this function is not supported by the hypervisor: virDomainReboot
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. define a guest domain from xml
2. # virsh start kvmtest
3. # virsh reboot kvmtest
Failed to reboot the guest domain.
The guest domain can be rebooted successfully.
shutdown and destroy operation are normally.
Yes, as far as I can tell this won't be supported in 0.6.3, QEmu has no support
for a 'reboot' operation, only shutdown. This could be worked around in libvirt
but that would be made with "shutdown and start", not exactly equivalent to
a reboot at the QEmu level though.
So not for 5.4, maybe in 5.5, either though QEmu or via a libvirt workaround.
Yep, this is a current limitation of QEMU, so fixing this is blocked on getting the RFE in QEMU.
The upstream QEMU discussion basically ended with them rejecting the idea of a 'system_reboot' monitor command. We'll probably have to fake this in libvirt instead, by issuing a 'system_shutdown' and waiting for it to shut down, and then start it up again.
*** Bug 550157 has been marked as a duplicate of this bug. ***
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of
Red Hat Enterprise Linux. The error has been fixed and this
request has been re-proposed for the current release.