diff options
author | Eric Blake <eblake@redhat.com> | 2016-02-19 17:19:31 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-25 16:11:29 +0100 |
commit | 21a933ea33c820515f331c162c9f7053ca6f4129 (patch) | |
tree | 97336805256251c1836cc3805ac41ac9101ba97b /qemu-nbd.c | |
parent | d61524486c6e503e502241a2ea834f930f98a6a1 (diff) |
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>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions