{"id":200,"date":"2026-01-24T09:33:09","date_gmt":"2026-01-24T09:33:09","guid":{"rendered":"http:\/\/petrumihai.home.ro\/?p=200"},"modified":"2026-01-24T09:41:40","modified_gmt":"2026-01-24T09:41:40","slug":"kvm-error-in-virtualbox","status":"publish","type":"post","link":"https:\/\/petrumihai.ro\/index.php\/2026\/01\/24\/kvm-error-in-virtualbox\/","title":{"rendered":"KVM error in VirtualBox"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Starting with Linux kernel 6.12, the KVM (Kernel-based Virtual Machine) module initializes virtualization features (such as VMX for Intel or SVM for AMD) automatically upon module load, rather than waiting for the first use. This change means that KVM claims control of CPU virtualization capabilities as soon as its kernel modules (kvm_intel or kvm_amd) are loaded, which can prevent other virtualization software like VirtualBox from starting VMs, as they require exclusive access to these features.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order to correct this, in file <strong><em>\/etc\/default\/grub<\/em><\/strong> add the line<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-6861c9744afb93551861a7ad2373d1ec\"><code><em>GRUB_CMDLINE_LINUX_DEFAULT=\"kvm.enable_virt_at_load=0\"<\/em><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If <em>GRUB_CMDLINE_LINUX_DEFAULT<\/em> exist in the file, add at the end of the line  <em>kvm.enable_virt_at_load=0<\/em> (with <em>space<\/em> before). An example:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-848cfc98ced80c5bcf3cd77bc7ca018e\"><code>GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash kvm.enable_virt_at_load=0\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">save and close  <strong><em>\/etc\/default\/grub<\/em><\/strong> file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong><em>Terminal<\/em><\/strong> run:<\/p>\n\n\n\n<pre class=\"wp-block-code has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-0959895ed504a29220a86e072e360aa2\"><code><em>sudo update-grub<\/em><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting with Linux kernel 6.12, the KVM (Kernel-based Virtual Machine) module initializes virtualization features (such as VMX for Intel or SVM for AMD) automatically upon module load, rather than waiting for the first use. This change means that KVM claims control of CPU virtualization capabilities as soon as its kernel modules (kvm_intel or kvm_amd) are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[16],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-apps"],"_links":{"self":[{"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":4,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/petrumihai.ro\/index.php\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}