Page MenuHomeFreeBSD

Warm Migration feature for bhyve [Part 4]
Needs ReviewPublic

Authored by mihaiburcea15_gmail.com on Mar 31 2022, 6:53 AM.
Tags
Referenced Files
F89365656: D34720.id122101.diff
Sat, Jul 27, 2:50 AM
Unknown Object (File)
Wed, Jul 3, 1:09 AM
Unknown Object (File)
Jun 27 2024, 1:10 AM
Unknown Object (File)
Jun 21 2024, 4:19 PM
Unknown Object (File)
Jun 4 2024, 11:24 PM
Unknown Object (File)
May 7 2024, 3:28 PM
Unknown Object (File)
May 3 2024, 11:57 PM
Unknown Object (File)
Apr 22 2024, 6:48 AM

Details

Reviewers
corvink
Group Reviewers
bhyve
Summary

This part adds kernel structures migration.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

elenamihailescu22_gmail.com changed the visibility from "All Users" to "Public (No Login Required)".Apr 1 2023, 5:00 AM

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

Sounds good. Could you point me to those patches, please?

There are some patches in flight for using a nvlist for snapshot/restore. Wouldn't it be better to use it for migration too?
So, the sender could send a nvlist which contains information about all sections like memory, kern_structs etc. After that, both (sender and reciever) can send/recv all sections mentioned in the nvlist.

Sounds good. Could you point me to those patches, please?

Unfortunately, there are currently no patches online. Just a proposal: https://lists.freebsd.org/archives/freebsd-virtualization/2023-May/001295.html. Nevertheless, I like the idea of sending a nvlist list as it's more flexible than your current approach.