** Description changed: + ======================================= + 1. Impact: parallel ports cannot be passed through to guests + 2. Development fix: if the path being passed in starts with '/dev/parport' + then tell qemu that it is a parport, not a tty. + 3. Stable fix: cherrypick of the upstream fix + 4. Test case: see below + 5. Regression potential: this patch has been upstream for quite some time now + so there should be no regression. + ======================================= + + 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
-- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
