All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] How live migration work for vhost-user
@ 2019-04-15  8:50 fengyd
  2019-04-15 14:53 ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 9+ messages in thread
From: fengyd @ 2019-04-15  8:50 UTC (permalink / raw)
  To: qemu-devel

Hi,

During live migration,  the folloing log can see in nova-compute.log in my
environment:
 ERROR nova.virt.libvirt.driver [req-039a85e1-e7a1-4a63-bc6d-c4b9a044aab6
0cdab20dc79f4bc6ae5790e7b4a898ac 3363c319773549178acc67f32c78310e - default
default] [instance: 5ec719f4-1865-4afe-a207-3d9fae22c410] Live Migration
failure: internal error: qemu unexpectedly closed the monitor:
2019-04-15T02:58:22.213897Z qemu-kvm: VQ 0
size 0x100 < last_avail_idx 0x1e - used_idx 0x23

It's OK for standard Linux VM, but not OK for our VM where virtio is
implemented by ourself.
KVM version as follow:
qemu-kvm-common-ev-2.12.0-18.el7_6.3.1.x86_64
qemu-kvm-ev-2.12.0-18.el7_6.3.1.x86_64
libvirt-daemon-kvm-3.9.0-14.2.el7.centos.ncir.8.x86_64

Do you know what's the difference between virtio and vhost-user during
migration?
The function virtio_load in Qemu is called for virtio and vhost-user during
migration.
For virtio,  last_avail_idx  and used_idx are stored in Qemu, Qemu is
responsible for updating their values accordingly
For vhost-user, last_avail_idx  and used_idx are stored in vhost-user app,
eg. DPDK, not in Qemu?
How does migration work for vhost-user?

Thanks in advance
Yafeng

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

end of thread, other threads:[~2019-05-08  4:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15  8:50 [Qemu-devel] How live migration work for vhost-user fengyd
2019-04-15 14:53 ` Dr. David Alan Gilbert
     [not found]   ` <CACnvu8a5DjAUhfAGmi6GtpD1V2hfoNLTkKEgbsFuL_6GrRc+pg@mail.gmail.com>
2019-04-16  7:59     ` [Qemu-devel] Fwd: " fengyd
2019-04-16  8:47       ` Dr. David Alan Gilbert
2019-04-23  6:20         ` fengyd
2019-04-24  3:14           ` fengyd
2019-04-29 16:22             ` Dr. David Alan Gilbert
     [not found]               ` <CACnvu8bBykwoSHOAwTa0L_FD3kF=i+KW+H1MZk-x3xu1tV9gkw@mail.gmail.com>
2019-05-08  4:50                 ` [Qemu-devel] Fwd: " fengyd
2019-04-29 16:15           ` [Qemu-devel] " Dr. David Alan Gilbert

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.