From a8b469fe74d1a3a606b766c033d8e6b0592c420c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 28 Jun 2013 17:40:44 +0200 Subject: [vmchooser] Load kvm kernel module if host supports it --- remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'remote/modules') diff --git a/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh b/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh index 84ece685..f338cd37 100755 --- a/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh +++ b/remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh @@ -392,6 +392,11 @@ amixer -q sset Front "$VOL" unmute 2>/dev/null # in SUSE 11.0 it's headphon amixer -q sset Speaker "$VOL" unmute 2>/dev/null # annoying built-in speaker #writelog "finished\n" +# Load kvm modules +if [ "$vtflag" = "1" -a -n "$kvm_module" ]; then + modprobe "$kvm_module" +fi + # Copy guest configuration (with added information) config.xml to be accessed # via virtual floppy # fixme -> to be changed (vmchooser adapts the file content!?) -- cgit v1.2.3-55-g7522