diff options
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -654,9 +654,9 @@ int kvm_vcpu_ioctl(CPUState *env, int type, ...) int kvm_has_sync_mmu(void) { +#ifdef KVM_CAP_SYNC_MMU KVMState *s = kvm_state; -#ifdef KVM_CAP_SYNC_MMU if (kvm_ioctl(s, KVM_CHECK_EXTENSION, KVM_CAP_SYNC_MMU) > 0) return 1; #endif |