WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] unmodified guests (VMX?) access PCI devices

To: therion@xxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] unmodified guests (VMX?) access PCI devices
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 4 Sep 2006 13:33:35 +0200
Delivery-date: Mon, 04 Sep 2006 04:35:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44F87E33.8090603@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbN9h7v4paVOP1yTRKDpXyT+ZqhIwCHwZaQ
Thread-topic: [Xen-users] unmodified guests (VMX?) access PCI devices
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Georg Bege
> Sent: 01 September 2006 19:39
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] unmodified guests (VMX?) access PCI devices
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello folks
> 
> I played a lot with Xen last days,
> isnt it possible to access PCI devices which are  hidden
> from dom0?

There's no support currently for this. It's not TERRIBLY difficult to
implement the bit that forwards the PCI device to the HVM domain.

There's a but tho': it's non-trivial to make it work further on, because
drivers will (almost) always pass a physical address to the card. But in
a HVM domain the OS's view of a physical address isn't the Machine
Physical Address but a "virtual physical address" (aka Guest Physical
Address). If your PCI device is anything like a network card, SCSI
controller or graphics card, it will do direct memory accesses from the
card to physical memory, and in the current model, that would require a
machine-physical address, which isn't available to the driver/OS in HVM
setup. 

I hope this is clear, but feel free to ask for further details if you
wish.

> I didnt get it - at least my windows domain didnt get it.
> 
> Another question:
> Im using hvmloader but many pages also talk about the vmxloader,
> was it prior the hvmloader coz it doesnt exist anymore?

Yes, vmxloader used to be the name for hvmloader before HVM was invented
(i.e. at the time when Xen only had VT support and no SVM support). 

--
Mats
> 
> cheers
> 
> - --
> Georg 'Therion' Bege
> http://coruscant.info
> http://www.ninth-art.de
> therion@xxxxxxxxxxxx <therion at ninth minus art dot de>
> GnuPG-Key-ID: 0x5717E214
> FingerPrint: A8EC B4B2 C9A9 483B CC87 56EE 07A1 C78E 5717 E214
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE+H4yB6HHjlcX4hQRAooSAKD1PEOAiNFVRxHdha1c1hikbgVxPwCfQ0aX
> 6YsTJnKuj8UEPiBWaaYYwRs=
> =NFab
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> 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

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