This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] IOMMU Domain for Dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] IOMMU Domain for Dom0
From: Alex Merritt <merritt.alex@xxxxxxxxx>
Date: Mon, 20 Jun 2011 22:17:56 -0600
Delivery-date: Mon, 20 Jun 2011 21:19:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=SKNZQGM8BS/CEl7TQFUXt5AppJ31vc/xUTyqJvx9Wfg=; b=kTF9rCiGilt910yqwgG7zzCqc2/w0BXpYSX0oqoCB1ciqDx+d6HuyRWSm2552HfaFN 2Ijyq1zwNViFUQhDh6gOD0tkgBPrBBiYq1Q8AE3vPUXfvyaD+FUdk6ewiiymKj4HaAk8 bU9ibHMxWOM55v//e2m900vxkEMp0j79xDmsQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=TVydnahbtYiM7typLwTAoiwfAc2bvWUPHbTiNRAQeo1tPix1Mw8LquwkXUWzOcRfwp WwIpJvrECNryrH2LC1uEHRi3FLvCnxNfcap/VzUpvSSQ32JdZwwNCqVVbXdMO+lc4uTy 5ez4OXyhRENWSGUgeV+H6tx7D0z9QyAG82N8Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I've been experimenting with VT-d supported PCI-passthrough in Xen for
HVM guests, and was wondering if it is possible to create an IOMMU
domain for Dom0 as well. I'm not sure if I'm asking the question
correctly, but to avoid changing a bare-metal driver for an I/O device
to translate system memory addresses used by a DMA engine, would I
instead be able to allow the IOMMU to transparently translate
addresses just like for guest VMs, but within Dom0? Some searching and
reading of the wiki pages on xen.org tells me the answer is "no". But
I cannot determine if this is purely because the implementation within
the VMM doesn't exist, or because it is that Dom0 is para-virtualized
and thus cannot use VT-d without VT-x. I'm suspecting it is not the
latter, as the VTdHowTo wiki page hints PV guests may use VT-d and the
Intel manual for VT-d describes OS developers may take advantage of
this extension.

My immediate interest is more to see if it "can be done" via a hack or
something, not necessarily whether it would make sense for Xen to
support this in the future.

I'm using Xen 4.1.1 and pv-ops linux (not upstream) on an
Intel X5660 with a Tylersburg chipset.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>