[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] dataplane: sync virtio.c and vring.c virtqueue
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] dataplane: sync virtio.c and vring.c virtqueue state |
Date: |
Wed, 17 Jul 2013 10:05:23 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> ---
> 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