summary refs log tree commit diff stats
path: root/scripts/qemu.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2018-10-05 11:20:19 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-10-24 06:44:59 -0300
commitaf390027475a0ada7a9da71108d5aee6fcc18151 (patch)
treecfa20288525dbbd2398dcec7ef98efda40d0fa40 /scripts/qemu.py
parent3a0a2b0a2ba87ed00b732f061e59f890aaa27c17 (diff)
downloadfocaccia-qemu-af390027475a0ada7a9da71108d5aee6fcc18151.tar.gz
focaccia-qemu-af390027475a0ada7a9da71108d5aee6fcc18151.zip
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>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions