commit | 67891b8a85cd8238b8c55ef438b87146ff3646aa | [log] [tgz] |
---|---|---|
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | Thu Jun 05 23:15:18 2014 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 17 17:11:13 2014 +0200 |
tree | 5fd5f4ec384b4e7e8401d152ef11301f4af4c05e | |
parent | 0598701a4947ddbc19391e008cf753f8f22f3c25 [diff] |
memory: MemoryRegion: factor out memory region re-adder memory_region_set_address is mostly just a function that deletes and re-adds a memory region. Factor this generic functionality out into a re-usable function. This prepares support for further QOMification of MemoryRegion. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>