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


Re: [Xen-users] Xen 3.0 usb access on domU

To: Gelpi Andrea <corona@xxxxxxxx>
Subject: Re: [Xen-users] Xen 3.0 usb access on domU
From: "M.A. Williamson" <maw48@xxxxxxxxx>
Date: 30 Dec 2005 15:39:01 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 30 Dec 2005 15:43:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <90c4e5c6dba8eb34cc247ca714d25776@xxxxxxxx>
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: <90c4e5c6dba8eb34cc247ca714d25776@xxxxxxxx>
Reply-to: mark.williamson@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
        I have a usb printer and I need to access it form domU.

I read many post about using PCI= in domU configuraion after hiding the device via grubin dom0.

This command seems to not function in xen 3.0.

PCI= is not supported and physdev_dom0_hide is ignored during boot.

What can I do?

These commands don't yet work in Xen 3.0 due to some restructuring of how PCI devices are handled. There's also work underway to enable individual USB devices to be passed through to domUs but this is not checked-in yet.

I'd suggest the most straightforward solution is to set up network access: e.g. run a CUPS server in dom0 and get any domUs that need printing access to use that.

If you *really* need direct USB access, you could downgrade to Xen 2.0.x and use PCI passthrough until the capabilities you need are in Xen 3.0. The Xen 2 branch is unlikely to see things like kernel updates, etc. now that people are using Xen 3.0.


I installed xen from binary over debian 3.1 stable and I use in both dom0 and domU to have access to various modules.


Andrea Gelpi

Xen-users mailing list

Xen-users mailing list

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