Justin T. Gibbs
2009-Dec-18 15:26 UTC
Re: [Xen-devel] [PATCH 0 of 5] Add support for mapping grant references into HVM guests (+ some cleanup)
Was any consensus reached on how to cleanly allow an HVM guest to map grant references? I''m in need of this feature for a FreeBSD x86_64 HVM driver domain. FreeBSD x86_64 does not support full PV, and I need the ability to run backends in these domains for my application. The patches from this thread would likely work for me, but like the author of them, I''d rather use a publicly supported Xen interface than to have a locally maintained solution. -- Justin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Dec-18 16:05 UTC
Re: [Xen-devel] [PATCH 0 of 5] Add support for mapping grant references into HVM guests (+ some cleanup)
Support is already in the tree and will be part of Xen 4.0. See xen-unstable changeset 19932:c0cb307d927f. -- Keir On 18/12/2009 15:26, "Justin T. Gibbs" <gibbs@scsiguy.com> wrote:> Was any consensus reached on how to cleanly allow an HVM guest to map > grant references? I''m in need of this feature for a FreeBSD x86_64 HVM > driver domain. FreeBSD x86_64 does not support full PV, and I need > the ability to run backends in these domains for my application. The > patches from this thread would likely work for me, but like the author > of them, I''d rather use a publicly supported Xen interface than to > have a locally maintained solution. > > -- > Justin > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Justin T. Gibbs
2010-Jan-08 23:43 UTC
Re: [Xen-devel] [PATCH 0 of 5] Add support for mapping grant references into HVM guests (+ some cleanup)
On 12/18/2009 9:05 AM, Keir Fraser wrote:> Support is already in the tree and will be part of Xen 4.0. See xen-unstable > changeset 19932:c0cb307d927f. > > -- Keir >I have successfully integrated the 4.0 change into my 3.4.1 test system. The changes works as expected so long as the I/O is serviced via a copy from memory owned by the device domain. However, iommu mappings are not updated for HVM grant table updates so it is not possible to use DMA. I am experimenting with changes to update the iommu for p2m_grant_map* types but wonder is some overarching architectural consideration I''m missing that would explain why the iommu was not updated in the original changes? -- Justin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel