]> xenbits.xensource.com Git - libvirt.git/commit
qemu: rework '-serial none'
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 10 Feb 2014 10:33:19 +0000 (11:33 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 11 Feb 2014 12:43:55 +0000 (13:43 +0100)
commita53e50405251ed736eafb41b8d064741ab428919
treec9a19c0ef7e55bdf91d63ceacf7964368e14794b
parent5b189541acd22e04d8f6c0d132c7f0b1229865d7
qemu: rework '-serial none'

Limiting ourselves to qemu without QEMU_CAPS_DEVICE capability, we
used '-serial none' only if there was no serial device defined in the
domain XML.  This means that if we want to have a possibility of the
device being defined in XML, but not used in the command-line
(e.g. when it's pointless), we'll fail to attach '-serial none' to the
command-line (when skipping the device's command-line building and the
device being the only one).

Since there is no such device, this patch doesn't actually do
anything, but enables easier future additions in this manner.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_command.c