From nobody Mon Apr 15 14:05:36 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 4VJ88K0qJCz5GfdH; Mon, 15 Apr 2024 14:05:37 +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 4VJ88J6TCkz4WMS; Mon, 15 Apr 2024 14:05:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713189936; 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=CWtdVI95IYfwbhqqHNvBKay+c0/C6TiBQ8GmRIFPf5w=; b=D/myBkGqv0SgCcW+najOBzz5F/EeGp6EhFgYGcvfhD3/Gjs77M5cQc3kXkDrQVXMFt54HQ Mks3Jywv9ITjMivsQIii85nQxZZHNe0uXAK/2VYfHNBgPQzbP8eoXo32CudNbXZ/G9uZv3 zIlZhzUuNj77xb++rCSAXV5tiV7kEC8HFvzNr4F0n5sMvt9f9O04uuVgMj0uRRlORsHIl6 dJwfX7HkmGGCJ5EDtMvHUf4KkJffaZpnpqKkEFHZ2WdxBUM6obMGfL2kGndzE9kwS/WYmn TlUoQrazJgvsg6jNJ7jt4CTWpkq8XOFYH60TdpHehGm4bcwgdvuuJxexQWj4zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713189936; a=rsa-sha256; cv=none; b=OM6ZFsRgrLc7T2E3VCwoyr5IgJ21RLDkBB9wb87wOp5j0V8ID95gOg20GMzMR7LvDfEjmQ cR0fbUiZN3KP+kT2J3M1cR/jmd6zdy01AP9pCdkFrJcu/QS4amJw/aCaY4JRL+VRtFVv9d sip1LVZoXPofQRuYDEPsfkuygrs0KpYKKQCOyAfV/tvgFiEbaCG0yAJOU9RzznjE3Q1hEQ Tt5GpxFfWxM6/o0jVJnHyiBxn7QZFY+j/DC0dNLx+UM/alHMn7H+UnDqcLav/YBZ8LNtsd mOvCgET+WhnsB37+s5QPpWFMxcCYzC4LhLDS6GCZNmzjdDbvC0XQsTQRfoCnPw== 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=1713189936; 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=CWtdVI95IYfwbhqqHNvBKay+c0/C6TiBQ8GmRIFPf5w=; b=Gxspps9YfS3LWD5nrb4dpMTqD+rCVZdAICODPGGs543SjHr3KpnGKHy7enH18G3OuD6eNQ Fsmu05moTNOle1y5bzUoNPutpwD9q+K8uSGeSx9bw4CGcqa2FgfZHAkw5ASuCehEZ9xYXR 23w3wL0w4qzF17rxnHLuTKuFxw99bZ7zp08yLSg+ZFssjkdyxmk9UK2uWPmpkeW8L1tA+q TM9eu3z5+RkzUevYhnNRyqZN0yLL556/Vbu6UgPSEv7YNtarXR1b5qHuExgKZYeVFFOrRW IUq7tXoienJR+yVvlUkXeVAQ9lcezNak6rgNFq+3B2AJnEsoCUelxWlHK3KZrA== 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 4VJ88J65clz12JK; Mon, 15 Apr 2024 14:05:36 +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 43FE5aGJ070248; Mon, 15 Apr 2024 14:05:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43FE5aid070245; Mon, 15 Apr 2024 14:05:36 GMT (envelope-from git) Date: Mon, 15 Apr 2024 14:05:36 GMT Message-Id: <202404151405.43FE5aid070245@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: f26c227c421f - stable/14 - 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: 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/stable/14 X-Git-Reftype: branch X-Git-Commit: f26c227c421f783c23ad2878719623e2861459f3 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f26c227c421f783c23ad2878719623e2861459f3 commit f26c227c421f783c23ad2878719623e2861459f3 Author: Rob Norris AuthorDate: 2024-04-08 13:08:20 +0000 Commit: Mark Johnston CommitDate: 2024-04-15 14:05:13 +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 (cherry picked from commit b6c7ff583fdb11bf611d58022aea15461c6158e9) --- lib/libvmmapi/vmmapi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c index d1470a4aed6e..e053950a2c5f 100644 --- a/lib/libvmmapi/vmmapi.c +++ b/lib/libvmmapi/vmmapi.c @@ -918,6 +918,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