kvm  

Re: Question on stopping KVM start at boot

Dustin Kirkland
Fri, 12 Mar 2010 09:38:54 -0800

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
>        ;;
> ....
>
>
> 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
              the configuration files (if any) to module names as well. It  is
              usually used by udev(7).

So you would change the lines that say "if modprobe ..." to "if modprobe -b ..."

:-Dustin
--
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