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] Does HVM( AMD & Intel's VT ) support direct device acces

To: "Slava Imameyev" <imameev@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Does HVM( AMD & Intel's VT ) support direct device access w/o guest modification?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 14 Nov 2006 17:44:40 +0100
Delivery-date: Tue, 14 Nov 2006 08:48:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <cd0e58a90611140812y1e0294c4m8fd7961e1409f7f9@xxxxxxxxxxxxxx>
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: AccIB8cjIuqfCI4xTzid+XrfTTUdbQAAGPSw
Thread-topic: [Xen-users] Does HVM( AMD & Intel's VT ) support direct device access w/o guest modification?
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Slava Imameyev
> Sent: 14 November 2006 16:13
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Does HVM( AMD & Intel's VT ) support 
> direct device access w/o guest modification?
> 
> 
> I wonder, does the Xen hypervisor that uses the AMD or Intel 
> hardware virtualization( svm or vti ) support direct device 
> access without guest OS modification? As I understand the 
> pciback module requires the guest OS's( domU ) drivers modification. 

Not at present. There are two issues here:
1. PCI device needs to be inserted into the device table of the HVM
guest. This is code that any decent programmer can do in a few hours. 
2. PCI devices that do direct memory access (i.e. almost all of them)
will need the address translated from the guest's belief of what the
memory address is, compared to the actual machine address (OS believes
that memory starts at 0 and goes to 256MB, but a guest OS may live at,
say 512..768MB). The easy solution to this is to have IOMMU-hardware
(and related support in the HVM part of the hypervisor). 

--
Mats
> 
> -- 
> Slava Imameyev
> 



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

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