summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiejun Chen <tiejun.chen@intel.com>2015-02-05 17:22:26 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-02-05 12:26:14 +0100
commit1c2b364b225a5a93dbd1f317bd000d2fec2694be (patch)
treed4733f3e2830ab5d77e2afc285a1e49a58bd07da
parentf798217dfd038af981a18bbe4bc57027a08bb182 (diff)
downloadop-kernel-dev-1c2b364b225a5a93dbd1f317bd000d2fec2694be.zip
op-kernel-dev-1c2b364b225a5a93dbd1f317bd000d2fec2694be.tar.gz
kvm: remove KVM_MMIO_SIZE
After f78146b0f923, "KVM: Fix page-crossing MMIO", and 87da7e66a405, "KVM: x86: fix vcpu->mmio_fragments overflow", actually KVM_MMIO_SIZE is gone. Signed-off-by: Tiejun Chen <tiejun.chen@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--arch/x86/include/asm/kvm_host.h2
-rw-r--r--include/linux/kvm_host.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 9dbc743..848947a 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -38,8 +38,6 @@
#define KVM_PRIVATE_MEM_SLOTS 3
#define KVM_MEM_SLOTS_NUM (KVM_USER_MEM_SLOTS + KVM_PRIVATE_MEM_SLOTS)
-#define KVM_MMIO_SIZE 16
-
#define KVM_PIO_PAGE_OFFSET 1
#define KVM_COALESCED_MMIO_PAGE_OFFSET 2
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 32d0575..8a82838 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -33,10 +33,6 @@
#include <asm/kvm_host.h>
-#ifndef KVM_MMIO_SIZE
-#define KVM_MMIO_SIZE 8
-#endif
-
/*
* The bit 16 ~ bit 31 of kvm_memory_region::flags are internally used
* in kvm, other bits are visible for userspace which are defined in
OpenPOWER on IntegriCloud