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

RE: [Xen-users] Does HVM( AMD & Intel's VT ) support direct device access w/o guest modification?


  • To: "Slava Imameyev" <imameev@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

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