dom0+vm: make sure that block backend module is loaded when needed (#226)
This commit is contained in:
parent
e3993ca5f9
commit
960b02e8ed
@ -27,3 +27,6 @@ if [ "$ID_TYPE" = "cd" ]; then
|
||||
MODE=r
|
||||
fi
|
||||
xenstore-write "$XS_KEY/desc" "$DESC" "$XS_KEY/size" "$SIZE" "$XS_KEY/mode" "$MODE"
|
||||
|
||||
# Make sure that block backend is loaded
|
||||
modprobe xen-blkback 2> /dev/null || modprobe blkbk
|
||||
|
Loading…
Reference in New Issue
Block a user