bobbyccie
Contributor
Contributor

Issue setting 'options kvm ignore_msrs=1' for nested 64-bit VMs

Hi,

I am having issues running 64-bit VMs on a nested ESXi 6.7 host running on KVM (Ubuntu 16.04.6 EVE-NG).

I believe the fix is to enable 'options kvm ignore_msrs=1' on the main Ubuntu machine.

I have tried adding 'options kvm ignore_msrs=1' in various places, including:

/etc/modprobe.d/kvm.conf

/etc/modprobe.d/kvm-intel.conf

/etc/modprobe.d/qemu-system-x86.conf

But after a reboot I still see:

root@eve-ng:~# cat /sys/module/kvm/parameters/ignore_msrs

N

I can set it to 'Y' with:

root@eve-ng:~# echo 1 > /sys/module/kvm/parameters/ignore_msrs

root@eve-ng:~# cat /sys/module/kvm/parameters/ignore_msrs

Y

But it doesn't survive a reboot.

Any suggestions? Thanks

P.S. I am running KVM on Ubuntu 16.04.6 LTS.

0 Kudos
0 Replies