From: "Michael S. Tsirkin" <mst@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH v4 0/4] virtio: Use ioeventfd for virtqueue notify
Date: Wed, 17 Nov 2010 22:49:52 +0200 [thread overview]
Message-ID: <20101117204952.GA31717@redhat.com> (raw)
In-Reply-To: <AANLkTim7iZAgf+pFd5ZxF4ZmJP-FQ8T-o3jfsfs4KiaB@mail.gmail.com>
On Wed, Nov 17, 2010 at 08:38:25PM +0000, Stefan Hajnoczi wrote:
> On Wed, Nov 17, 2010 at 6:01 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> > On Wed, Nov 17, 2010 at 04:19:25PM +0000, Stefan Hajnoczi wrote:
> >> The v4 version includes:
> >> * Simpler start/stop ioeventfd mechanism using bool ioeventfd_started state
> >> * Support for migration
> >> * Handle deassign race condition to avoid dropping a virtqueue kick
> >> * Add missing kvm_enabled() check to kvm_has_many_ioeventfds()
> >> * Documentation updates for qdev -device with ioeventfd=on|off
> >
> > Anthony, could you pls remind me what did you say
> > about need to stop these threads on migration vmstop?
> > Or am I confusing this with something else?
>
> Two points about the VM change state:
> 1. It is used to bring up virtio-ioeventfd on the destination host
> after migration.
> 2. It handles the race condition where a virtqueue kick is dropped
> because we deassign the ioeventfd on the source host.
>
> So I've implemented the VM change state to get correct migration behavior.
>
> The discussion you had with Anthony was more about events happening
> while the VM is paused and how that could interfere with guest state
> for migration IIRC.
>
> Stefan
Exactly. Could your patches cause a situation where block virtio ring
is used after migration stopped a VM?
--
MST
next prev parent reply other threads:[~2010-11-17 20:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-17 16:19 [Qemu-devel] [PATCH v4 0/4] virtio: Use ioeventfd for virtqueue notify Stefan Hajnoczi
2010-11-17 16:19 ` [Qemu-devel] [PATCH v4 1/4] virtio-pci: Rename bugs field to flags Stefan Hajnoczi
2010-11-17 16:19 ` [Qemu-devel] [PATCH v4 2/4] virtio-pci: Use ioeventfd for virtqueue notify Stefan Hajnoczi
2010-12-12 11:22 ` [Qemu-devel] " Michael S. Tsirkin
2010-12-12 15:06 ` Stefan Hajnoczi
2010-11-17 16:19 ` [Qemu-devel] [PATCH v4 3/4] virtio-pci: Don't use ioeventfd on old kernels Stefan Hajnoczi
2010-11-17 16:19 ` [Qemu-devel] [PATCH v4 4/4] docs: Document virtio PCI -device ioeventfd=on|off Stefan Hajnoczi
2010-12-12 11:24 ` [Qemu-devel] " Michael S. Tsirkin
2010-12-12 15:07 ` Stefan Hajnoczi
2010-11-17 18:01 ` [Qemu-devel] Re: [PATCH v4 0/4] virtio: Use ioeventfd for virtqueue notify Michael S. Tsirkin
2010-11-17 20:38 ` Stefan Hajnoczi
2010-11-17 20:49 ` Michael S. Tsirkin [this message]
2010-11-17 20:56 ` Stefan Hajnoczi
2010-12-01 11:53 ` [Qemu-devel] " Stefan Hajnoczi
2010-12-01 13:59 ` Michael S. Tsirkin
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=20101117204952.GA31717@redhat.com \
--to=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
--cc=stefanha@linux.vnet.ibm.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).