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 557133 - RFE: No 'drive_del' command available for removing VirtIO disks, or SCSI controllers
Summary: RFE: No 'drive_del' command available for removing VirtIO disks, or SCSI cont...
Keywords:
Status: CLOSED DUPLICATE of bug 654682
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: beta
: 6.1
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 559201 Rhel6KvmTier1
TreeView+ depends on / blocked
 
Reported: 2010-01-20 14:29 UTC by Daniel Berrangé
Modified: 2013-01-09 22:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-27 15:44:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2010-01-20 14:29:28 UTC
Description of problem:
For VirtIO disks, or SCSI controllers, libvirt can use  device_del or pci_del to remove the device / controller respectively. There is no way, however, to remove a single SCSI disk from a SCSI controller. Previously libvirt's SCSI remove was broken, actually removing the entire controller and we'd like to now fix that to properly remove the single drive.

I'd like to see a monitor command that supports 

  drive_del  if=scsi,$bus.$unit

And/or

  drive_del  $id


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.9.el6.x86_64

How reproducible:
Always

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


Expected results:


Additional info:

Comment 1 Daniel Berrangé 2010-01-20 14:30:20 UTC
There was a previous thread about this here, but it didn't resolve itself:

http://patchwork.ozlabs.org/patch/33933/

Comment 2 RHEL Program Management 2010-01-20 14:35:43 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Daniel Berrangé 2010-03-01 14:49:23 UTC
Based on this new discovery that 'device_del' of the guest device, also removes the drive state, we don't have an urgent need for 'drive_del'.

http://www.redhat.com/archives/libvir-list/2010-March/msg00036.html

So suggest this BZ can be pushed off to rhel-6.1

Comment 4 Gerd Hoffmann 2010-06-08 15:04:00 UTC
Markus, I think your -blockdev work supersedes this, right?
Wanna take this for your work?  Or should I CLOSE/WOUNTFIX or CLOSE/DUPLICATE?

Comment 5 Markus Armbruster 2010-06-08 16:49:17 UTC
Yes, it'll provide the feature.  Taking the bug.

Related: bug 581963.

Comment 11 Markus Armbruster 2011-01-27 15:44:24 UTC
Bug 654682 asks for the same feature, just for different reasons.  Since the actual work is being tracked there, close this one as duplicate.

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


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