From nobody Sun Sep 1 14:09:41 2024 X-Original-To: dev-commits-src-all@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 4WxYft01bfz5VGqZ; Sun, 01 Sep 2024 14:09:42 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WxYfs6RPNz4Qfy; Sun, 1 Sep 2024 14:09:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725199781; 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=iWxAv0QwF4LvPi3vVaUr0gnACOrMIItv83G5z0SAWpA=; b=u+dIAJZiHP9UP8To4UjVWeR2d4JN2rF66iZE8hQpW1WmnWTBycZLOcPC8B0U8N8yPMnp9b /t3FCRxVsxZR41q8TehK7einDuJZVYL1hI+G/YikD22BSsyrqWapjKZ4exOntNLolrJf14 JjUzb3BsnvZ3xgMfrL/S29gRkDoNCvCt5Vvu0TY6D82zWMuJgiKpB4e2oTYnLiG3HvTRGL QCcPZ5AE0QN91tdgOr5w6iiTa+ef8PXQ+6s0u3Jc3ujD6CiWV+yXzb3utN1bj/JCT4bk6Q tj9D8N/3uRt4HSuU2VGVchjdF0z8o7dREf9jjFOzQrrK3K3GmbzAI0H44R8Hkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725199781; a=rsa-sha256; cv=none; b=M3L/wCJgerPJ81SOq6HxtFVGaeApoP1/9El2JScKNRk1H7HhGKQ66g+e6lqBEqbaQ/mSpF Zmqyy6ZusdHTHPj13kgznVjnZCE77X01qkFeb8EFE8t+9Lrl/IhcDHc9NK7t119nLqjA52 bVvcvPeEv7o9llKUaReWfEly9GEkta1g1yiGK4LcqPDen/92kP2m/omhGVJTZf+ykDOR1g Jtl+3xdQ0GS0IuQFFs8E5bsWRxaiYFJPOK8IYOPqTKv+W2EQHklIUp0QZE4Qxz9EjVkXJf yGvYHk8P8Adtkm/oHpuAKIwWZqQ8ecrNP6T/kgRcwLpQeAVarT49KFpbRFGEHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725199781; 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=iWxAv0QwF4LvPi3vVaUr0gnACOrMIItv83G5z0SAWpA=; b=SBEZbLRPNJ0+HkqJ0pmBlJLcH7hwSg56cR4HTLCcPoqoGSEuqw6ijYU22qudDqFmuEHsiV y8/IM9LtXJfZvhGTf+YmUce763Ku2M/tadshlbXlJ/JunnWWc1VtXznhsD7MEUZGCVmCtd 0NM2r09mHtrpH4xBzcdOZ9Upac0yRHBP3aAcHx+a/SZz0ohluSXJskt+uQtO/JokMLjtzI vGIDObhRitZrB+fsk4/D+AOH1FHtiJdGkPWyiRpvmXrHo0c/Mw++eWeTdB95QKXTrVRR6y rhHxeDQw3mL4Np/QuKJKMy+lh2trwTqL2CwrQRNHNkpaT7wx0BjWOp7x32oCUQ== 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 4WxYfs62pszXbK; Sun, 1 Sep 2024 14:09:41 +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 481E9fNx099597; Sun, 1 Sep 2024 14:09:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 481E9fhZ099594; Sun, 1 Sep 2024 14:09:41 GMT (envelope-from git) Date: Sun, 1 Sep 2024 14:09:41 GMT Message-Id: <202409011409.481E9fhZ099594@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: 133a513ddc9a - main - vmm: Make vmm_dev.h more self-contained List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 133a513ddc9aedf83489373f4af9971347bc6201 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=133a513ddc9aedf83489373f4af9971347bc6201 commit 133a513ddc9aedf83489373f4af9971347bc6201 Author: Mark Johnston AuthorDate: 2024-09-01 14:00:26 +0000 Commit: Mark Johnston CommitDate: 2024-09-01 14:03:15 +0000 vmm: Make vmm_dev.h more self-contained vmm.h is required for VM_MAX_SUFFIXLEN. vmm_snapshot.h is required for struct vm_snapshot_meta. This is a prerequisite for including vmm_dev.h in the headers parsed by libsysdecode. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D46485 --- sys/amd64/include/vmm_dev.h | 3 ++- sys/arm64/include/vmm_dev.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/amd64/include/vmm_dev.h b/sys/amd64/include/vmm_dev.h index 5f347e46b9c4..b77b0ef5d996 100644 --- a/sys/amd64/include/vmm_dev.h +++ b/sys/amd64/include/vmm_dev.h @@ -29,7 +29,8 @@ #ifndef _VMM_DEV_H_ #define _VMM_DEV_H_ -struct vm_snapshot_meta; +#include +#include struct vm_memmap { vm_paddr_t gpa; diff --git a/sys/arm64/include/vmm_dev.h b/sys/arm64/include/vmm_dev.h index 08c237d31046..938bea47c7f8 100644 --- a/sys/arm64/include/vmm_dev.h +++ b/sys/arm64/include/vmm_dev.h @@ -27,6 +27,8 @@ #ifndef _VMM_DEV_H_ #define _VMM_DEV_H_ +#include + struct vm_memmap { vm_paddr_t gpa; int segid; /* memory segment */