Bug 798603 - virt-manager does not remove the hot-plugged PCI device when shutdown
Summary: virt-manager does not remove the hot-plugged PCI device when shutdown
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-29 11:20 UTC by yuping zhang
Modified: 2012-03-02 16:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-02 16:15:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description yuping zhang 2012-02-29 11:20:45 UTC
Description of problem:
Use virt-manager hotplug PCI device,then shutdown the guest,the PCI can not be removed.

Version-Release number of selected component (if applicable):
libvirt-0.9.10-3.el6.x86_64
virt-manager-0.9.0-10.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Launch virt-manager,start a VM.

2.Add a PCI device:"Add Hardware"->select PCI Host Device -> select "00:19:0 Interface eth0 (82567LM-3 Gigabit Network Connection)" -> click Finish

3. Shutdown the guest


Actual results:
Step 3: the PCI device still exist in virt-manager after shutdown

Expected results:
    Step 3: PCI device is removed.

Additional info:
Use virsh attach-device command to hotplug the PCI device,the device can be removed after shutdown the guest.

Comment 2 Cole Robinson 2012-03-02 16:15:44 UTC
Thanks for the report, but this is intentional. Any hotplugged changes a persistently added to guests in virt-manager, which I think is much more intuitive. It's like if you attached a PCI device to a physical machine, when you shutdown the machine it doesn't automatically eject! Libvirt supports this for good reason but it shouldn't be default virt-manager behavior.

Closing as NOTABUG.


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