[Qemu-devel] [PULL 15/19] exec: store RAMBlock pointer into memory region

2016-02-25 Thread Paolo Bonzini
From: 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, whi

[Qemu-devel] [PULL 15/19] exec: store RAMBlock pointer into memory region

2016-02-24 Thread Paolo Bonzini
From: 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, whi