public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* migration fails with virtio-blk
@ 2010-05-10  9:49 Michael Tokarev
  2010-05-10 18:34 ` Michael Tokarev
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2010-05-10  9:49 UTC (permalink / raw)
  To: KVM list

Apparently there's an issue with migration when
virtio-blk is in use at the time migration occurs.

See Debian bug #580649 for details:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649

In short: 2.6.26 (guest) + 0.12.3 + virtio-blk fails.
2.6.32 guest works, 0.11 works, non-virtio-blk works.

Debian qemu-kvm is compiled without --enable-iothread -
JFYI.

The bugreport contains a backtrace taken from guest.

Now, one can say it's a bug in 2.6.26 kernel, which
is quite old.  But the problem does not occur with
qemu-kvm-0.11, so it might be treated as a regression
instead.

Thanks!

/mjt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: migration fails with virtio-blk
  2010-05-10  9:49 migration fails with virtio-blk Michael Tokarev
@ 2010-05-10 18:34 ` Michael Tokarev
  2010-05-10 18:38   ` Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2010-05-10 18:34 UTC (permalink / raw)
  To: KVM list

10.05.2010 13:49, Michael Tokarev пишет:
> Apparently there's an issue with migration when
> virtio-blk is in use at the time migration occurs.
>
> See Debian bug #580649 for details:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649
>
> In short: 2.6.26 (guest) + 0.12.3 + virtio-blk fails.
> 2.6.32 guest works, 0.11 works, non-virtio-blk works.

It looks like a problem reported on qemu-devel
list should fix the issue here:
http://marc.info/?l=qemu-devel&m=127350821419989

Testing...  It wont be fast because I want to hear
from the OP.

Thanks!

/mjt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: migration fails with virtio-blk
  2010-05-10 18:34 ` Michael Tokarev
@ 2010-05-10 18:38   ` Anthony Liguori
  2010-05-10 18:57     ` Michael Tokarev
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2010-05-10 18:38 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: KVM list

On 05/10/2010 01:34 PM, Michael Tokarev wrote:
> 10.05.2010 13:49, Michael Tokarev пишет:
>> Apparently there's an issue with migration when
>> virtio-blk is in use at the time migration occurs.
>>
>> See Debian bug #580649 for details:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580649
>>
>> In short: 2.6.26 (guest) + 0.12.3 + virtio-blk fails.
>> 2.6.32 guest works, 0.11 works, non-virtio-blk works.
>
> It looks like a problem reported on qemu-devel
> list should fix the issue here:
> http://marc.info/?l=qemu-devel&m=127350821419989

Can't be, that's a vhost patch and 0.12.3 doesn't support vhost.

Regards,

Anthony Liguori

> Testing...  It wont be fast because I want to hear
> from the OP.
>
> Thanks!
>
> /mjt
> -- 
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: migration fails with virtio-blk
  2010-05-10 18:38   ` Anthony Liguori
@ 2010-05-10 18:57     ` Michael Tokarev
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2010-05-10 18:57 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: KVM list

10.05.2010 22:38, Anthony Liguori wrote:
> On 05/10/2010 01:34 PM, Michael Tokarev wrote:
>>> In short: 2.6.26 (guest) + 0.12.3 + virtio-blk fails.
>>> 2.6.32 guest works, 0.11 works, non-virtio-blk works.
>>
>> It looks like a problem reported on qemu-devel
>> list should fix the issue here:
>> http://marc.info/?l=qemu-devel&m=127350821419989
>
> Can't be, that's a vhost patch and 0.12.3 doesn't support vhost.

Well, that was really close. qemu-kvm-0.12 has the
following code in that place:

      vdev->features = features;

the patch mentioned has this:

+    if (vdev->set_features)
+        vdev->set_features(vdev, features);

so basically kvm had the same code here,
just not wrapped into a function ;)

And sure thing you're right, it does not help any. :)

Thanks!

/mjt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-10 19:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10  9:49 migration fails with virtio-blk Michael Tokarev
2010-05-10 18:34 ` Michael Tokarev
2010-05-10 18:38   ` Anthony Liguori
2010-05-10 18:57     ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox