[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/6 v5] update linux headers
From: |
Wen Congyang |
Subject: |
[Qemu-devel] [PATCH 2/6 v5] update linux headers |
Date: |
Wed, 27 Jun 2012 14:58:19 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4 |
Signed-off-by: Wen Congyang <address@hidden>
---
linux-headers/asm-x86/kvm_para.h | 2 ++
linux-headers/linux/kvm_para.h | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/linux-headers/asm-x86/kvm_para.h b/linux-headers/asm-x86/kvm_para.h
index f2ac46a..f9d858f 100644
--- a/linux-headers/asm-x86/kvm_para.h
+++ b/linux-headers/asm-x86/kvm_para.h
@@ -89,5 +89,7 @@ struct kvm_vcpu_pv_apf_data {
__u32 enabled;
};
+#define KVM_PV_PORT (0x505UL)
+
#endif /* _ASM_X86_KVM_PARA_H */
diff --git a/linux-headers/linux/kvm_para.h b/linux-headers/linux/kvm_para.h
index 7bdcf93..4fbd625 100644
--- a/linux-headers/linux/kvm_para.h
+++ b/linux-headers/linux/kvm_para.h
@@ -20,6 +20,12 @@
#define KVM_HC_FEATURES 3
#define KVM_HC_PPC_MAP_MAGIC_PAGE 4
+/* 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
*/
--
1.7.1
- [Qemu-devel] [PATCH v5] kvm: notify host when the guest is panicked, Wen Congyang, 2012/06/27
- [Qemu-devel] [PATCH 1/6 v5] start vm after reseting it, Wen Congyang, 2012/06/27
- [Qemu-devel] [PATCH 2/6 v5] update linux headers,
Wen Congyang <=
- [Qemu-devel] [PATCH 3/6 v5] add a new runstate: RUN_STATE_GUEST_PANICKED, Wen Congyang, 2012/06/27
- [Qemu-devel] [PATCH 4/6 v5] add a new qevent: QEVENT_GUEST_PANICKED, Wen Congyang, 2012/06/27
- [Qemu-devel] [PATCH 5/6 v5] deal with guest panicked event accoring to -onpanic parameter, Wen Congyang, 2012/06/27
- Re: [Qemu-devel] [PATCH 5/6 v5] deal with guest panicked event accoring to -onpanic parameter, Cornelia Huck, 2012/06/27
- [Qemu-devel] [PATCH 6/6 v5] deal with panicked event accoring to '-machine panic_action=action', Wen Congyang, 2012/06/27