git: b6c7ff583fdb - main - libvmmapi: add missing capability strings

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 13:14:35 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=b6c7ff583fdb11bf611d58022aea15461c6158e9

commit b6c7ff583fdb11bf611d58022aea15461c6158e9
Author:     Rob Norris <robn@despairlabs.com>
AuthorDate: 2024-04-08 13:08:20 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-04-08 13:08:59 +0000

    libvmmapi: add missing capability strings
    
    Signed-off-by: Rob Norris <robn@despairlabs.com>
    
    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