Re: How to disable KVM start at boot (SOLVED)

2010-02-25 Thread satimis

Quoting Yolkfull Chow yz...@redhat.com:

- snip -


Hi,

You can comment all content of this file: /etc/sysconfig/modules/kvm.modules
and #modprobe kvm  modprobe kvm_intel if need.



Hi Yolkfull,

$ cat /etc/sysconfig/modules/kvm.modules
#!/bin/sh

if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then
modprobe -b kvm-intel /dev/null 21
fi

if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then
modprobe -b kvm-amd /dev/null 21
fi
- end -

Comment out all lines as advised.  Reboot PC


# lsmod | grep kvm
No printout


But still I can start and run 64bit Fedora12 VM and 64 bit Debian504  
VM.  However the speed is very slow.  64bit Win7 and 64bit Windows  
Server 2008 can't start.



After running;

# modprobe kvm  modprobe kvm-amd

everything becomes normal.  Thanks

B.R.
Stephen L



--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: How to disable KVM start at boot (SOLVED)

2010-02-25 Thread satimis

Quoting Hao, Xudong xudong@intel.com:

- snip -

But Yolkfull's suggestion is good for you to not load kvm module   
when boot system.


Add the two line in /etc/modprobe.d/blacklist.conf according to your  
 system, then reboot.


blacklist kvm
blacklist kvm_amd


Hi Xudong


Add;
blacklist kvm
blacklist kvm-amd

to the end of /etc/modprobe.d/blacklist.conf

Reboot PC

# lsmod | grep kvm
No printout

But still I can start and run 64bit Fedora12 VM and 64 bit Debian504  
VM.  However the speed is very slow.  64bit Win7 and 64bit Windows  
Server 2008 can't start.


After running;

# modprobe kvm  modprobe kvm-amd

everything becomes normal.  Thanks


B.R.
Stephen L

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html