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
F96237175: D34720.id123215.diff
Tue, Sep 24, 4:26 AM
Unknown Object (File)
Mon, Sep 16, 12:58 PM
Unknown Object (File)
Tue, Sep 10, 7:54 AM
Unknown Object (File)
Mon, Sep 9, 8:43 AM
Unknown Object (File)
Sun, Sep 1, 6:58 AM
Unknown Object (File)
Aug 17 2024, 12:13 PM
Unknown Object (File)
Aug 16 2024, 9:15 PM
Unknown Object (File)
Aug 8 2024, 7:13 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.