All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>,
	kvm-devel <kvm@vger.kernel.org>,
	Jan Kiszka <jan.kiszka@siemens.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	Zhi Yong Wu <wuzhy@cn.ibm.com>,
	Anthony Liguori <aliguori@linux.vnet.ibm.com>,
	target-devel <target-devel@vger.kernel.org>,
	lf-virt <virtualization@lists.linux-foundation.org>,
	Christoph Hellwig <hch@lst.de>
Subject: Re: [PATCH 0/5] vhost-scsi: Add support for host virtualized target
Date: Mon, 28 Jan 2013 15:39:52 +0200	[thread overview]
Message-ID: <20130128133952.GC15108@redhat.com> (raw)
In-Reply-To: <51067E38.7040000@redhat.com>

On Mon, Jan 28, 2013 at 02:33:44PM +0100, Paolo Bonzini wrote:
> Il 28/01/2013 14:36, Michael S. Tsirkin ha scritto:
> > On Mon, Jan 28, 2013 at 02:29:23PM +0100, Paolo Bonzini wrote:
> >> Il 28/01/2013 14:11, Michael S. Tsirkin ha scritto:
> >>>> I asked for a standalone device because the configuration mechanism
> >>>> (configfs vs. command-line) and the feature set are completely
> >>>> different.  Unlike virtio-net, it's not possible to switch one to the
> >>>> other at run time.
> >>>
> >>> Exactly the same applies to any other frontend option.
> >>> For example if you have two qemu instances with
> >>> different num_queues values you can not migrate one
> >>> to the other.
> >>> So in this sense it is not different from any other
> >>> frontend option, right?
> >>
> >> Indeed, in this sense it is not.
> >>
> >> Actually in this case migrating one to the other could succeed, and make
> >> all disks disappear on the destination (because of the different
> >> configuration mechanism).  That however could be overcome with vhost=on
> >> registering a migration blocker.
> > 
> > Or better add a subsection if vhost is set: vhost=on to vhost=on
> > can migrate, right?
> 
> I think it's not yet supported by the kernel.  You have no guarantee
> that I/O is quiescent at the time the VM starts on the destination.
> You'd need a ioctl to do the equivalent of bdrv_drain_all().
> 
> Once you have that, a subsection would do the job, yes.
> 
> Paolo

OK once that's in it would be easy to probe for.

> >> I won't really block the patch with the vhost=on/off frontend option if
> >> it is properly done (e.g. the QEMU SCSI bus should not be created for
> >> vhost=on) and minimally invasive to the non-vhost code.
> >>
> >> Paolo

  reply	other threads:[~2013-01-28 13:39 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07  6:48 [PATCH 0/5] vhost-scsi: Add support for host virtualized target Nicholas A. Bellinger
2012-09-07  6:48 ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07  6:48 ` [PATCH 1/5] monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param Nicholas A. Bellinger
2012-09-07  6:48   ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07  6:48 ` Nicholas A. Bellinger
2012-09-07  6:48 ` [PATCH 2/5] vhost: Pass device path to vhost_dev_init() Nicholas A. Bellinger
2012-09-07  6:48 ` Nicholas A. Bellinger
2012-09-07  6:48   ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07  6:48 ` [PATCH 3/5] vhost-scsi: add -vhost-scsi host device for use with tcm-vhost Nicholas A. Bellinger
2012-09-07  6:48   ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07  6:48 ` Nicholas A. Bellinger
2012-09-07  6:48 ` [PATCH 4/5] virtio-scsi: Add start/stop functionality for vhost-scsi Nicholas A. Bellinger
2012-09-07  6:48   ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07 16:00   ` Paolo Bonzini
2012-09-07 16:00     ` [Qemu-devel] " Paolo Bonzini
2012-09-07 19:23     ` Nicholas A. Bellinger
2012-09-07 19:23       ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07 20:30       ` Paolo Bonzini
2012-09-07 20:30         ` [Qemu-devel] " Paolo Bonzini
2012-09-07 20:30       ` Paolo Bonzini
2012-09-08 22:40     ` Michael S. Tsirkin
2012-09-08 22:40       ` [Qemu-devel] " Michael S. Tsirkin
2012-09-10  6:16       ` Paolo Bonzini
2012-09-10  6:16         ` [Qemu-devel] " Paolo Bonzini
2012-09-10  6:24         ` Michael S. Tsirkin
2012-09-10  6:24           ` [Qemu-devel] " Michael S. Tsirkin
2012-09-10  6:42           ` Paolo Bonzini
2012-09-10  6:42             ` [Qemu-devel] " Paolo Bonzini
2012-09-10  6:49             ` Michael S. Tsirkin
2012-09-10  6:49               ` [Qemu-devel] " Michael S. Tsirkin
2012-09-10  6:42           ` Paolo Bonzini
2012-09-11 13:46           ` Anthony Liguori
2012-09-11 13:46             ` [Qemu-devel] " Anthony Liguori
2012-09-11 15:07             ` Michael S. Tsirkin
2012-09-11 15:07               ` [Qemu-devel] " Michael S. Tsirkin
2012-09-13 22:27               ` Nicholas A. Bellinger
2012-09-13 22:27                 ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-14  6:45                 ` Paolo Bonzini
2012-09-14  6:45                   ` [Qemu-devel] " Paolo Bonzini
2012-09-14 12:34                   ` Michael S. Tsirkin
2012-09-14 12:34                     ` [Qemu-devel] " Michael S. Tsirkin
2012-09-13 22:27               ` Nicholas A. Bellinger
2012-09-14 12:50             ` Michael S. Tsirkin
2012-09-14 12:50               ` [Qemu-devel] " Michael S. Tsirkin
2012-09-11 13:46           ` Anthony Liguori
2012-09-07  6:48 ` Nicholas A. Bellinger
2012-09-07  6:48 ` [PATCH 5/5] virtio-scsi: Set max_target=0 during vhost-scsi operation Nicholas A. Bellinger
2012-09-07  6:48   ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-07  6:48 ` Nicholas A. Bellinger
2012-09-11  4:36 ` [PATCH 0/5] vhost-scsi: Add support for host virtualized target Asias He
2012-09-11  4:36   ` [Qemu-devel] " Asias He
2012-09-13 20:12   ` Nicholas A. Bellinger
2012-09-13 20:12     ` [Qemu-devel] " Nicholas A. Bellinger
2012-09-14  8:21     ` Paolo Bonzini
2012-09-14  8:21       ` [Qemu-devel] " Paolo Bonzini
2012-09-13 20:12   ` Nicholas A. Bellinger
2013-01-17 16:43 ` Michael S. Tsirkin
2013-01-17 16:43   ` [Qemu-devel] " Michael S. Tsirkin
2013-01-17 21:07   ` Nicholas A. Bellinger
2013-01-17 21:07   ` Nicholas A. Bellinger
2013-01-17 21:07     ` [Qemu-devel] " Nicholas A. Bellinger
2013-01-21  8:50     ` Michael S. Tsirkin
2013-01-21  8:50       ` [Qemu-devel] " Michael S. Tsirkin
2013-01-28 13:01       ` Paolo Bonzini
2013-01-28 13:11         ` Michael S. Tsirkin
2013-01-28 13:29           ` Paolo Bonzini
2013-01-28 13:36             ` Michael S. Tsirkin
2013-01-28 13:33               ` Paolo Bonzini
2013-01-28 13:39                 ` Michael S. Tsirkin [this message]
2013-01-29 19:19                   ` Nicholas A. Bellinger
2013-01-29 21:03                     ` Paolo Bonzini
2013-01-29 22:38                       ` Nicholas A. Bellinger
2013-01-29 22:38                       ` Nicholas A. Bellinger
2013-01-29 21:03                     ` Paolo Bonzini
2013-01-29 19:19                   ` Nicholas A. Bellinger
2013-01-21 13:28     ` Anthony Liguori
2013-01-17 16:43 ` Michael S. Tsirkin
2013-04-02  3:28 ` [Qemu-devel] " Wenchao Xia
2013-04-02  3:28   ` Wenchao Xia
2013-04-02  5:07   ` Nicholas A. Bellinger
2013-04-02  5:07   ` Nicholas A. Bellinger
2013-04-02  5:07     ` Nicholas A. Bellinger
2013-04-02  3:28 ` Wenchao Xia
  -- strict thread matches above, loose matches on Subject: below --
2012-09-07  6:48 Nicholas A. Bellinger

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=20130128133952.GC15108@redhat.com \
    --to=mst@redhat.com \
    --cc=aliguori@linux.vnet.ibm.com \
    --cc=hch@lst.de \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@linux.vnet.ibm.com \
    --cc=target-devel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wuzhy@cn.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.