qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Krempa <pkrempa@redhat.com>
To: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
Cc: stefan hajnoczi <stefanha@gmail.com>,
	libvir-list@redhat.com, xieyongji@baidu.com, spdk@lists.01.org,
	qemu-devel@nongnu.org, lilin24@baidu.com
Subject: Re: [Qemu-devel] [libvirt] Qemu migration with vhost-user-blk on top of local storage
Date: Wed, 9 Jan 2019 15:13:37 +0100	[thread overview]
Message-ID: <20190109141337.GG3382@angien.pipo.sk> (raw)
In-Reply-To: <234daa90.3dc4b.16832c82ae0.Coremail.wuzhouhui14@mails.ucas.ac.cn>

[-- Attachment #1: Type: text/plain, Size: 1742 bytes --]

On Wed, Jan 09, 2019 at 21:23:25 +0800, wuzhouhui wrote:
> > -----Original Messages-----
> > From: "Stefan Hajnoczi" <stefanha@gmail.com>
> > Sent Time: 2019-01-09 20:42:58 (Wednesday)
> > To: wuzhouhui <wuzhouhui14@mails.ucas.ac.cn>
> > Cc: qemu-devel@nongnu.org, xieyongji@baidu.com, lilin24@baidu.com, libvir-list@redhat.com, spdk@lists.01.org
> > Subject: Re: [Qemu-devel] Qemu migration with vhost-user-blk on top of local storage
> > 
> > On Wed, Jan 09, 2019 at 06:23:42PM +0800, wuzhouhui wrote:
> > > Hi everyone,
> > > 
> > > I'm working qemu with vhost target (e.g. spdk), and I attempt to migrate VM with
> > > 2 local storages. One local storage is a regular file, e.g. /tmp/c74.qcow2, and
> > > the other is a malloc bdev that spdk created. This malloc bdev will exported to
> > > VM via vhost-user-blk. When I execute following command:
> > > 
> > >   virsh migrate --live --persistent --unsafe --undefinesource --copy-storage-all \
> > >      --p2p --auto-converge --verbose --desturi qemu+tcp://<uri>/system vm0
> > > 
> > > The libvirt reports:
> > > 
> > >   qemu-2.12.1: error: internal error: unable to execute QEMU command \
> > >     'nbd-server-add': Cannot find device=drive-virtio-disk1 nor \
> > >     node_name=drive-virtio-disk1
> > 
> > Please post your libvirt domain XML.
> 
> My libvirt is based on libvirt-1.1.1-29.el7, and add many patches to satisfy our
> own needs, e.g. add support for vhost-user-blk. Post domain xml may not useful.

So you added support for vhost-user-blk, but did not fix the
NBD migration code. You are on your own, sorry. We can't support
arbitrary downstream changes.

Please either upstream your patches or make sure to skip it for
vhost-user.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-01-09 14:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 10:23 [Qemu-devel] Qemu migration with vhost-user-blk on top of local storage wuzhouhui
2019-01-09 12:42 ` Stefan Hajnoczi
2019-01-09 13:23   ` wuzhouhui
2019-01-09 14:13     ` Peter Krempa [this message]
2019-01-09 16:19     ` [Qemu-devel] [SPDK] " Wodkowski, PawelX
2019-01-10  1:04       ` wuzhouhui

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=20190109141337.GG3382@angien.pipo.sk \
    --to=pkrempa@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=lilin24@baidu.com \
    --cc=qemu-devel@nongnu.org \
    --cc=spdk@lists.01.org \
    --cc=stefanha@gmail.com \
    --cc=wuzhouhui14@mails.ucas.ac.cn \
    --cc=xieyongji@baidu.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).