From 38e6e86d804f0826c4abcad8ceae387ac1301acb Mon Sep 17 00:00:00 2001 From: sophia Date: Fri, 17 Feb 2023 11:38:28 -0800 Subject: [PATCH] Removes check for hyperv being enabled when verifying virtualbox is usable on windows. Virtualbox has supported running with hyperv since version 6.0.0 https://www.virtualbox.org/wiki/Changelog-6.0. (Virtualbox 6.0 is currently EOL) So, this check is no longer required. --- plugins/providers/virtualbox/action/check_virtualbox.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/providers/virtualbox/action/check_virtualbox.rb b/plugins/providers/virtualbox/action/check_virtualbox.rb index 800852c2a..1ae3eee30 100644 --- a/plugins/providers/virtualbox/action/check_virtualbox.rb +++ b/plugins/providers/virtualbox/action/check_virtualbox.rb @@ -16,12 +16,6 @@ module VagrantPlugins # which will break us out of execution of the middleware sequence. Driver::Meta.new.verify! - if Vagrant::Util::Platform.windows? && Vagrant::Util::Platform.windows_hyperv_enabled? - @logger.error("Virtualbox and Hyper-V cannot be used together at the same time on Windows and will result in a system crash.") - - raise Vagrant::Errors::HypervVirtualBoxError - end - # Carry on. @app.call(env) end