lib/facter/facts/windows/hypervisors/kvm.rb in facter-4.1.1 vs lib/facter/facts/windows/hypervisors/kvm.rb in facter-4.2.0

- old
+ new

@@ -15,10 +15,11 @@ private def kvm? product_name = Facter::Resolvers::DMIComputerSystem.resolve(:name) - (Facter::Resolvers::Virtualization.resolve(:virtual) == 'kvm' || Facter::Resolvers::NetKVM.resolve(:kvm)) && + (Facter::Resolvers::Windows::Virtualization.resolve(:virtual) == 'kvm' || + Facter::Resolvers::NetKVM.resolve(:kvm)) && product_name != 'VirtualBox' && !product_name.match(/^Parallels/) end def discover_provider manufacturer = Facter::Resolvers::DMIBios.resolve(:manufacturer)