Re: [PATCH 3/3] hppa: drop usage of memory_region_allocate_system_memory() for ROM

2019-10-20 Thread Philippe Mathieu-Daudé
On 10/8/19 1:33 PM, Igor Mammedov wrote: 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 --- hw/

Re: [PATCH 3/3] hppa: drop usage of memory_region_allocate_system_memory() for ROM

2019-10-08 Thread Philippe Mathieu-Daudé
On 10/8/19 1:33 PM, Igor Mammedov wrote: 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 --- hw/