Bobcares

KVM Exiting Hardware Virtualization | Solved

by | Feb 1, 2024

Learn how to fix the KVM Exiting Hardware Virtualization issue. Our KVM Support team is here to help you with your questions and concerns.

KVM Exiting Hardware Virtualization | Solved

Operating systems sometimes run into hiccups during the boot and shutdown processes. This leads to delays or hangs. Today, we will take a look at potential solutions related to GRUB and systemd. We will focus on adjusting timeout settings to optimize boot and shutdown performance.

What is GRUB_CMDLINE_LINUX_DEFAULT?

The configuration parameter `GRUB_CMDLINE_LINUX_DEFAULT` plays a key role in deciding the behavior of our system during boot and shutdown. The default timeout is set to 90 seconds. We can analyze the events during this period to understand the source of delays.

Identifying the Hangup

In order to pinpoint the exact cause of delays, we have to observe the boot or shutdown process. If a timeout occurs, we will see a pause before the system either resumes the process or proceeds with the shutdown. By modifying timeout settings, we can tailor them to our system’s requirements.

Adjusting Timeout Settings

To modify the timeout settings, we have to go to `/etc/systemd/system.conf` and locate the lines related to startup and shutdown timeouts.

Then, remove the ‘#’ from these lines and replace the default ’90’ with another value. This will make sure that res that the system doesn’t linger unnecessarily during boot or shutdown.

KVM Exiting Hardware Virtualization | Solved

Next, save the changes with CTL+X, confirm with Y, and press ENTER.

Now, reboot the system to apply the modifications.

GRUB_CMDLINE_LINUX_DEFAULT and Kernel Parameters

Furthermore, modifying kernel parameters directly in `GRUB_CMDLINE_LINUX_DEFAULT` may not be ideal. If we add timing lines to this configuration, we have to remove them and update GRUB using `sudo update-grub`.

This results in the proper adjustment of kernel parameters.

Common Scenarios and Solutions

If your Proxmox hangs on “kvm exiting hardware virtualization” after a fresh 7.1-8 installation, follow these steps:

  1. Try booting with an older kernel (5-13-19-1-pve).
  2. Install the latest 5.15 kernel with the command `apt install pve-kernel-5.15`.
  3. Alternatively, install specific versions of the 5.15 kernel using `apt install pve-kernel-5.15 pve-kernel-5.15.5-1-pve pve-headers-5.15 pve-headers-5.15.5-1-pve`.

Additional Troubleshooting Steps

  1. Open a terminal.
  2. Execute `sudoedit /etc/default/grub`.
  3. Modify `GRUB_CMDLINE_LINUX_DEFAULT` to include “quiet splash acpi=force.”
  4. Save the changes.
  5. Update GRUB with `sudo update-grub`.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In brief, our Support Experts demonstrated how to resolve the “KVM: Exiting Hardware Virtualization” issue.

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.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.