From nobody Tue Dec 03 21:40:09 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2vFk0r0tz5gp0S; Tue, 03 Dec 2024 21:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2vFk07Q5z4wZS; Tue, 3 Dec 2024 21:40:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733262010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mscKWQd12sjFjiuSRXN9Hk1vdeeSqhX+iYqG4LXfRoM=; b=G9+260CR3QGdQ/FHB1SyhrOT7mQszFwpJ4R51s71l92ZXJSp1so6UNOtrdDQrtr9ecnDtQ UkJBU4IaGBt6vIywmPoHX0WyTD3lJiWlU7dDvFo8gSvQ3U0Hu5/e6GXxvYJMxqGRYFWH9T q8IveZ5IcNPRWFsyJQpO2DCVJsdezc0fAcaORglGLOW3C9/bUa/Do5q0STpKTlb/WcK+B9 h/xeAhHxlSDmRW7/Q6VM9P3h3UReROb3GVBZRRSIoWODs2bwXdrQSjdEIDl/dwbLxGYUsA 6LjQqQRn8zwIUla+e78pxs7ISySE9eMTlK39OmNZBz3NjARIU08ijdC+7Uidqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733262010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mscKWQd12sjFjiuSRXN9Hk1vdeeSqhX+iYqG4LXfRoM=; b=kcSE/1ZRv/DfP4Whu3n5SUbNYm/9SBSUsvt8wahdnKs2IJMsvScpCmHdKwnlS3fCREkHPO UofwpHtYTZryLGZGHkV0p/M/jskdXb76r7tZOS3cHtRIfhhQK2V59jLXTp0KGK2A0pz1UI 7hjITzTNDapExG9R2E39805DS9X/FvTnbQiDNbQx9CBLYJSNX18RXyg3TiksMDKjk1XazZ wUHCBN8+vzWFiUjr5x/7EVPWGRdIFLsr0abuOLWK3zK4i9t0YA6tkD7TxY3p3Wh3j8J9vq 2iq8P1TuU50Hp1YglfyUghTG7DOXVX0dldQe5oH2xVKzr+4KP23DpUeNMzRHtQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733262010; a=rsa-sha256; cv=none; b=sD4RsJmb9xcWmj2hNNgTQgSru6n7c1tVHBMWinCO+XOObjpnDBlD+sdiF8HBtiyJFbXzeS jIShI+8ULyaCharllnqRgEsmPtdZZ1avebB/MwzBW0nXDxlkDh0cqbDckx7K78kTU2gpLK D7BHOsGOJHaJN+srPl3psEEX29HRyirt2gBTLXQON5LRhZcT97DKdGSTDZVlE530wrFNCz Um0bgnkDd4GmOSORHf9NlT/vAWuUWgYEtMuhbsUrnM4qtkowKVFSyb0KSuxrIJXCTB0Z1m QWf3JoTaPf1BZyDPYfmakBB+NMHPfVOuiDWL18FZpYsxlsJQ8e8BSFOoUKUOyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y2vFj6Zt8zfnl; Tue, 3 Dec 2024 21:40:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B3Le9Pk033770; Tue, 3 Dec 2024 21:40:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B3Le91a033765; Tue, 3 Dec 2024 21:40:09 GMT (envelope-from git) Date: Tue, 3 Dec 2024 21:40:09 GMT Message-Id: <202412032140.4B3Le91a033765@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 931d6a8f7bd6 - main - amd64/vmm: Add svm_modsuspend to the vmm_ops_amd table List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 931d6a8f7bd6cfdb0edcc582dfbf6f9a7c45a812 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=931d6a8f7bd6cfdb0edcc582dfbf6f9a7c45a812 commit 931d6a8f7bd6cfdb0edcc582dfbf6f9a7c45a812 Author: Mark Johnston AuthorDate: 2024-12-03 21:36:13 +0000 Commit: Mark Johnston 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,