Patchwork [1/3,v2] Synchronize the linux-headers

login
register
mail settings
Submitter Bharat Bhushan
Date July 10, 2012, 7:03 a.m.
Message ID <1341903808-2120-1-git-send-email-Bharat.Bhushan@freescale.com>
Download mbox | patch
Permalink /patch/170064/
State New
Headers show

Comments

Bharat Bhushan - July 10, 2012, 7:03 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>
---
 v2:
 - No change (same as [PATCH 1/4] Synchronize the linux-headers)

 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