From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxG4K-0002JY-9O for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:38:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxG4A-0006QV-F3 for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:38:28 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:33638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxG4A-0006QH-9T for qemu-devel@nongnu.org; Wed, 18 Jun 2014 09:38:18 -0400 Received: by mail-qa0-f45.google.com with SMTP id v10so684075qac.4 for ; Wed, 18 Jun 2014 06:38:17 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140618123521.GA31764@redhat.com> References: <20140618093334.GA12677@redhat.com> <20140618112958.GA13198@redhat.com> <20140618123521.GA31764@redhat.com> From: Nikolay Nikolaev Date: Wed, 18 Jun 2014 16:37:57 +0300 Message-ID: Content-Type: multipart/alternative; boundary=001a113acfb276469004fc1c5f06 Subject: Re: [Qemu-devel] vhost-user: migration? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Igor Mammedov , qemu-devel , Antonios Motakis --001a113acfb276469004fc1c5f06 Content-Type: text/plain; charset=UTF-8 On Wed, Jun 18, 2014 at 3:35 PM, Michael S. Tsirkin wrote: > On Wed, Jun 18, 2014 at 02:41:15PM +0300, Nikolay Nikolaev wrote: > > > > > > > > On Wed, Jun 18, 2014 at 2:29 PM, Michael S. Tsirkin > wrote: > > > > On Wed, Jun 18, 2014 at 02:24:32PM +0300, Nikolay Nikolaev wrote: > > > Hello, > > > > > > On Wed, Jun 18, 2014 at 12:33 PM, Michael S. Tsirkin < > mst@redhat.com> > > wrote: > > > > > > Just a query whether migration works for you > > > guys with vhost-user and snabbswitch. > > > > > > > > > I am not aware of anyone ever did such tests. > > > > > > > > > vhost user code seems to have enough hooks in > > > place to make it work, but was it tested > > > in practice? > > > > > > > > > > > > Can you give some pointers of a simple/quick test scenario. Maybe > we'll > > be able > > > to set it up. > > > > > > Basically migrate while doing networking :) > > > > Does your vhost server have code to set bits in the memory log > > when logging is enabled? > > > > > > No - we didn't implement this feature. > > Interesting. In that case vhost user should for now > block migration. > Any place in the source where we can see example of similar behaviour? > You must also check log feature and return failure. > Should this happen on the QEMU side? Is this the log feature of the device? regards, Nikolay Nikolaev > > > > > > The log address is supplied to VHOST_SET_LOG_BASE and log_guest_addr. > > > > > > > > > > > > > -- > > > MST > > > > > > > > > regards, > > > Nikolay Nikolaev > > > > > > regards, > > Nikolay Nikolaev > --001a113acfb276469004fc1c5f06 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Wed, Jun 18, 2014 at 3:35 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
On Wed, Jun 18, 2014 at 02:41:15PM +030= 0, Nikolay Nikolaev wrote:
>
>
>
> On Wed, Jun 18, 2014 at 2:29 PM, Michael S. Tsirkin <
mst@redhat.com> wrote:
>
> =C2=A0 =C2=A0 On Wed, Jun 18, 2014 at 02:24:32PM +0300, Nikolay Nikola= ev wrote:
> =C2=A0 =C2=A0 > Hello,
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > On Wed, Jun 18, 2014 at 12:33 PM, Michael S. Tsirki= n <mst@redhat.com>
> =C2=A0 =C2=A0 wrote:
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 Just a query whether migration works = for you
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 guys with vhost-user and snabbswitch.=
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > I am not aware of anyone ever did such tests.
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 vhost user code seems to have enough = hooks in
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 place to make it work, but was it tes= ted
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 in practice?
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > Can you give some pointers of a simple/quick test s= cenario. Maybe we'll
> =C2=A0 =C2=A0 be able
> =C2=A0 =C2=A0 > to set it up.
>
>
> =C2=A0 =C2=A0 Basically migrate while doing networking :)
>
> =C2=A0 =C2=A0 Does your vhost server have code to set bits in the memo= ry log
> =C2=A0 =C2=A0 when logging is enabled?
>
>
> No - we didn't implement this feature.

Interesting. In that case vhost user should for now
block migration.
You must also check log feature and return failure.


>
> =C2=A0 =C2=A0 The log address is supplied to VHOST_SET_LOG_BASE and lo= g_guest_addr.
>
>
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 --
> =C2=A0 =C2=A0 > =C2=A0 =C2=A0 MST
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 >
> =C2=A0 =C2=A0 > regards,
> =C2=A0 =C2=A0 > Nikolay Nikolaev
>
>
> regards,
> Nikolay Nikolaev

--001a113acfb276469004fc1c5f06--