diff options
author | Dor Laor <dor@qumranet.com> | 2006-11-29 10:47:10 +0000 |
---|---|---|
committer | Dor Laor <dor@qumranet.com> | 2006-11-29 10:47:10 +0000 |
commit | b02146fcb47a2eb45a50b90de491c728d3ae228a (patch) | |
tree | 807cd2d43d65dc655762f7be4a1eba11d4234e36 /scripts | |
parent | d4a973c9f546f13ff19d1566b83c7f4d1061142a (diff) |
Add removal of platform specific modules.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kvm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kvm b/scripts/kvm index 671e72ea..37552aba 100755 --- a/scripts/kvm +++ b/scripts/kvm @@ -171,6 +171,8 @@ stop () { ip link set ${switch} down brctl delbr ${switch} + grep -q GenuineIntel /proc/cpuinfo && /sbin/modprobe -r kvm-intel + grep -q AuthenticAMD /proc/cpuinfo && /sbin/modprobe -r kvm-amd /sbin/modprobe -r kvm } |