Skip to contentSkip to conversation

migration fails with virtio-blk

DISCUSSION Michael Tokarev 2 participants 4 messages May 10, 2010 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

10.05.2010 13:49, Michael Tokarev пишет:

Quoted 8 lines

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

#2 lore raw
Quoted 7 lines · Michael Tokarev

10.05.2010 13:49, Michael Tokarev пишет:

Quoted 6 lines

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

Quoted 6 lines
Quoted 2 lines

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

Quoted 10 lines

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

Thanks!

/mjt

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 9 lines · Anthony Liguori
Quoted 6 lines · Michael Tokarev
Quoted 2 lines

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