On Mon, Jul 01, 2013 at 01:29:17PM +0200, Stefan Hajnoczi wrote: > Load the virtio.c state into vring.c when we start dataplane mode and > vice versa when stopping dataplane mode. This patch makes it possible > to start and stop dataplane any time while the guest is running. > > This will eventually allow us to go back to QEMU main loop for > bdrv_drain_all() and live migration. In the meantime, this patch makes > the dataplane lifecycle more robust but should make no visible > difference. It may be useful in the virtio-net dataplane effort. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > hw/block/dataplane/virtio-blk.c | 2 +- > hw/virtio/dataplane/vring.c | 8 +++++--- > include/hw/virtio/dataplane/vring.h | 2 +- > 3 files changed, 7 insertions(+), 5 deletions(-)
Applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan