Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 647447

Summary: QMP: provide a hmp_passthrough command to allow execution of non-converted commands
Product: Red Hat Enterprise Linux 6 Reporter: Luiz Capitulino <lcapitulino>
Component: qemu-kvmAssignee: Luiz Capitulino <lcapitulino>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.1CC: berrange, eblake, ehabkost, gcosta, gleb, hbrock, juzhang, lcapitulino, lihuang, mkenneth, tburke, virt-maint, xen-maint, xtian
Target Milestone: rc   
Target Release: 6.1   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.132.el6 Doc Type: Bug Fix
Doc Text:
IMPORTANT: this is an internal interface consumed only by libvirt. Users should only know about libvirt related impact and new functionality (which is not described here). Cause: hmp_passthrough command is needed so libvirt can use some qemu-kvm features such as savevm/loadvm. Consequence: libvirt can't use savevm/loadvm through QMP withou hmp_passthrough command. Change: htmp_passthrough command was implemented in qemu-kvm. Result: libvirt can use the hmp_passthrough QMP command to execute legacy commands such as loadvm/savevm.
Story Points: ---
Clone Of: 644819 Environment:
Last Closed: 2011-05-19 11:23:03 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: 559201, 580487, 580951, 589076    

Description Luiz Capitulino 2010-10-28 12:12:44 UTC
Cloning this bug for RHEl6.1 as it's also going to get this feature, so that we can have things like savevm/loadvm working under QMP.

+++ This bug was initially created as a clone of Bug #644819 +++

It is impossible to debug qemu instance without human qemu monitor.

Comment 2 Luiz Capitulino 2010-11-02 11:59:55 UTC
Submitted upstream:

http://lists.gnu.org/archive/html/qemu-devel/2010-10/msg02232.html

Comment 4 Steve Neuner 2010-11-11 02:57:52 UTC
Approved by Development for targeting RHEL 6.1.

Comment 5 Luiz Capitulino 2010-11-24 15:54:26 UTC
After a few revisions and some upstream discussion, the final version has been submitted for inclusion as part of a Monitor queue pull request:

 http://lists.gnu.org/archive/html/qemu-devel/2010-11/msg01577.html

This should be merged in the next days.

Comment 10 Luiz Capitulino 2011-01-26 12:19:26 UTC
*** Bug 644819 has been marked as a duplicate of this bug. ***

Comment 14 Eduardo Habkost 2011-05-05 17:06:48 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: hmp_passthrough command is needed so libvirt can use some qemu-kvm features such as savevm/loadvm.

Consequence: libvirt can't use savevm/loadvm through QMP withou hmp_passthrough command.

Change: htmp_passthrough command was implemented in qemu-kvm.

Result: libvirt can use the hmp_passthrough QMP command to execute legacy commands such as loadvm/savevm.

Comment 15 Luiz Capitulino 2011-05-05 17:41:07 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,3 +1,5 @@
+IMPORTANT: this is an internal interface consumed only by libvirt. Users should only know about libvirt related impact and new functionality (which is not described here).
+
 Cause: hmp_passthrough command is needed so libvirt can use some qemu-kvm features such as savevm/loadvm.
 
 Consequence: libvirt can't use savevm/loadvm through QMP withou hmp_passthrough command.

Comment 16 errata-xmlrpc 2011-05-19 11:23:03 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Comment 17 errata-xmlrpc 2011-05-19 12:49:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html