Mailing List Archive

[Bug 1717] New: [vt-d] Can not detach the device which was assigned statically
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1717

Summary: [vt-d] Can not detach the device which was assigned
statically
Product: Xen
Version: unstable
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P1
Component: Tools
AssignedTo: xen-bugs@lists.xensource.com
ReportedBy: shaohui.zheng@intel.com


Environment:
------------
Service Arch (ia32/ia32e/IA64): IA32e
Guest Arch (ia32/ia32e/IA64):
Guest OS Type (Linux/Windows): Linux
Change Set: xen-changeset: 22764:75b6287626ee
Hardware: WSM-EP & SNB
Other:
pvops dom0: 862ef97190f6b54d35c76c93fb2b8fadd7ab7d68
ioemu: 1c304816043c0ffe14d20d6006d6165cb7fddb9b

Bug detailed description:
--------------------------

Assign a device to guest statically, it chould be a PCIE/PCI NIC, PF, VF or USB
device. After guest OS is booting up, we can not detach if with command "xl
pci-detach dom_id bdf". it complains that guest does not own this device.

[root@vt-nhm7 ~]# xl pci-detach 26 01:10.4
libxl: error: libxl_pci.c:844:do_pci_remove PCI device not attached to this
domain


Reproduce steps:
----------------

1. Assign a device to guest OS statically configure:
pci = [ '01:10.4' ]

2. Detach the device

xl pci-detach 26 01:10.4

You will see this bug.

Current result:
----------------


Expected result:
----------------


Basic root-causing log:
----------------------


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs