git: f26c227c421f - stable/14 - libvmmapi: add missing capability strings

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 15 Apr 2024 14:05:36 UTC
The branch stable/14 has been updated by markj:

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

commit f26c227c421f783c23ad2878719623e2861459f3
Author:     Rob Norris <robn@despairlabs.com>
AuthorDate: 2024-04-08 13:08:20 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-04-15 14:05:13 +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
    
    (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