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-devel] Xen 2.05 - using printer (/dev/lp0) from a guest linux

To: <u-boat.xen-devel@xxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Xen 2.05 - using printer (/dev/lp0) from a guest linux OS?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sun, 27 Mar 2005 21:51:04 +0100
Cc: <ian.pratt@xxxxxxxxxxxx>, <ian.pratt@xxxxxxxxxxxx>
Delivery-date: Sun, 27 Mar 2005 20:52:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcUzDC0H77HnT6kJSYKxzP2DUXKCowAAXA7g
Thread-topic: [Xen-devel] Xen 2.05 - using printer (/dev/lp0) from a guest linux OS?
> No, it's an old parallel port printer... I was hoping for a way to
> export /dev/lp0 to the guest, but it doesn't sound like there's a way.

Xen (the unstable.bk version) has the capability to expose individual
ISA devices to guests. However, the control tools haven't caught up with
this yet.

You can do it in a hacky way for the moment though, by giving the domU
full IO privilege. If you do this, you'll have to be careful to ensure
that only one domain has a driver for the parallel port, otherwise bad
things will happen if they both try to access it.

> I wanted to set up a print server in a guest OS, then move 
> the guest OS
> setup to a bootable CD and have a stateless print server... xen would
> make this a little easier since reboots are faster... using 
> lpr might be
> close enough for testing.

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] Xen 2.05 - using printer (/dev/lp0) from a guest linux OS?, Ian Pratt <=