|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device() 
| Xend is too early to do real assignment, do some checking is better.
These two issues will be found by the checks in Xend ( 1) issue will be
found by pciback). After passing these checks in Xend, it's suitable to
do real device assignment and memory and ioport mappings in qemu. 
Randy (Weidong)
Muli Ben-Yehuda wrote:
> On Mon, Dec 10, 2007 at 02:21:55PM +0800, Han, Weidong wrote:
> 
>> 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. 
> 
> Why is qemu a better place to assign the devices? How does moving it
> to qemu solve the two issues mentioned above?
> 
> Cheers,
> Muli
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] [VTD][PATCH] Change xc_assign_device(), Han, Weidong
Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Muli Ben-Yehuda
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device(),
Han, Weidong <=
Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Keir Fraser
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Han, Weidong
Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Keir Fraser
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Han, Weidong
Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Keir Fraser
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Han, Weidong
Re: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Keir Fraser
RE: [Xen-devel] [VTD][PATCH] Change xc_assign_device(), Han, Weidong
 |  |  | 
  
    |  |  |