This is the v1 of the patchset that fixes pc DIMMs capacity calculation and makes pc_existing_dimms_capacity() an API.
Changes in v1 ------------- - As per Igor's suggestion, made pc_existing_dimms_capacity() to return the capacity value and take Error pointer as an argument. v0: http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg01020.html Bharata B Rao (3): pc: Fix DIMMs capacity calculation pc-dimm: Make pc_existing_dimms_capacity global pc-dimm: Add Error argument to pc_existing_dimms_capacity hw/i386/pc.c | 40 +++++----------------------------------- hw/mem/pc-dimm.c | 38 ++++++++++++++++++++++++++++++++++++++ include/hw/mem/pc-dimm.h | 1 + 3 files changed, 44 insertions(+), 35 deletions(-) -- 2.1.0