diff options
| author | Simon Rettberg | 2013-06-28 17:40:44 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-06-28 17:40:44 +0200 |
| commit | a8b469fe74d1a3a606b766c033d8e6b0592c420c (patch) | |
| tree | 0f56dfee7f0a482a1bea379fc2ea66581b859d4e /remote/modules | |
| parent | ! (diff) | |
| download | tm-scripts-a8b469fe74d1a3a606b766c033d8e6b0592c420c.tar.gz tm-scripts-a8b469fe74d1a3a606b766c033d8e6b0592c420c.tar.xz tm-scripts-a8b469fe74d1a3a606b766c033d8e6b0592c420c.zip | |
[vmchooser] Load kvm kernel module if host supports it
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/vmchooser/data/opt/openslx/bin/run-virt.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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!?) |
