Hi Dustin,
- snip -
Where shall I add -b option? Thanks
modprobe -b says respect the blacklists. See:
* http://manpages.ubuntu.com/manpages/lucid/en/man8/modprobe.8.html
-b --use-blacklist
This option causes modprobe to apply the blacklist
commands in
On Wed, Mar 10, 2010 at 9:59 PM, sati...@pacific.net.hk wrote:
$ cat /etc/init.d/qemu-kvm | grep modprobe
if modprobe $module
.
if modprobe $module
then
log_end_msg 0
else
log_end_msg 1
exit 1
fi
Hi folks.
Host - ubuntu 9.10 64bit
Virtualizer - KVM
I need to stop KVM starting at boot.
I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
blacklist kvm
blacklist kvm-amd
Reboot PC
It doesn't work.
$ lsmod | grep kvm
kvm_amd41556 0
kvm
On Wed, Mar 10, 2010 at 04:07:09PM +0800, sati...@pacific.net.hk wrote:
Hi folks.
Host - ubuntu 9.10 64bit
Virtualizer - KVM
I need to stop KVM starting at boot.
I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
blacklist kvm
blacklist kvm-amd
Reboot PC
Hi folks.
Host - ubuntu 9.10 64bit
Virtualizer - KVM
I need to stop KVM starting at boot.
I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
blacklist kvm
blacklist kvm-amd
Reboot PC
It doesn't work.
$ lsmod | grep kvm
kvm_amd41556 0
On Wed, Mar 10, 2010 at 3:08 AM, Bitman Zhou bitman.z...@sinobot.com.cn wrote:
I need to stop KVM starting at boot.
I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf
blacklist kvm
blacklist kvm-amd
Reboot PC
It doesn't work.
$ lsmod | grep kvm
kvm_amd
Hi Dustin,
Thanks for your advice.
- snip -
Or you can edit the /etc/init.d/kvm or
/etc/init.d/qemu-kvm init script and add the -b option to the
modprobe calls in there.
$ cat /etc/init.d/kvm | grep modprobe
No printout
$ cat /etc/init.d/qemu-kvm | grep modprobe
if modprobe
Quoting Bitman Zhou bitman.z...@sinobot.com.cn:
- snip -
Please what further command I have to run in order to activate the new
blacklist.conf ?
For Ubutnu, you can just use update-rc.d
sudo update-rc.d kvm disable
to disable kvm and
sudo update-rc.d kvm enable
to enable it again.
Tks
On Thu, Mar 11, 2010 at 11:59:45AM +0800, sati...@pacific.net.hk wrote:
Hi Dustin,
Or you can edit the /etc/init.d/kvm or
/etc/init.d/qemu-kvm init script and add the -b option to the
modprobe calls in there.
$ cat /etc/init.d/qemu-kvm | grep modprobe
if modprobe $module
Where