From: Konrad Rzeszutek Wilk Date: Tue, 26 Jul 2011 14:45:15 +0000 (-0400) Subject: xen: load modules if /sys/hypervisor/type == xen. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=60b931bc1ce62a2c918531227a14440ef0d1cdcd;p=xentesttools%2Fbootstrap.git xen: load modules if /sys/hypervisor/type == xen. --- diff --git a/root_image/tools/load_xen_modules/load_xen_modules b/root_image/tools/load_xen_modules/load_xen_modules index 67b07f1..77e2705 100755 --- a/root_image/tools/load_xen_modules/load_xen_modules +++ b/root_image/tools/load_xen_modules/load_xen_modules @@ -1,7 +1,6 @@ #!/bin/bash -/usr/bin/xen-detect -P -if [ $? == 0 ]; then +if [ `cat /sys/hypervisor/type` == "xen" ]; then modprobe xenbus_probe_frontend modprobe xen-kbdfront modprobe xen-fbfront