[RFC PATCH v2 1/4] kvm: uapi: reserve VM-plane and VBS hypercall numbers

Sriram Nambakam <[email protected]>
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Reserve the paravirt hypercall numbers used by the KVM VM-planes and VBS
(Virtualization-Based Security) host support:

  13  KVM_HC_VM_PLANES_CONFIG    configure plane memory (serviced by the VMM)
  14  KVM_HC_VM_PLANES_ACTIVATE  create+activate a plane vCPU (serviced by VMM)
  15  KVM_HC_VBS_VTL_CALL        normal plane -> secure plane
  16  KVM_HC_VBS_VTL_RETURN      secure plane -> normal plane

This patch only reserves the numbers; the handlers are added separately.
---
 include/uapi/linux/kvm_para.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/uapi/linux/kvm_para.h b/include/uapi/linux/kvm_para.h
index 960c7e93d1a9..08b52d25ca17 100644
--- a/include/uapi/linux/kvm_para.h
+++ b/include/uapi/linux/kvm_para.h
@@ -30,6 +30,10 @@
 #define KVM_HC_SEND_IPI		10
 #define KVM_HC_SCHED_YIELD		11
 #define KVM_HC_MAP_GPA_RANGE		12
+#define KVM_HC_VM_PLANES_CONFIG		13
+#define KVM_HC_VM_PLANES_ACTIVATE	14
+#define KVM_HC_VBS_VTL_CALL		15
+#define KVM_HC_VBS_VTL_RETURN		16
 
 /*
  * hypercalls use architecture specific
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.