Home > database >  How to check default kvm mmu on a linux kernel?
How to check default kvm mmu on a linux kernel?

Time:06-11

I have found that kvm changed tdp_mmu to enabled by default https://lore.kernel.org/lkml/[email protected]/

How can I check if my kernel has this parameter enabled?

Can I reconfigure that on a running centos or ubuntu ?

CodePudding user response:

Check:

cat /sys/module/kvm/parameters/tdp_mmu
Y : enabled
N : disabled

Reconfig:

sudo modprobe -r kvm_intel
sudo modprobe -r kvm
sudo modprobe kvm tdp_mmu=[Value] # 1 to enable or 0 to disable
sudo modprobe  kvm
sudo modprobe kvm_intel
  • Related