diff options
| author | Igor Mammedov | 2014-06-16 19:12:25 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-06-19 17:44:22 +0200 |
| commit | 6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e (patch) | |
| tree | bb96ab0df0678c752415cd13bc8d0218157b8ce0 /include | |
| parent | numa: handle mmaped memory allocation failure correctly (diff) | |
| download | qemu-6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e.tar.gz qemu-6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e.tar.xz qemu-6f2e27301d8cfea0a40dda7ec8a6dc1b9d0e228e.zip | |
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 'include')
| -rw-r--r-- | include/hw/mem/pc-dimm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/mem/pc-dimm.h b/include/hw/mem/pc-dimm.h index 0f4a6ba1e4..761eeef801 100644 --- a/include/hw/mem/pc-dimm.h +++ b/include/hw/mem/pc-dimm.h @@ -76,4 +76,6 @@ uint64_t pc_dimm_get_free_addr(uint64_t address_space_start, Error **errp); int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp); + +int qmp_pc_dimm_device_list(Object *obj, void *opaque); #endif |
