From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yolkfull Chow Subject: Re: How to disable KVM start at boot Date: Thu, 25 Feb 2010 17:46:09 +0800 Message-ID: <20100225094609.GD2257@aFu.nay.redhat.com> References: <20100224125053.6evwdw6c08cwcoww@oswebmail2.pacific.net.hk> <20100224192051.o3c8p2z88wogwogg@oswebmail2.pacific.net.hk> <20100225122507.jyjykpc64gko088g@oswebmail1.pacific.net.hk> <20100225053331.GB2257@aFu.nay.redhat.com> <20100225172315.ndon54yw0gwgc8c0@oswebmail1.pacific.net.hk> Reply-To: Yolkfull Chow Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm@vger.kernel.org" To: satimis@pacific.net.hk Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56859 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753927Ab0BYJqO (ORCPT ); Thu, 25 Feb 2010 04:46:14 -0500 Content-Disposition: inline In-Reply-To: <20100225172315.ndon54yw0gwgc8c0@oswebmail1.pacific.net.hk> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Feb 25, 2010 at 05:23:15PM +0800, satimis@pacific.net.hk wrote: > Quoting Yolkfull Chow : > > > >>$ lsmod | grep kvm > >>kvm_amd 38452 0 > >>kvm 163952 1 kvm_amd > >> > >> > >># chkconfig --level 35 kvm off > >>error reading information on service kvm: No such file or directory > >> > >> > >>I tried to disable qemu on Gnome; > >>System -> Administration -> Services -> highlight qemu -> Disable > >> > >>(kvm is NOT there) > >> > >> > >>Next boot > >> > >>$ lsmod | grep kvm > >>kvm_amd 38452 0 > >>kvm 163952 1 kvm_amd > >> > >>still there > > > > >If you want kvm related kernel modules not to be loaded at next boot, > >you can add then into blacklist: /etc/modprobe.d/blacklist.con > > > Hi Yolkfull, > > Thanks for your advice. Could you please explain in more detail. > > $ cat /etc/modprobe.d/blacklist.conf > # watchdog drivers > blacklist i8xx_tco > > # framebuffer drivers > blacklist aty128fb > blacklist atyfb > blacklist radeonfb > blacklist i810fb > blacklist cirrusfb > blacklist intelfb > blacklist kyrofb > blacklist i2c-matroxfb > blacklist hgafb > blacklist nvidiafb > blacklist rivafb > blacklist savagefb > blacklist sstfb > blacklist neofb > blacklist tridentfb > blacklist tdfxfb > blacklist virgefb > blacklist vga16fb > > # ISDN - see bugs 154799, 159068 > blacklist hisax > blacklist hisax_fcpcipnp > > # sound drivers > blacklist snd-pcsp > > > What shall I add on this config file? > > How can I start KVM after booting if needed. TIA Hi, You can comment all content of this file: /etc/sysconfig/modules/kvm.modules and #modprobe kvm && modprobe kvm_intel if need. Cheers, > > > B.R. > Stephen L > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html