-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
virtio-devices, vmm: vdpa: Implement live migration support
Vdpa now implements the Migratable trait, which allows the device to be added to the DeviceTree and therefore allows live migrating any vDPA device that supports being suspended. Given a vDPA device can't be resumed from a suspended state without having to reset everything, we don't support pause/resume for a vDPA device, as well as snapshot/restore (which requires resume to be supported). In order for the migration to work locally, reusing the same device on the same host machine, the vhost-vdpa handler is dropped after the snapshot has been performed, which allows the destination VM to open the device without any conflict about the device being busy. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
- Loading branch information
Sebastien Boeuf
committed
Oct 13, 2022
1 parent
340fd65
commit 099cdd2
Showing
2 changed files
with
205 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters