diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-08 13:11:41 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:42 -0600 |
commit | 998bbd74b9d813b14a3a3b5009a5d5a48c7dce51 (patch) | |
tree | e4c6cb4a8a504ec595c7ce67d6a8c34471b08be8 /linux-user/linux_loop.h | |
parent | 735ba5884943ad91be660b59092ab7592c4bde07 (diff) | |
download | qemu-998bbd74b9d813b14a3a3b5009a5d5a48c7dce51.zip qemu-998bbd74b9d813b14a3a3b5009a5d5a48c7dce51.tar.gz qemu-998bbd74b9d813b14a3a3b5009a5d5a48c7dce51.tar.bz2 |
default devices: core code & serial lines.
Qemu creates a default serial line for you in case you didn't specify
one on the command line. Right now this is tied to the '-serial
<chardev>' command line switch, which in turn causes trouble if you are
creating your serial line via '-device isa-serial,<props>'.
This patch adds a variable default_serial which says whenever a default
serial line should be added. It is enabled by default. It is cleared
when qemu finds '-serial' or '-device isa-serial' on the command line.
Part of the patch is some infrastructure for the '-device $driver'
checking (default_driver_check function) which will also be used by the
other patches of this series.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions