From 0dc0f647277e4dc7303f1eb41e1dc688f073cc5e Mon Sep 17 00:00:00 2001 From: Dor Laor Date: Sun, 5 Nov 2006 10:45:59 +0000 Subject: Insert/remove kvm kernel module on start/stop --- scripts/kvm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/kvm b/scripts/kvm index 79badbd8..2b1ad146 100755 --- a/scripts/kvm +++ b/scripts/kvm @@ -154,6 +154,8 @@ start () { if [ ${antispoof} = 'yes' ] ; then antispoofing fi + + /sbin/insmod kvm } stop () { @@ -167,6 +169,8 @@ stop () { change_ips ${switch} ${pif} ip link set ${switch} down brctl delbr ${switch} + + /sbin/rmmod kvm } -- cgit v1.2.3