mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +00:00
7508338ff3
I came across a bug that the command line generated for passthrough of the host parallel port /dev/parport0 by libvirt for QEMU is incorrect. It currently produces: -chardev tty,id=charparallel0,path=/dev/parport0 -device isa-parallel,chardev=charparallel0,id=parallel0 The first parameter is "tty". It sould be "parport". If I launch qemu with -chardev parport,... it works as expected. I have already filled a bug report ( https://bugzilla.redhat.com/show_bug.cgi?id=823879 ), the topic was already on the list some months ago: https://www.redhat.com/archives/libvirt-users/2011-September/msg00095.html Signed-off-by: Eric Blake <eblake@redhat.com>
8 lines
478 B
Plaintext
8 lines
478 B
Plaintext
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test /usr/bin/qemu -S -M \
|
|
pc -m 214 -smp 1 -nographic -nodefconfig -nodefaults -chardev socket,\
|
|
id=charmonitor,path=/tmp/test-monitor,server,nowait -mon chardev=charmonitor,\
|
|
id=monitor,mode=readline -no-acpi -boot c -hda /dev/HostVG/QEMUGuest1 \
|
|
-chardev parport,id=charparallel0,path=/dev/parport0 -device \
|
|
isa-parallel,chardev=charparallel0,id=parallel0 -usb -device \
|
|
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|