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 907290 - No "drive_add"/"drive_del" related QMP commands to hot plug/unplug disk
Summary: No "drive_add"/"drive_del" related QMP commands to hot plug/unplug disk
Keywords:
Status: CLOSED DUPLICATE of bug 889051
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 03:20 UTC by Qunfang Zhang
Modified: 2013-02-04 11:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-04 11:31:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Qunfang Zhang 2013-02-04 03:20:36 UTC
Description of problem:
In the current rhel7 qemu-kvm, there's no "__com.redhat_drive_add"/"drive_add" and "__com.redhat_drive_del"/"drive_del" qmp commands so can not do hot plug and unplug disk operations.

Luiz mentioned in bz 889051 that the "__com.redhat_*" commands are rhel6.4 specified. And if finally there's no "__com.redhat_*" commands in rhel7.0, we need to add "drive_add"/"drive_del" commands to qmp. Otherwise (if rhel7.0 has "__com.redhat_*" commands we also need to have it for qmp as well.
Create this bug to track this issue.

Version-Release number of selected component (if applicable):
kernel-3.7.0-0.33.el7.x86_64
qemu-kvm-1.3.0-3.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Boot guest with qmp.

2. Connect to qmp server and query the qmp commands.
 {"execute":"qmp_capabilities"}
{"return": {}}

{"execute":"query-commands"}

3.
  
Actual results:
There's no "__com.redhat_drive_add"/"drive_add" and "__com.redhat_drive_del"/"drive_del" qmp commands so can not do disk hot plug/unplug operations.

Expected results:
Need to include commands to do disk hot plug and unplug.

Additional info:

Comment 2 Luiz Capitulino 2013-02-04 11:31:53 UTC
Qunfang, we can use bug 889051 for this, there's no need to create a new one.

*** This bug has been marked as a duplicate of bug 889051 ***


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