diff options
author | Igor Mammedov <imammedo@redhat.com> | 2019-10-08 07:33:17 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-23 23:37:42 -0300 |
commit | 2def24f159c687328ada923d585307c014c2d095 (patch) | |
tree | fd813f2071611f2719adc315104ef261ddf1cc5d /include/hw/rtc | |
parent | 6966631c3e1004a1a20bfd01f3c26a403c31f36f (diff) | |
download | qemu-2def24f159c687328ada923d585307c014c2d095.zip qemu-2def24f159c687328ada923d585307c014c2d095.tar.gz qemu-2def24f159c687328ada923d585307c014c2d095.tar.bz2 |
ppc: rs6000_mc: drop usage of memory_region_allocate_system_memory()
rs6000mc_realize() violates memory_region_allocate_system_memory() contract
by calling it multiple times which could break -mem-path. Replace it with
plain memory_region_init_ram() instead.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20191008113318.7012-3-imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/rtc')
0 files changed, 0 insertions, 0 deletions