Learn how to deal with KVM ignored rdmsr warnings. Our KVM Support team is here to help you with your questions and concerns.
KVM ignored rdmsr Warnings | 3 Solutions
You are in luck if you have been running into the following warning while working with KVM.
kvm: vcpu0 ignored rdmsr
According to our experts, these warnings, though harmless, can clutter logs and cause concern.
Today, we are going to look at three different ways to put a stop to these warnings.
1: Update KVM Configuration
We can run these commands in our terminal to resolve the “ignored rdmsr” warnings:
echo 1 > /sys/module/kvm/parameters/ignore_msrs
echo "options kvm ignore_msrs=Y" >> /etc/modprobe.d/kvm.conf
update-initramfs -u -k all
This solution directly modifies the KVM parameters to ignore MSRs (Model Specific Registers). The second command adds a configuration option to a KVM-specific configuration file. This results in persistence across reboots.
2: Customize KVM Configuration
Alternatively, we can put a stop to the “ignored rdmsr” and “ignored wrmsr” outputs in logs with this command:
echo "options kvm report_ignored_msrs=0" >> /etc/modprobe.d/kvm.conf
This command adds a configuration option to the KVM settings. This stops the warnings in log outputs. The choice to include this modification depends on our logging preferences and the level of detail we require.
3: Addressing Logs Related to vCMP Guest Deployment
In case we are dealing with logs related to vCMP Guest deployment and are sure they pose no threat to your system, we can always ignore them. These logs may not indicate any existing problems and are merely informational.
If you are concerned about disk space, you can regularly check and manage large log files in the /var/log directory as seen here:
ls -alS /var/log/kern.log*
If you are a Windows 10 user and run into the following error, worry not.
kvm [1741]: vcpu0, guest rIP: 0x7ff9bdf92d4b ignored rdmsr: 0x122
In this case, we have to boot the VM into safe mode to identify potential driver issues. Then, temporarily remove the looking glass PCI device in the XML configuration file for testing purposes.
We can deal with the MSR-related crashes on the KVM host as seen here:
sudo -s
echo 1 > /sys/module/kvm/parameters/ignore_msrs
sudo nano /etc/modprobe.d/kvm.conf
Now, permanent after reboot by adding these lines to the configuration file:
options kvm ignore_msrs=Y
options kvm report_ignored_msrs=N
Let us know in the comments if you need further help with ignored rdmsr warnings.
[Need assistance with a different issue? Our team is available 24/7.]
Conclusion
In brief, our Support Experts demonstrated how to deal with KVM’s ignored rdmsr warnings.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments