|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 20/24] xen/passthrough: Extend XEN_DOMCTL_assign_device to support DT device
Hi, On 11/03/2015 13:50, Julien Grall wrote: On 11/03/2015 12:37, Ian Campbell wrote:On Tue, 2015-03-10 at 16:33 +0000, Julien Grall wrote:Hi Ian, On 20/02/15 17:17, Ian Campbell wrote:+ /* TODO: Do we need to check is_dying? Mostly to protect against + * hypercall trying to passthrough a device while we are + * dying.FWIW the PCI case appears not to care...There is one place in XEN_DOMCTL_assign_device... Although I don't understand much the usage of is_dying. I though more about it and it won't be possible to do it unless we decode DOMCTL too. This is because the DOMCTL_get_device_group use a different structure and is only for PCI. So unless we decide to consolidate the 2 DOMCTL structures in a single one. I would prefer to keep the current solution with the suggestion made by Jan earlier. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |