Re: BHYVE_SNAPSHOT
- Reply: Vitaliy Gusev : "Re: BHYVE_SNAPSHOT"
- In reply to: Vitaliy Gusev : "Re: BHYVE_SNAPSHOT"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 15:38:15 UTC
On Tue, May 2, 2023 at 3:00 AM Vitaliy Gusev <gusev.vitaliy@gmail.com> 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, etc. > - Validate restored variables: types, sized, etc. > - Add optional variables without breaking backward compatibility > (resume can be performed with old snapshots) > - Remove variables without breaking backward compatibility > - Use one file for snapshot > - Improve restore command line: "bhyve -r $snapshot”, i.e. w/o > additional arguments > > 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. -Rob