Re: [Qemu-devel] [PATCH 1/6] exec: Return RAMBlock pointer from allocating functions

2016-02-29 Thread Gonglei (Arei)
> > Subject: [Qemu-devel] [PATCH 1/6] exec: Return RAMBlock pointer from > allocating functions > > Previously we return RAMBlock.offset; now return the pointer to the > whole structure. > > ram_block_add returns void now, error is completely passed with errp. >

[Qemu-devel] [PATCH 1/6] exec: Return RAMBlock pointer from allocating functions

2016-02-28 Thread Fam Zheng
Previously we return RAMBlock.offset; now return the pointer to the whole structure. ram_block_add returns void now, error is completely passed with errp. Signed-off-by: Fam Zheng --- exec.c | 51 + include/exec/ram_addr.h | 22 ++