summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPeter Maydell2018-05-25 15:27:55 +0200
committerPaolo Bonzini2018-06-01 15:14:31 +0200
commit244e2ad0dcddad68c3c4842eba7675fda79fa511 (patch)
treea0f315a047b624e97f72b4885f1f719f92da4f77 /target
parentUpdate Linux headers to 4.17-rc6 (diff)
downloadqemu-244e2ad0dcddad68c3c4842eba7675fda79fa511.tar.gz
qemu-244e2ad0dcddad68c3c4842eba7675fda79fa511.tar.xz
qemu-244e2ad0dcddad68c3c4842eba7675fda79fa511.zip
target/i386/kvm.c: Remove compatibility shim for KVM_HINTS_REALTIME
Now we've updated our copy of the kernel headers we can remove the compatibility shim that handled KVM_HINTS_REALTIME not being defined. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20180525132755.21839-7-peter.maydell@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/i386/kvm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/i386/kvm.c b/target/i386/kvm.c
index 8eae654991..44f70733e7 100644
--- a/target/i386/kvm.c
+++ b/target/i386/kvm.c
@@ -47,11 +47,6 @@
#include "exec/memattrs.h"
#include "trace.h"
-/* Work around this kernel header constant changing its name */
-#ifndef KVM_HINTS_REALTIME
-#define KVM_HINTS_REALTIME KVM_HINTS_DEDICATED
-#endif
-
//#define DEBUG_KVM
#ifdef DEBUG_KVM