Page MenuHomeFreeBSD

bhyve snapshot fix for AMD CPUs
ClosedPublic

Authored by mihaiburcea15_gmail.com on Dec 14 2021, 9:22 AM.
Tags
Referenced Files
Unknown Object (File)
Mon, Apr 22, 3:29 AM
Unknown Object (File)
Feb 11 2024, 9:18 PM
Unknown Object (File)
Dec 21 2023, 3:59 PM
Unknown Object (File)
Dec 20 2023, 4:17 AM
Unknown Object (File)
Dec 10 2023, 10:59 PM
Unknown Object (File)
Nov 10 2023, 5:37 PM
Unknown Object (File)
Nov 10 2023, 8:58 AM
Unknown Object (File)
Nov 8 2023, 9:00 AM

Details

Summary

This patch fixes the AMD implementation for snapshotting.
It removes unnecessary vmcb fields that should not be saved and duplicates.

This patch was applied on top of 0630a06b2ab013ba6a877871eafde1889251ebdb.

Test Plan

The patch was tested on AMD Ryzen 1600 AF.
For testing, we started a virtual machine that executed an infinite loop and saved its state using bhyvectl --suspend=file.ckp --vm=guest_vm.
Then, we restored its state using bhyve ... -r file.ckp guest_vm.

More information about save and restore can be found at this link: https://github.com/FreeBSD-UPB/freebsd-src/wiki/Save-and-Restore-a-virtual-machine-using-bhyve

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable