KVM: x86: disable paravirt mmu reporting
Disable paravirt MMU capability reporting, so that new (or rebooted) guests switch to native operation. Paravirt MMU is a burden to maintain and does not bring significant advantages compared to shadow anymore. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
355be0b930
commit
a68a6a7282
@ -1238,8 +1238,8 @@ int kvm_dev_ioctl_check_extension(long ext)
|
|||||||
case KVM_CAP_NR_MEMSLOTS:
|
case KVM_CAP_NR_MEMSLOTS:
|
||||||
r = KVM_MEMORY_SLOTS;
|
r = KVM_MEMORY_SLOTS;
|
||||||
break;
|
break;
|
||||||
case KVM_CAP_PV_MMU:
|
case KVM_CAP_PV_MMU: /* obsolete */
|
||||||
r = !tdp_enabled;
|
r = 0;
|
||||||
break;
|
break;
|
||||||
case KVM_CAP_IOMMU:
|
case KVM_CAP_IOMMU:
|
||||||
r = iommu_found();
|
r = iommu_found();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user