]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: Fix device_add DRIVER,help to print to monitor
authorMarkus Armbruster <armbru@redhat.com>
Tue, 14 Jul 2020 16:01:58 +0000 (18:01 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 21 Jul 2020 15:22:44 +0000 (17:22 +0200)
commit029afc4e76041e1a320530d97f99122a1b3d5da2
tree02f3027e1648267191b10f3f3324a75282625964
parentaf3d69058e09bede9900f266a618ed11f76f49f3
qdev: Fix device_add DRIVER,help to print to monitor

Help on device properties gets printed to stdout instead of the
monitor.  If you have the monitor anywhere else, no help for you.
Broken when commit e1043d674d "qdev: use object_property_help()"
accidentally switched from qemu_printf() to printf().  Switch right
back.

Fixes: e1043d674d792ff64aebae1a3eafc08b38a8a085
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200714160202.3121879-2-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
qdev-monitor.c