Bug 495479 - RFE: Support graceful reboot with KVM guests
Summary: RFE: Support graceful reboot with KVM guests
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 550157 (view as bug list)
Depends On: 496537 506929
Blocks: 524779
TreeView+ depends on / blocked
 
Reported: 2009-04-13 11:41 UTC by Nan Zhang
Modified: 2018-11-14 09:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 524779 (view as bug list)
Environment:
Last Closed: 2011-01-31 21:43:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nan Zhang 2009-04-13 11:41:44 UTC
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):
rhel5u3: 2.6.18-128.el5
kvm-83-27.el5ovirt
libvirt-0.6.2-1.el5

How reproducible:
Always

Steps to Reproduce:
1. define a guest domain from xml
2. # virsh start kvmtest
3. # virsh reboot kvmtest
  
Actual results:
Failed to reboot the guest domain.

Expected results:
The guest domain can be rebooted successfully.

Additional info:
shutdown and destroy operation are normally.

Comment 1 Daniel Veillard 2009-04-22 12:30:46 UTC
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.

Daniel

Comment 2 Daniel Berrangé 2009-06-19 11:13:02 UTC
Yep, this is a current limitation of QEMU, so fixing this is blocked on getting the RFE in QEMU.

Comment 3 Daniel Berrangé 2009-10-29 17:16:49 UTC
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.

Comment 6 Daniel Veillard 2009-12-25 13:42:43 UTC
*** Bug 550157 has been marked as a duplicate of this bug. ***

Comment 11 RHEL Program Management 2011-01-11 19:59:28 UTC
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.

Comment 12 RHEL Program Management 2011-01-11 22:58:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.