xenserver: Load llc module at boot time.
authorBen Pfaff <blp@nicira.com>
Fri, 29 May 2009 22:58:50 +0000 (15:58 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 May 2009 22:58:50 +0000 (15:58 -0700)
Fixes boot failure due to previous commit, which made the openvswitch
module depend on llc without causing it to be loaded.

xenserver/etc_init.d_vswitch

index 573fb695f72ad66fd3ce862fa4a46f1c47bceff1..25aca61f9e0347cf269699eba530b19f17ddf5b6 100755 (executable)
@@ -92,6 +92,7 @@ function remove_all_dp {
 
 function insert_modules_if_required {
     if ! lsmod | grep -q "openvswitch_mod"; then
+        action "Inserting llc module" modprobe llc
         action "Inserting openvswitch module" insmod $VSWITCH_BASE/kernel_modules/openvswitch_mod.ko
     fi
     if [ -n "$BRCOMPATD_PIDFILE" ] && ! lsmod | grep -q "brcompat_mod"; then