From: Stefan Hajnoczi <stefanha@gmail.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
Ping Fan Liu <pingfank@linux.vnet.ibm.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] dataplane: sync virtio.c and vring.c virtqueue state
Date: Wed, 17 Jul 2013 10:05:23 +0800 [thread overview]
Message-ID: <20130717020523.GB26311@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1372678157-4932-1-git-send-email-stefanha@redhat.com>
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 <stefanha@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
prev parent reply other threads:[~2013-07-17 2:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 11:29 [Qemu-devel] [PATCH] dataplane: sync virtio.c and vring.c virtqueue state Stefan Hajnoczi
2013-07-17 2:05 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130717020523.GB26311@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=aliguori@us.ibm.com \
--cc=pingfank@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).