summaryrefslogtreecommitdiff
path: root/qdev-monitor.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-05-27 12:41:24 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-05-27 12:47:28 +0200
commit60d95386abf1f5f37ded6a812d12ac458df2491b (patch)
treeffb9e237d3de60a0b77651511cbae71dc2e661f2 /qdev-monitor.c
parent3022e6b472d0f6d56efbe890e0f1c94841b170d4 (diff)
downloadqemu-60d95386abf1f5f37ded6a812d12ac458df2491b.tar.gz
chardev: fix "info chardev" output
Fill unset CharDriverState->filename with the backend name, so 'info chardev' will return at least the chardev type. Don't touch it in case the chardev init function filled it already, like the socket+pty chardevs do for example. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qdev-monitor.c')
0 files changed, 0 insertions, 0 deletions