Revision 60d95386
ID | 60d95386abf1f5f37ded6a812d12ac458df2491b |
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>
Files
- added
- modified
- copied
- renamed
- deleted