]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
default devices: parallel port.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:42 +0000 (13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:42 +0000 (07:59 -0600)
commit6a5e8b0e310c483d8d14553a2b7b601d39ed8b75
treea2e16cea5e9a267183f17997968af93558eb8712
parent998bbd74b9d813b14a3a3b5009a5d5a48c7dce51
default devices: parallel port.

Qemu creates a default parallel port for you in case you didn't specify
one on the command line.  Right now this is tied to the '-parallel
<chardev>' command line switch, which in turn causes trouble if you are
creating your parallel port via '-device isa-parallel,<props>'.

This patch adds a variable default_parallel which says whenever a default
parallel port should be added.  It is enabled by default.  It is cleared
when qemu finds '-parallel' or '-device isa-parallel' on the command line.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c