qemu-e2k/hw/mem
David Hildenbrand af39002747 memory-device: drop get_region_size()
There are no remaining users of get_region_size() except
memory_device_get_region_size() itself. We can make
memory_device_get_region_size() work directly on get_memory_region()
instead and drop get_region_size().

In addition, we can now use memory_device_get_region_size() in pc-dimm
code to implement get_plugged_size()"

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181005092024.14344-12-david@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-10-24 06:44:59 -03:00
..
Makefile.objs memory-device: introduce separate config option 2018-10-24 06:44:59 -03:00
memory-device.c memory-device: drop get_region_size() 2018-10-24 06:44:59 -03:00
nvdimm.c memory-device: factor out get_memory_region() from pc-dimm 2018-10-24 06:44:59 -03:00
pc-dimm.c memory-device: drop get_region_size() 2018-10-24 06:44:59 -03:00
trace-events docs: fix broken paths to docs/devel/tracing.txt 2017-07-31 13:12:53 +03:00