commit | 528f46af6ecd1e300db18684969104d4067b867b | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Tue Mar 01 14:18:18 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Mar 07 13:18:28 2016 +0100 |
tree | 8b2d1ff05b51f7246084ea848ed1d420a285d0b7 | |
parent | bb8f32c0318cb6c6e13e09ec0f35e21eff246413 [diff] |
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. Reviewed-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1456813104-25902-2-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>