[Pkg-libvirt-discuss] Difficutlies with lp port

Guido Günther agx at sigxcpu.org
Wed Oct 5 20:39:40 UTC 2011


Hi Anselmo,
On Thu, Sep 29, 2011 at 10:03:07PM +0200, Anselmo wrote:
> Hello,
> 
> Debian as host and Windows XP Home as guest.
> I would like to pass the /dev/parport0 to XP to attach a printer.
> 
> I use virt-manager. When I add a parallel port as a "dev" type I got
> this conf file:
> ....
> <parallel type='dev'>
>       <source path='/dev/parport0'/>
>       <target port='0'/>
> </parallel>
> ....
> 
> And this command line:
> 
> ....
> -chardev tty,id=charparallel0,path=/dev/parport0
> -device isa-parallel,chardev=charparallel0,id=parallel0
> ....
> 
> The first parameter is "tty".Should not it be "parport"?

Yes, I think this should be parport. Does it work with parport instead
of tty? I don't have any hardware parallel port nearby to test.
 -- Guido

> Anyway I never see any parallel port on the guest with these
> options. Even starting kvm from the command line.
> 
> While is seems to work immediatly using the kvm option:
> "-parallel /dev/parport0"
> 
> Where i've made a mistake? Or how can I just tell libvirt to use the
> "-parallel" option instead.
> 
> Thank's for your help
> Anselmo Luginbühl
> 
> 
> 
> _______________________________________________
> Pkg-libvirt-discuss mailing list
> Pkg-libvirt-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-discuss
> 



More information about the Pkg-libvirt-discuss mailing list