diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-06-16 19:12:25 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 18:44:22 +0300 |
commit | 6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e (patch) | |
tree | bb96ab0df0678c752415cd13bc8d0218157b8ce0 /stubs/qmp_pc_dimm_device_list.c | |
parent | c3ba3095070728f9c247f9e89652b9ea3f94319f (diff) | |
download | hqemu-6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e.zip hqemu-6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e.tar.gz |
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>
Diffstat (limited to 'stubs/qmp_pc_dimm_device_list.c')
-rw-r--r-- | stubs/qmp_pc_dimm_device_list.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stubs/qmp_pc_dimm_device_list.c b/stubs/qmp_pc_dimm_device_list.c new file mode 100644 index 0000000..5cb220c --- /dev/null +++ b/stubs/qmp_pc_dimm_device_list.c @@ -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; +} |