Public bug reported:

Package: libvirt-bin 
Release:        12.04
Version: 0.9.8-2ubuntu17.10

Configure virtual machine to passtrought /dev/parport0

Expect: /dev/parport0 available in guest

Happened: parport is unavailable in guest

Reason: wrong qemu launch string

have: 
/usr/bin/kvm -S -M pc-1.0 -cpu qemu32 -enable-kvm -m 128 -smp 
1,sockets=1,cores=1,threads=1 \
... skipped ... 
-chardev tty,id=charparallel0,path=/dev/parport0 -device 
isa-parallel,chardev=charparallel0,id=parallel0 
... skipped ...

shoud be:
/usr/bin/kvm -S -M pc-1.0 -cpu qemu32 -enable-kvm -m 128 -smp 
1,sockets=1,cores=1,threads=1 \
... skipped ... 
-chardev parport,id=charparallel0,path=/dev/parport0 -device 
isa-parallel,chardev=charparallel0,id=parallel0 
... skipped ...

Fix in attachment

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: libvirt lpt parport qemu

** Patch added: "Command line generation fix for qemu"
   
https://bugs.launchpad.net/bugs/1203620/+attachment/3744944/+files/parport-passtrough-fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1203620

Title:
  parport passthrough error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1203620/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to