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

Re: [Xen-users] IOMMU Domain for Dom0


  • To: Todd Deshane <todd.deshane@xxxxxxx>
  • From: Alex Merritt <merritt.alex@xxxxxxxxx>
  • Date: Thu, 23 Jun 2011 09:47:39 -0600
  • Cc: sploving <sploving1@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 23 Jun 2011 08:49:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=N/STD8EUg5Kf6cT9DsdB3VZ6c+sXqmvw0kDhvb0A3vEJytrUXLkbHXYLQ2s9UnyGzw mdTkgs7Ke5VRcCEkZdAYnw+uSIFqMNaozRyc4hLOVNzumklYDCkvAgGvluOBna/IOrbW 8AlbpseERGEa9fv0GAFfs9/N0NjjFtICdhftk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Jun 22, 2011 at 21:48, Todd Deshane <todd.deshane@xxxxxxx> wrote:
> On Wed, Jun 22, 2011 at 1:20 PM, Alex Merritt <merritt.alex@xxxxxxxxx> wrote:
>> Hi,
>>
>> 2011/6/22 sploving <sploving1@xxxxxxx>:
>>>
>>>
>>>
>>> AtÂ2011-06-21Â12:17:56ï"AlexÂMerritt"Â<merritt.alex@xxxxxxxxx>Âwrote:
>>>
>>>>Hello,
>>>>
>>>>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?
>>> why put the IOMMU within Dom0? not in the driver domain?
>>
>> I'm using research code, which currently requires the management
>> extension and driver to exist within the same domain. IOMMUs are meant
>> for guest VMs as far as I can tell. They can be used as driver
>> domains, too, but (unless I'm mistaken) cannot use the management
>> interfaces available in Dom0.
>>
>
> To me, this research sounds similar to "InDriver: Using In-VM
> Isolation to Implement Drivers" that is going to be presented at the
> upcoming Xen Summit
>
> see: http://xen.org/community/xensummit.html
>
> I could be wrong about the relationship, but it does sound like
> similar concepts are being explored.

Hm, there doesn't seem to be a link describing the talk/work in more
detail. I'm attempting to just give the NVIDIA driver an IOMMU domain
in Dom0 for accessing the GPUs within a machine. There's been a lot of
frustration over the years trying to get CUDA to work on Dom0 as well
as 3D support. I'm attempting to determine if this is at all possible
using VT-d.

>
>
>> My driver domain is also Dom0 at the moment.
>>
>>> Â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.
>>>>
>>> You should ask this question in xen-dev list.
>>
>> Okay, I'll do that. I'm new to these mailing lists, and wasn't sure
>> where to start. Thanks.
>>
>>>>I'mÂusingÂXenÂ4.1.1ÂandÂpv-opsÂlinuxÂ(notÂupstream)Â2.6.32.40ÂonÂan
>>>>IntelÂX5660ÂwithÂa
>>> TylersburgÂchipset.
>>>>
>>>>Thanks!
>>>>Alex
>>>>
>>>>_______________________________________________
>>>>Xen-usersÂmailingÂlist
>>>>Xen-users@xxxxxxxxxxxxxxxxxxx
>>>>http://lists.xensource.com/xen-users
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
>
>
> --
> Todd Deshane
> http://www.linkedin.com/in/deshantm
> http://www.xen.org/products/cloudxen.html
> http://runningxen.com/
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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