Patchwork [2/3] update linux headers

login
register
mail settings
Submitter Wen Congyang
Date May 21, 2012, 6:50 a.m.
Message ID <4FB9E5A5.4080500@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/160324/
State New
Headers show

Comments

Wen Congyang - May 21, 2012, 6:50 a.m.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
---
 linux-headers/linux/kvm_para.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Patch

diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h
index 7bdcf93..5618758 100644
--- a/linux-headers/linux/kvm_para.h
+++ b/linux-headers/linux/kvm_para.h
@@ -20,6 +20,14 @@ 
 #define KVM_HC_FEATURES			3
 #define KVM_HC_PPC_MAP_MAGIC_PAGE	4
 
+#define KVM_PV_PORT	(0x505UL)
+
+/* The bit of the value read from KVM_PV_PORT */
+#define KVM_PV_FEATURE_PANICKED	0
+
+/* The value writen to KVM_PV_PORT */
+#define KVM_PV_PANICKED		1
+
 /*
  * hypercalls use architecture specific
  */