[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 1534] New: [VT-d] Fail to hot remove/add a static assigned device in guest



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1534

           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


Environment:
------------
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
Other:
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
0000:04:00.0
0000:00:19.0

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


-- 
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.