memory: add memory_region_set_size
commite7af4c67300b3f9382e96f7a6741a5992116b2d2
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Dec 2014 09:21:23 +0000 (16 11:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Jan 2015 11:17:54 +0000 (8 13:17 +0200)
tree3ac54bff09310f946a272b322780150231968ec1
parentd86fb03469e016af4e54f04efccbc20a8afa3e19
memory: add memory_region_set_size

Add API to change MR size.
Will be used internally for RAM resize.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/memory.h
memory.c