WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xc.test_assign_device() doesn't work for devices assigned vi

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xc.test_assign_device() doesn't work for devices assigned via the traditional PCI passthrough(without VT-d).
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xc.test_assign_device() doesn't work for devices assigned via the traditional PCI passthrough(without VT-d)., Cui, Dexuan <=