Re: BHYVE_SNAPSHOT

2023-05-02 Thread Matthew Grooms
On 5/2/23 14:25, Rob Wing wrote: For future reference, if UPB does another project - might be worth trying to seek out a FreeBSD mentor that could guide the students and be willing to usher the changes in, not unlike a GSOC project. Good idea. That would be wonderful. -Matthew

Re: BHYVE_SNAPSHOT

2023-05-02 Thread Rob Wing
On Mon, May 1, 2023 at 10:16 PM Matthew Grooms wrote: > Yup. See above. I appreciate your input, but the goal of live migration > was set in 2016 with a prototype first demonstrated in 2018. How long do > you suggest a developer wait without review feedback before moving forward > out of tree? >

Re: BHYVE_SNAPSHOT

2023-05-02 Thread Vitaliy Gusev
> On 2 May 2023, at 18:38, Rob Wing wrote: > > Do you plan on saving the guest memory into the nvlist? If I have VM with 8 > gigs of memory, will the nvlist implementation allocate 8 gigs of memory for > the nvlist then write it out to disk? Or..? > > All the bullet points look good to me. >

Re: BHYVE_SNAPSHOT

2023-05-02 Thread Rob Wing
On Tue, May 2, 2023 at 3:00 AM Vitaliy Gusev wrote: > Just add some plans for me: > > 1. Describe snapshot file format: One file for snapshot. > > 2. Implement snapshot/resume via nvlist. > >*nvlist* implementation brings: > > >- Versioning >- Easy debugging, getting saved values, e

Re: BHYVE_SNAPSHOT

2023-05-02 Thread Vitaliy Gusev
Just add some plans for me: 1. Describe snapshot file format: One file for snapshot. 2. Implement snapshot/resume via nvlist. nvlist implementation brings: Versioning Easy debugging, getting saved values, etc. Validate restored variables: types, sized, etc. Add optional variables without b

Re: BHYVE_SNAPSHOT

2023-05-02 Thread Corvin Köhne
On Tue, 2023-05-02 at 01:16 -0500, Matthew Grooms wrote: > On 4/30/23 21:31, Rob Wing wrote: > >  Hey Matthew, > > > > On Sun, Apr 30, 2023 at 1:41 PM Matthew Grooms > > wrote: > > > > > >  Would you like to see support for VM snapshots in the generic > > > kernel? > > > > Is there a review ope