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

[Xen-devel] [VTD][PATCH] Change xc_assign_device()


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Han, Weidong" <weidong.han@xxxxxxxxx>
  • Date: Mon, 10 Dec 2007 14:21:55 +0800
  • Cc: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
  • Delivery-date: Sun, 09 Dec 2007 22:22:44 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acg69PZHUTjqoyTeR76L46Yyybh2nA==
  • Thread-topic: [Xen-devel] [VTD][PATCH] Change xc_assign_device()

Currently we assign devices with VT-d in Xend, this raises two issues:
1) assign devices regardless of they are hidden by pciback or not. If
the device is not hidden, it results in the device doesn't work in Dom0;
2) device is assigned one by one, if assign multiple devices, some
devices may have been assigned when problem happens, it results in
assigned devices don't work in Dom0. I think Xend is not a good place to
assign devices. This patch adds a parameter to xc_assign_device(), let
it just do check in Xend whether the devices can be assigned or not, and
move real device assignment to qemu. 

Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>

Attachment: xc_assign_device.patch
Description: xc_assign_device.patch

_______________________________________________
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®.