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
Unknown Object (File)
Sun, Sep 1, 6:58 AM
Unknown Object (File)
Sat, Aug 17, 12:13 PM
Unknown Object (File)
Fri, Aug 16, 9:15 PM
Unknown Object (File)
Aug 8 2024, 7:13 PM
Unknown Object (File)
Aug 8 2024, 7:48 AM
Unknown Object (File)
Jul 31 2024, 2:00 AM
Unknown Object (File)
Jul 30 2024, 2:45 PM
Unknown Object (File)
Jul 30 2024, 1:12 PM

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.