mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
c3ba309507
commit
6f2e27301d
7 changed files with 138 additions and 0 deletions
|
@ -37,3 +37,4 @@ stub-obj-y += vmstate.o
|
|||
stub-obj-$(CONFIG_WIN32) += fd-register.o
|
||||
stub-obj-y += cpus.o
|
||||
stub-obj-y += kvm.o
|
||||
stub-obj-y += qmp_pc_dimm_device_list.o
|
||||
|
|
7
stubs/qmp_pc_dimm_device_list.c
Normal file
7
stubs/qmp_pc_dimm_device_list.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "qom/object.h"
|
||||
#include "hw/mem/pc-dimm.h"
|
||||
|
||||
int qmp_pc_dimm_device_list(Object *obj, void *opaque)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue