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

RE: [Xen-devel] [VTD][PATCH] Do FLR of assigned devices with VT-d



>That's a good addition, why moving this functionality to the 
>hypervisor?

Qemu code is not guaranteed to execute, like a Qemu crash.

>BTW, can you give real world example where this was needed?

On the above case, we may leave the device in an uncertain status, and
it may still generate interrupts.
-Xin

>
>> -----Original Message-----
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
>> Han, Weidong
>> Sent: Thursday, January 24, 2008 4:39 AM
>> To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> Cc: Xu, Anthony; Kay,Allen M
>> Subject: [Xen-devel] [VTD][PATCH] Do FLR of assigned devices 
>with VT-d
>> 
>> Currently there is a pdev_flr() function to do FLR before 
>> device assignment in qemu, but most of devices don't have FLR 
>> capability.
>> What's more, should do FLR before assignment and deassignment 
>> for keeping correct device status. If the device doesn't have 
>> FLR capablility, this patch implemented to enter D3hot and 
>> return to D0 to do FLR. And exposed pdev_flr() in VT-d utils, 
>> then it can be invoked by assignment and deassignment functions. 
>> 
>> Signed-off-by: Weidong Han <weidong.han@xxxxxxxxx>
>> Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
>> 
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>

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