Bug 798603 - virt-manager does not remove the hot-plugged PCI device when shutdown
virt-manager does not remove the hot-plugged PCI device when shutdown
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager (Show other bugs)
Unspecified Unspecified
high Severity medium
: rc
: ---
Assigned To: Cole Robinson
Virtualization Bugs
Depends On:
  Show dependency treegraph
Reported: 2012-02-29 06:20 EST by yuping zhang
Modified: 2012-03-02 11:15 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-02 11:15:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description yuping zhang 2012-02-29 06:20:45 EST
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):

How reproducible:

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 11:15:44 EST
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.