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)
Mon, Apr 22, 6:48 AM
Unknown Object (File)
Wed, Apr 17, 2:51 PM
Unknown Object (File)
Mar 7 2024, 11:16 PM
Unknown Object (File)
Jan 29 2024, 10:15 AM
Unknown Object (File)
Dec 20 2023, 7:32 AM
Unknown Object (File)
Dec 11 2023, 12:27 AM
Unknown Object (File)
Nov 6 2023, 3:28 PM
Unknown Object (File)
Oct 5 2023, 2:27 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.