Re: [Qemu-devel] [PATCH 1/3] exec: store RAMBlock pointer into memory region

2016-02-21 Thread Gonglei (Arei)
Hi Fam, > From: Fam Zheng [mailto:f...@redhat.com] > Sent: Monday, February 22, 2016 10:46 AM > > On Sat, 02/20 10:35, Gonglei wrote: > > Each RAM memory region has a unique corresponding RAMBlock. > > In the current realization, the memory region only stored > > the ram_addr which means the

Re: [Qemu-devel] [PATCH 1/3] exec: store RAMBlock pointer into memory region

2016-02-21 Thread Fam Zheng
On Sat, 02/20 10:35, Gonglei wrote: > Each RAM memory region has a unique corresponding RAMBlock. > In the current realization, the memory region only stored > the ram_addr which means the offset of RAM address space, > We need to qurey the global ram.list to find the ram block > by ram_addr if we

[Qemu-devel] [PATCH 1/3] exec: store RAMBlock pointer into memory region

2016-02-19 Thread Gonglei
Each RAM memory region has a unique corresponding RAMBlock. In the current realization, the memory region only stored the ram_addr which means the offset of RAM address space, We need to qurey the global ram.list to find the ram block by ram_addr if we want to get the ram block, which is very