mirror_qemu/monitor
Eric Blake 08712fcb85 net: Track netdevs in NetClientState rather than QemuOpt
As mentioned in the previous patch, our use of QemuOpt group "netdev"
has two purposes: collect the CLI arguments, and serve as a witness
for monitor hotplug actions.  As the latter didn't use anything but an
id, it felt rather unclean to have to touch QemuOpts at all when going
through QMP, so let's instead track things with a bool field in
NetClientState.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200317201711.322764-3-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2020-03-17 21:50:36 +01:00
..
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
hmp-cmds.c migration/throttle: Add throttle-trig-thres migration parameter 2020-03-13 09:36:30 +00:00
hmp.c hmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
misc.c net: Track netdevs in NetClientState rather than QemuOpt 2020-03-17 21:50:36 +01:00
monitor-internal.h qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
monitor.c monitor: Add allow_hmp parameter to monitor_init() 2020-03-06 17:21:28 +01:00
qmp-cmds-control.c qmp: constify QmpCommand and list 2020-03-17 21:43:12 +01:00
qmp-cmds.c block: Move sysemu QMP commands to QAPI block module 2020-03-06 17:15:38 +01:00
qmp.c qmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00