The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=931d6a8f7bd6cfdb0edcc582dfbf6f9a7c45a812
commit 931d6a8f7bd6cfdb0edcc582dfbf6f9a7c45a812 Author: Mark Johnston <[email protected]> AuthorDate: 2024-12-03 21:36:13 +0000 Commit: Mark Johnston <[email protected]> CommitDate: 2024-12-03 21:39:47 +0000 amd64/vmm: Add svm_modsuspend to the vmm_ops_amd table Fixes: 0b32ef71f9f1 ("vmm: Correctly suspend and resume the vmm driver.") Sponsored by: Klara, Inc. --- sys/amd64/vmm/amd/svm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/amd64/vmm/amd/svm.c b/sys/amd64/vmm/amd/svm.c index 2d40d3756f4a..ed37dd0c810e 100644 --- a/sys/amd64/vmm/amd/svm.c +++ b/sys/amd64/vmm/amd/svm.c @@ -280,8 +280,6 @@ svm_modinit(int ipinum) static void svm_modsuspend(void) { - - return; } static void @@ -2814,6 +2812,7 @@ const struct vmm_ops vmm_ops_amd = { .modinit = svm_modinit, .modcleanup = svm_modcleanup, .modresume = svm_modresume, + .modsuspend = svm_modsuspend, .init = svm_init, .run = svm_run, .cleanup = svm_cleanup,
