]> git.proxmox.com Git - mirror_qemu.git/commit - ui/console.c
chardev: Properly initialize ChardevCommon components
authorEric Blake <eblake@redhat.com>
Sat, 20 Feb 2016 00:19:31 +0000 (17:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Feb 2016 15:11:29 +0000 (16:11 +0100)
commit21a933ea33c820515f331c162c9f7053ca6f4129
tree97336805256251c1836cc3805ac41ac9101ba97b
parentd61524486c6e503e502241a2ea834f930f98a6a1
chardev: Properly initialize ChardevCommon components

Commit d0d7708b forgot to parse logging for spice chardevs and
virtual consoles. This requires making qemu_chr_parse_common()
non-static. While at it, use a temporary variable to make the
code shorter, as well as reduce the churn when a later patch
alters the layout of simple unions.

Signed-off-by: Eric Blake <eblake@redhat.com>
CC: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455927587-28033-2-git-send-email-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/char.h
qemu-char.c
spice-qemu-char.c
ui/console.c