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

[Xen-devel] xc.test_assign_device() doesn't work for devices assigned via the traditional PCI passthrough(without VT-d).


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Date: Wed, 25 Feb 2009 19:27:41 +0800
  • Accept-language: zh-CN, en-US
  • Acceptlanguage: zh-CN, en-US
  • Delivery-date: Wed, 25 Feb 2009 03:28:06 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmXPBIY3DpbmkMhSWGCchryUGOYHQ==
  • Thread-topic: xc.test_assign_device() doesn't work for devices assigned via the traditional PCI passthrough(without VT-d).

e.g., with xen parameter 'iommu=on,no-pv', after we assign a device to pv 
guest1, we can still assign the device to hvm guest2 because when xend creates 
guest2, it's wrongly told by xc.test_assign() the device is not assigned.

To judge if a device has been assigned, xc.test_assign() is not enough; maybe 
we also have to scan xenstore?

Thanks,
-- Dexuan

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


 


Rackspace

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