qmp: add query-memory-devices command
... allowing to get state of present memory devices. Currently implemented only for PCDIMMDevice. Signed-off-by:Igor Mammedov <imammedo@redhat.com> Reviewed-by:
Eric Blake <eblake@redhat.com> Acked-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- hw/mem/pc-dimm.c 39 additions, 0 deletionshw/mem/pc-dimm.c
- include/hw/mem/pc-dimm.h 2 additions, 0 deletionsinclude/hw/mem/pc-dimm.h
- qapi-schema.json 51 additions, 0 deletionsqapi-schema.json
- qmp-commands.hx 27 additions, 0 deletionsqmp-commands.hx
- qmp.c 11 additions, 0 deletionsqmp.c
- stubs/Makefile.objs 1 addition, 0 deletionsstubs/Makefile.objs
- stubs/qmp_pc_dimm_device_list.c 7 additions, 0 deletionsstubs/qmp_pc_dimm_device_list.c
Loading
Please register or sign in to comment