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] hardware driver question

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] hardware driver question
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 11 Jan 2008 13:45:33 +0000
Cc: "Hoeld, Hermann" <HERMANN.HOELD@xxxxxxxxxxx>
Delivery-date: Fri, 11 Jan 2008 05:46:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E56C115075F2104BB751B6AB1C23898702035A02@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <E56C115075F2104BB751B6AB1C23898702035A02@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> If you have no driver for a hardware-device for the OS running in dom0,
> but you have a driver for this hardware-device for the OS running in
> domU,
> is it possible to use this hardware-device in domU?

Yes, sometimes.

If it's a PCI device:

If domU is a PV guest then you can use PCI passthrough to pass the guest but 
this means the guest is as privileged and trusted as dom0 is.

If the domU is an HVM guest *and* you have Intel VT-d hardware, then it's 
possible to pass PCI devices through without making the guest as highly 
privileged as dom0.  I don't know if there's an AMD solution for this in Xen 
yet.

If it's a USB device:

Then the only way you can pass it to a PV guest is by using PCI passthrough to 
pass through an entire USB controller.  Guest is privileged.

For an HVM guest, you can modify the domain's config file to passthrough an 
individual USB device although some functionality (e.g. isochronous transfer 
used by webcams, etc) is not available.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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