This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-bugs] [Bug 1534] New: [VT-d] Fail to hot remove/add a static assign

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1534] New: [VT-d] Fail to hot remove/add a static assigned device in guest
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 2 Nov 2009 01:14:25 -0800
Delivery-date: Mon, 02 Nov 2009 01:14:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: [VT-d] Fail to hot remove/add a static assigned device
                    in guest
           Product: Xen
           Version: unstable
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: jiajun.xu@xxxxxxxxx

Service Arch (ia32/ia32e/IA64): ia32-pae
Guest Arch (ia32/ia32e/IA64): ia32-pae
Guest OS Type (Linux/Windows): Linux
Change Set: 20382
Hardware: Gulftown-HEDT
xen-changeset:   20382:c1f2b68b6dca

pvops git:
commit aa218d939df218dd0fd2a87dcfdf18f3105f44de
Merge: 9cf89da... 67191ef...
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

ioemu git:
commit b4bb8b3f09d1c873f522f6aebe1f125a6d1854d0
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Wed Oct 21 16:42:15 2009 +0100

Bug detailed description:
With latest commit, hot remove a static assigned device in guest, and then hot
add the device to guest will fail. Xend will report the device has been
attached!! And by "xm pci-list guest_id" can see the device is assigned to the
guest but we can not see the device by lpsci in guest.

BTW, if booting a guest with no static assigned device and do hot add/remove
for the guest, there is no such issue.

[root@vt-nhm2 ~]# xm li
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1946    12     r-----  14203.1
vVTD_ASS2_02_1257156060                    112   512     2     -b----     29.1

[root@vt-nhm2 ~]# xm pci-detach 112 04:00.0

[root@vt-nhm2 ~]# xm pci-attach 112 04:00.0
Error: pci: device 0000:04:00.0 has been attached!
Usage: xm pci-attach [-o|--options=<opt>] <Domain> <domain:bus:slot.func>
[virtual slot]

Insert a new pass-through pci device.

[root@vt-nhm2 ~]# xm pci-list-a

[root@vt-nhm2 ~]# xm pci-list 112
domain bus  slot func
0x0000 0x04 0x00 0x0

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list