ignore_msrs for host CPU being ignored

wmelnick

Member
Aug 5, 2016
1
0
21
60
I have 2 Proxmox 5.1 servers which are running "host" CPUs on one of the VMs. I have the kvm.ignore_msrs in place and even tried doing it manually with echo 1 > /sys/module/kvm/parameters/ignore_msrs and it is still clogging up dmesg.

How do I get the rdmsr entries to stop appearing in my logs?

Thanks in advance,
Warren
 
Hi,
Use instead 'host' cpu type, the name of the host cpu as cpu type.
 
find how to solve this spam messges from dmesg

echo 1 > /sys/module/kvm/parameters/ignore_msrs
echo 0 > /sys/module/kvm/parameters/report_ignored_msrs

or as permanent

/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=Y
options kvm report_ignored_msrs=N

this work with latest kernel - did not test with other

i find this with

# modinfo kvm
filename: /lib/modules/4.15.17-1-pve/kernel/arch/x86/kvm/kvm.ko
license: GPL
author: Qumranet
srcversion: F32F8DB211EEEEBEB75B24B
depends: irqbypass
retpoline: Y
intree: Y
name: kvm
vermagic: 4.15.17-1-pve SMP mod_unload modversions
parm: ignore_msrs:bool
parm: report_ignored_msrs:bool
parm: min_timer_period_us:uint
parm: kvmclock_periodic_sync:bool
parm: tsc_tolerance_ppm:uint
parm: lapic_timer_advance_ns:uint
parm: vector_hashing:bool
parm: halt_poll_ns:uint
parm: halt_poll_ns_grow:uint
parm: halt_poll_ns_shrink:uint
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!