Introduce new KVM_KICK_ALL_RUNNING_VCPUS and KVM_RESUME_ALL_KICKED_VCPUS
ioctl that will be used respectively to pause and then resume all vcpus
currently executing KVM_RUN in kvm.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
---
linux-headers/linux/kvm.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index f089349149..1fcf69f903 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -2067,4 +2067,7 @@ struct kvm_stats_desc {
/* Available with KVM_CAP_XSAVE2 */
#define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave)
+#define KVM_KICK_ALL_RUNNING_VCPUS _IO(KVMIO, 0xd2)
+#define KVM_RESUME_ALL_KICKED_VCPUS _IO(KVMIO, 0xd3)
+
#endif /* __LINUX_KVM_H */
--
2.31.1