summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 5a122a11c..775a67447 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -270,8 +270,8 @@ sub when_load_category {
$conf->add_probeall('scsi_hostadapter', $name);
if (detect_devices::isHyperv()) {
log::l("HyperV detected. Loading storvsc");
- load('hv_vmbus');
- load('hv_storvsc');
+ # those works on Hyper-V but fails on Virtual PC:
+ eval { load($_) } foreach qw(hv_vmbus hv_storvsc);
}
eval { load('sd_mod') };
} elsif ($category eq 'bus/usb') {