Patchwork [1/4] Synchronize the linux-headers

login
register
mail settings
Submitter Bharat Bhushan
Date June 28, 2012, 5:39 a.m.
Message ID <1340861999-31281-1-git-send-email-Bharat.Bhushan@freescale.com>
Download mbox | patch
Permalink /patch/167791/
State New
Headers show

Comments

Bharat Bhushan - June 28, 2012, 5:39 a.m.
From: Bharat Bhushan <bharat.bhushan@freescale.com>

Qemu and KVM linux/kvm.h were not in sync.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
 linux-headers/linux/kvm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 5a9d4e3..4b9e575 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -617,6 +617,7 @@  struct kvm_ppc_smmu_info {
 #define KVM_CAP_SIGNAL_MSI 77
 #define KVM_CAP_PPC_GET_SMMU_INFO 78
 #define KVM_CAP_S390_COW 79
+#define KVM_CAP_PPC_ALLOC_HTAB 80
 
 #ifdef KVM_CAP_IRQ_ROUTING
 
@@ -828,6 +829,8 @@  struct kvm_s390_ucas_mapping {
 #define KVM_SIGNAL_MSI            _IOW(KVMIO,  0xa5, struct kvm_msi)
 /* Available with KVM_CAP_PPC_GET_SMMU_INFO */
 #define KVM_PPC_GET_SMMU_INFO	  _IOR(KVMIO,  0xa6, struct kvm_ppc_smmu_info)
+/* Available with KVM_CAP_PPC_ALLOC_HTAB */
+#define KVM_PPC_ALLOCATE_HTAB	  _IOWR(KVMIO, 0xa7, __u32)
 
 /*
  * ioctls for vcpu fds