]> Git Repo - qemu.git/commit - qemu-char.c
chardev: fix "info chardev" output
authorGerd Hoffmann <[email protected]>
Mon, 27 May 2013 10:41:24 +0000 (12:41 +0200)
committerGerd Hoffmann <[email protected]>
Mon, 27 May 2013 10:47:28 +0000 (12:47 +0200)
commit60d95386abf1f5f37ded6a812d12ac458df2491b
treeffb9e237d3de60a0b77651511cbae71dc2e661f2
parent3022e6b472d0f6d56efbe890e0f1c94841b170d4
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 <[email protected]>
qemu-char.c
This page took 0.022433 seconds and 4 git commands to generate.