diff options
author | Igor Mammedov <imammedo@redhat.com> | 2019-10-08 07:33:18 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-10-23 23:37:42 -0300 |
commit | 6a3a2e828220d9c86425930178445b868ea3c3c4 (patch) | |
tree | 0bb6b12eb820a6d57b0f22bd811d75108264032e /hw/ppc | |
parent | 2def24f159c687328ada923d585307c014c2d095 (diff) | |
download | qemu-6a3a2e828220d9c86425930178445b868ea3c3c4.zip qemu-6a3a2e828220d9c86425930178445b868ea3c3c4.tar.gz qemu-6a3a2e828220d9c86425930178445b868ea3c3c4.tar.bz2 |
hppa: drop usage of memory_region_allocate_system_memory() for ROM
machine_hppa_init() violates memory_region_allocate_system_memory() contract
by calling it multiple times which could break with -mem-path. Replace
the second usage (for 'rom') with memory_region_init_ram() instead.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20191008113318.7012-4-imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/ppc')
0 files changed, 0 insertions, 0 deletions