qemu-e2k/monitor
David Hildenbrand 722a3c783e virtio-pci: Send qapi events when the virtio-mem size changes
Let's register the notifier and trigger the qapi event with the right
device id.

MEMORY_DEVICE_SIZE_CHANGE is similar to BALLOON_CHANGE, however on a
memory device level.

Don't unregister the notifier (we neither have finalize() nor unrealize()
for VirtIOPCIProxy, so it's not that simple to do it) - both devices are
expected to vanish at the same time.

Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200626072248.78761-18-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-07-03 07:57:04 -04:00
..
Makefile.objs qemu-storage-daemon: Add --monitor option 2020-03-06 17:21:28 +01:00
hmp-cmds.c hmp: Handle virtio-mem when printing memory device info 2020-07-03 07:57:04 -04:00
hmp.c hmp: Fail gracefully if chardev is already in use 2020-03-06 17:21:28 +01:00
misc.c memory: Make 'info mtree' not display disabled regions by default 2020-06-10 12:10:49 -04:00
monitor-internal.h qom: Clean up inconsistent use of gchar * vs. char * 2020-05-15 06:26:02 +02:00
monitor.c virtio-pci: Send qapi events when the virtio-mem size changes 2020-07-03 07:57:04 -04: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 qapi: Disallow qmp_marshal_FOO(NULL, ...) 2020-04-30 07:26:41 +02:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00