Bug 506929

Summary: Add system_reboot to qemu
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Berrangé <berrange>
Component: kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED WONTFIX QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5CC: dwmw2, gcosta, itamar, markmc, mjenner, tburke, tools-bugs, virt-maint, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 503184 Environment:
Last Closed: 2009-12-14 14:00:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 495479    

Description Daniel Berrangé 2009-06-19 11:12:26 UTC
+++ This bug was initially created as a clone of Bug #503184 +++

Description of problem:
libvirt uses a 'system_shutdown' command for a controlled guest shutdown (ie run initscript to shutdown, and then poweroff).

We would like to have the same functionality available, but doing a restart instead of poweroff. 

ie this patch adding a system_reboot command

http://lists.gnu.org/archive/html/qemu-devel/2009-05/msg00450.html

Version-Release number of selected component (if applicable):
qemu-0.10.0

How reproducible:
Always

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

--- Additional comment from markmc on 2009-06-03 12:45:55 EDT ---

We should ping upstream about this, hopefully it should be in 0.11

v2 of patch is here:

http://lists.gnu.org/archive/html/qemu-devel/2009-05/msg00658.html

--- Additional comment from fedora-triage-list on 2009-06-09 12:47:21 EDT ---


This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 1 Mark McLoughlin 2009-07-09 07:32:19 UTC
This isn't reasonable for 5.4 since it isn't agreed upstream yet:

  http://lists.gnu.org/archive/html/qemu-devel/2009-07/threads.html#00507

Moving to 5.5

Comment 2 Markus Armbruster 2009-12-14 14:00:44 UTC
Punted up to libvirt (bug #495479), because upstream qemu rejected the feature.  See bug#495479 comment#3 for details.