From nobody Mon Apr 08 13:14:35 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 4VCqLg5N9pz5H1ZH; Mon, 8 Apr 2024 13:14:35 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VCqLg3C9fz4qZc; Mon, 8 Apr 2024 13:14:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712582075; 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=bv75fRjp74hCEOE7DFFuwQ1ocfV+0+g3r5NzErwJDgY=; b=mLMcOVurCnCrCGZPlitGQEbBhhXOM3MZCi6hM52x4chhpR5HRNyK9mczIgoWynn2uho/yH szm38u97RrCD2XgD9FVKQ2HevCGsefH4gBrXOorycpWWV1vBbrdxibSV2tzT2v4gxUHtUm 53NgS2nsyOJ1R9QLvEkvvoUmB061KtSmAlCmbEyCAyy7xAo2jspnqnvvnCK9kV0GrFAUKy Z6mt4rY6qUpZFYy7LQbeu4pNSTbPcNhHZjpQMq4PJeR3RRBjA6gmENYYMCXe4LY8C9D9Pv fXEJUL1qiv5AOw5FUWWfvBRgWGAx0kYV3t+tcvSxToPY37UO9Ct8ojHkBL7khQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712582075; a=rsa-sha256; cv=none; b=R1ZQl90TlOdTfUDE2xXF/OnWD3YipmbpQiVFI5Rn/WUaJbapYmg7y4nOBpA9xULWFp4QFP jFv2JVUqvYSS5rHDynNbTgQSubWFa+kGJ/Sz3xDu8/OGXeKGI+HP3hIn/h8HUjhJw3HJdk aXyqAYY62QfVlgrjFSIxJxtp9wHsXRndvDN7b7c9VysM3vI9mehi3ixaZQkczjNEN6gctH UHPu6KyZ5RweouK52411M2PLO9YH+7XSefCzlFvehxB+mP7fsrHDTzczNBlYkIj3zUAx74 W3Ohipi7XT0+HP86skq6Q+INOqJ8AnqDVIHXXjxvlHQij8ubKf4kR2dDgCSiQg== 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=1712582075; 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=bv75fRjp74hCEOE7DFFuwQ1ocfV+0+g3r5NzErwJDgY=; b=GL5PIBqq3xCl4h1hmRhRStuLK2nipfEmzTJkuo1H4JWTMKDOPI1W8llUakWJyVDvwcV32y CdELn5gBjdYL9vFUNIIYZOYcqHr5NuC36aFUiFKszvOeM3yeQTb7/Q07fmASZ2M5zz9jxF fMHtwINUgjm20q0E4C9w6aGni6DyuRlNvLXzhhMtA9geBkdKCthxSrRQxcrcrHbT4g+gUX cSbyS4m8GxpBszWbrl9EGrVviAC54tBi2h7KJcVibGVA2S5wdq/NAM0SgO60Zft+/HM/ok QcC9BHBEyOGs+m5gcKcCDuUvsejGr+Y4Pg1xhuBn7bXOtcOvd5W0HMP28kUbRw== 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 4VCqLg2qS0z1C1T; Mon, 8 Apr 2024 13:14:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 438DEZKO001038; Mon, 8 Apr 2024 13:14:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 438DEZId001035; Mon, 8 Apr 2024 13:14:35 GMT (envelope-from git) Date: Mon, 8 Apr 2024 13:14:35 GMT Message-Id: <202404081314.438DEZId001035@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: b6c7ff583fdb - main - libvmmapi: add missing capability strings 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: 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: b6c7ff583fdb11bf611d58022aea15461c6158e9 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b6c7ff583fdb11bf611d58022aea15461c6158e9 commit b6c7ff583fdb11bf611d58022aea15461c6158e9 Author: Rob Norris AuthorDate: 2024-04-08 13:08:20 +0000 Commit: Mark Johnston CommitDate: 2024-04-08 13:08:59 +0000 libvmmapi: add missing capability strings Signed-off-by: Rob Norris Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44642 --- lib/libvmmapi/vmmapi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c index 1ab21e2f4de2..6527cfc48e0d 100644 --- a/lib/libvmmapi/vmmapi.c +++ b/lib/libvmmapi/vmmapi.c @@ -917,6 +917,11 @@ static const char *capstrmap[] = { [VM_CAP_UNRESTRICTED_GUEST] = "unrestricted_guest", [VM_CAP_ENABLE_INVPCID] = "enable_invpcid", [VM_CAP_BPT_EXIT] = "bpt_exit", + [VM_CAP_RDPID] = "rdpid", + [VM_CAP_RDTSCP] = "rdtscp", + [VM_CAP_IPI_EXIT] = "ipi_exit", + [VM_CAP_MASK_HWINTR] = "mask_hwintr", + [VM_CAP_RFLAGS_TF] = "rflags_tf", }; int