]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/i386/kvm.c: Remove compatibility shim for KVM_HINTS_REALTIME
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 25 May 2018 13:27:55 +0000 (14:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 13:14:31 +0000 (15:14 +0200)
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>
target/i386/kvm.c

index 8eae654991e5ed85757e6d6b655f5d3ca7ab128e..44f70733e70145e166d64ec404aa01a5edd7a199 100644 (file)
 #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