summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kvm_para.h
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2014-05-29 01:52:12 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-05-30 23:01:11 +0400
commit90dfdc7ceb577c0d7b7635def3c62039a091e50d (patch)
treee20938cbe7d542786d79371b38a6ba0090c8829a /include/uapi/linux/kvm_para.h
parentcd3f5389489146297eb2c11e4f9d1c4e8aaeb59f (diff)
downloadlinux-90dfdc7ceb577c0d7b7635def3c62039a091e50d.tar.xz
MIPS: Add functions for hypervisor call
Introduce kvm_hypercall[0-3]. Define three new hypercalls for MIPS: GET_CLOCK_FREQ, EXIT_VM, and CONSOLE_OUTPUT. [andreas.herrmann: * Properly define hypercalls and HC numbers for MIPS in kvm_para.h header files] Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com> Cc: linux-mips@linux-mips.org Cc: James Hogan <james.hogan@imgtec.com> Cc: kvm@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7005/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/uapi/linux/kvm_para.h')
-rw-r--r--include/uapi/linux/kvm_para.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm_para.h b/include/uapi/linux/kvm_para.h
index 2841f86eae0b..bf6cd7d5cac2 100644
--- a/include/uapi/linux/kvm_para.h
+++ b/include/uapi/linux/kvm_para.h
@@ -20,6 +20,9 @@
#define KVM_HC_FEATURES 3
#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
#define KVM_HC_KICK_CPU 5
+#define KVM_HC_MIPS_GET_CLOCK_FREQ 6
+#define KVM_HC_MIPS_EXIT_VM 7
+#define KVM_HC_MIPS_CONSOLE_OUTPUT 8
/*
* hypercalls use architecture specific