This part adds kernel structures migration.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
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.
Comment Actions
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.