We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e032b commit 5dabc87Copy full SHA for 5dabc87
target/i386/kvm/kvm.c
@@ -3100,10 +3100,7 @@ static int kvm_vm_set_tss_addr(KVMState *s, uint64_t tss_base)
3100
static int kvm_vm_enable_disable_exits(KVMState *s)
3101
{
3102
int disable_exits = kvm_check_extension(s, KVM_CAP_X86_DISABLE_EXITS);
3103
-/* Work around for kernel header with a typo. TODO: fix header and drop. */
3104
-#if defined(KVM_X86_DISABLE_EXITS_HTL) && !defined(KVM_X86_DISABLE_EXITS_HLT)
3105
-#define KVM_X86_DISABLE_EXITS_HLT KVM_X86_DISABLE_EXITS_HTL
3106
-#endif
+
3107
if (disable_exits) {
3108
disable_exits &= (KVM_X86_DISABLE_EXITS_MWAIT |
3109
KVM_X86_DISABLE_EXITS_HLT |
0 commit comments