diff options
| author | David Hildenbrand | 2018-10-05 11:20:19 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2018-10-24 11:44:59 +0200 |
| commit | af390027475a0ada7a9da71108d5aee6fcc18151 (patch) | |
| tree | cfa20288525dbbd2398dcec7ef98efda40d0fa40 /scripts/git-submodule.sh | |
| parent | memory-device: factor out get_memory_region() from pc-dimm (diff) | |
| download | qemu-af390027475a0ada7a9da71108d5aee6fcc18151.tar.gz qemu-af390027475a0ada7a9da71108d5aee6fcc18151.tar.xz 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/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions
