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
F102111939: D34720.diff
Thu, Nov 7, 6:30 PM
Unknown Object (File)
Mon, Nov 4, 1:27 PM
Unknown Object (File)
Sun, Nov 3, 12:45 PM
Unknown Object (File)
Thu, Oct 31, 4:56 PM
Unknown Object (File)
Sun, Oct 27, 10:24 AM
Unknown Object (File)
Wed, Oct 16, 3:27 AM
Unknown Object (File)
Mon, Oct 14, 3:13 PM
Unknown Object (File)
Sun, Oct 13, 8:59 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.