]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user-blk: support inter-host inflight migration
authorAlexandr Moshkov <dtalexundeer@yandex-team.ru>
Thu, 15 Jan 2026 08:11:09 +0000 (13:11 +0500)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Feb 2026 10:06:46 +0000 (05:06 -0500)
commit3dfd711ea9eeda8a0b44f73a65e19f3c1f7d428d
tree0cca2a3f879ece215f30bb5653a961944e0f61ea
parent3a80ff0721b641f9c70af0d416c5c9e171c29aa3
vhost-user-blk: support inter-host inflight migration

During inter-host migration, waiting for disk requests to be drained
in the vhost-user backend can incur significant downtime.

This can be avoided if QEMU migrates the inflight region in
vhost-user-blk.
Thus, during the qemu migration, with feature flag the vhost-user
back-end can immediately stop vrings, so all in-flight requests will be
migrated to another host.

Signed-off-by: Alexandr Moshkov <dtalexundeer@yandex-team.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Raphael Norwitz <raphael.s.norwitz@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20260115081103.655749-6-dtalexundeer@yandex-team.ru>
hw/block/vhost-user-blk.c
include/hw/virtio/vhost-user-blk.h
include/hw/virtio/vhost.h