Re: [PATCH for-5.0 v2] xen: fixup RAM memory region initialization

2020-04-03 Thread Igor Mammedov
On Thu, 2 Apr 2020 20:57:14 +0200 Paolo Bonzini wrote: > On 02/04/20 16:54, Igor Mammedov wrote: > > Since bd457782b3b0 ("x86/pc: use memdev for RAM") Xen > > machine fails to start with: > >qemu-system-i386: xen: failed to populate ram at 0 > > > > The reason is that xen_ram_alloc() which i

Re: [PATCH for-5.0 v2] xen: fixup RAM memory region initialization

2020-04-02 Thread Paolo Bonzini
On 02/04/20 16:54, Igor Mammedov wrote: > Since bd457782b3b0 ("x86/pc: use memdev for RAM") Xen > machine fails to start with: >qemu-system-i386: xen: failed to populate ram at 0 > > The reason is that xen_ram_alloc() which is called by > memory_region_init_ram(), compares memory region with >

[PATCH for-5.0 v2] xen: fixup RAM memory region initialization

2020-04-02 Thread Igor Mammedov
Since bd457782b3b0 ("x86/pc: use memdev for RAM") Xen machine fails to start with: qemu-system-i386: xen: failed to populate ram at 0 The reason is that xen_ram_alloc() which is called by memory_region_init_ram(), compares memory region with statically allocated 'global' ram_memory memory regio