]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vmm: MTRR should be saved/restored
authorVitaliy Gusev <gusev.vitaliy@gmail.com>
Fri, 29 Dec 2023 18:03:20 +0000 (09:03 -0900)
committerRobert Wing <rew@FreeBSD.org>
Fri, 29 Dec 2023 18:03:20 +0000 (09:03 -0900)
commit683ea4d22bbcc892ac7c5bb996d1b134831dfdc3
treed282b55d29e8461ac94422243af1fba4a248c0e5
parentb831c7732c718a46642e6237fefcb5b29872e966
vmm: MTRR should be saved/restored

This fixes restoring a Linux VM if it was suspended while in the GRUB
menu.

Adding MTTR increases the kernel dump size by 256 bytes per vCPU.

Sponsored by:   vStack
Reviewed by:    markj, rew
Differential Revision:  https://reviews.freebsd.org/D43226
sys/amd64/vmm/amd/svm.c
sys/amd64/vmm/intel/vmx.c