diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2009-01-20 21:26:13 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2009-02-06 10:47:40 -0200 |
commit | bd9c444b0eecb40d044163836ee2b8950bf3d741 (patch) | |
tree | 55a5d2db213593aa971f59d53a33f1fe7c8cb181 | |
parent | d0f32ce84e1a46534abf1fa456dff3d9fa45c1ec (diff) |
modprobe ksm-mem
modprobe ksm-mem
Signed-off-by: Dor Laor <dlaor@redhat.com>
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
RH-Upstream-status: pending
-rwxr-xr-x | scripts/kvm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kvm b/scripts/kvm index cddc931f..7994c534 100755 --- a/scripts/kvm +++ b/scripts/kvm @@ -182,6 +182,7 @@ start () { grep -q GenuineIntel /proc/cpuinfo && /sbin/modprobe kvm-intel grep -q AuthenticAMD /proc/cpuinfo && /sbin/modprobe kvm-amd + /sbin/modprobe ksm-mem } stop () { @@ -196,6 +197,7 @@ stop () { ip link set ${switch} down brctl delbr ${switch} + /sbin/modprobe -r ksm-mem grep -q GenuineIntel /proc/cpuinfo && /sbin/modprobe -r kvm-intel grep -q AuthenticAMD /proc/cpuinfo && /sbin/modprobe -r kvm-amd /sbin/modprobe -r kvm |