Make RAM hotplug play nicely with dataplane. By RCU-protecting the dirty memory bitmap it is possible to hotplug RAM while other threads are dirtying guest RAM.
See Patch 1 for the meat of the code. Patch 2 is just a fixup on top of Paolo's dataplane branch. This series is based on: https://github.com/bonzini/qemu.git dataplane Stefan Hajnoczi (2): memory: RCU ram_list.dirty_memory[] for safe RAM hotplug virtio-blk: drop unused migration.h include exec.c | 73 +++++++++++++++---- hw/block/virtio-blk.c | 1 - include/exec/ram_addr.h | 189 ++++++++++++++++++++++++++++++++++++++++++------ migration/ram.c | 4 - 4 files changed, 223 insertions(+), 44 deletions(-) -- 2.5.0