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

Re: [Xen-devel] [PATCH v3 17/24] xen/passthrough: arm: release earlier the DT devices assigned to a guest

On 20/02/15 17:03, Ian Campbell wrote:
> On Tue, 2015-01-13 at 14:25 +0000, Julien Grall wrote:
> Subject: "release the DT devices assigned to a guest earlier"
>> The toolstack may not have deassign every device used by a guest.
> "deassigned"
>> Therefore we have to go through the device list and removing them before
> "and remove them"
>> asking the IOMMU drivers to release memory for this domain.
>> This can be done by moving the call to the release function when we
>> relinquish the resources. The IOMMU part will be destroyed later when
>> the domain is freed.
>> Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
>> Cc: Jan Beulich <jbeulich@xxxxxxxx>
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> I'd like to hear Jan's opinion though.

FWIW, this is how it's done for PCI.


Julien Grall

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.