diff options
author | Bharata B Rao | 2015-01-27 05:05:02 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-01-27 13:46:18 +0100 |
commit | 37153450436f58449ce7e41d13a23821611e889e (patch) | |
tree | 8113dc857b997ee97320d5d0926cc3098f6dc819 /include | |
parent | pc-dimm: Make pc_existing_dimms_capacity global (diff) | |
download | qemu-37153450436f58449ce7e41d13a23821611e889e.tar.gz qemu-37153450436f58449ce7e41d13a23821611e889e.tar.xz qemu-37153450436f58449ce7e41d13a23821611e889e.zip |
pc-dimm: Add Error argument to pc_existing_dimms_capacity
Now that pc_existing_dimms_capacity() is an API, include Error pointer
as an argument and modify the caller appropriately.
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/mem/pc-dimm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/mem/pc-dimm.h b/include/hw/mem/pc-dimm.h index bbfa53f3a4..f7b80b44b7 100644 --- a/include/hw/mem/pc-dimm.h +++ b/include/hw/mem/pc-dimm.h @@ -78,5 +78,5 @@ uint64_t pc_dimm_get_free_addr(uint64_t address_space_start, int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp); int qmp_pc_dimm_device_list(Object *obj, void *opaque); -int pc_existing_dimms_capacity(Object *obj, void *opaque); +uint64_t pc_existing_dimms_capacity(Error **errp); #endif |