projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: x86: disable paravirt mmu reporting
[linux-2.6-block.git]
/
arch
/
x86
/
kvm
/
x86.c
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index a06f88e66c899bef5f4ede8758dd283013998fcd..4693f915f3bde30493cf08667933d35203512c17 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-1238,8
+1238,8
@@
int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_NR_MEMSLOTS:
r = KVM_MEMORY_SLOTS;
break;
- case KVM_CAP_PV_MMU:
- r =
!tdp_enabled
;
+ case KVM_CAP_PV_MMU:
/* obsolete */
+ r =
0
;
break;
case KVM_CAP_IOMMU:
r = iommu_found();