From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Mueller Subject: Re: virtio & minimal .config Date: Mon, 18 Feb 2008 17:51:42 +0100 Message-ID: <47B9B79E.1060807@chaschperli.ch> References: <47B990CC.2010209@chaschperli.ch> <47B99261.7090701@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel@lists.sourceforge.net Return-path: In-Reply-To: <47B99261.7090701@codemonkey.ws> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Hi Anthony >> has anybody out there a minimalistic .config to build a minimal guest >> kernel image with virtio enabled? >> > > I usually do a make defconfig, enable the CONFIG_VIRTIO_* options in > .config, then do a make oldconfig and answer 'y' to all of the questions. ok, i'll give it a try. But "make defconfig" will make a new .config. So i think there won't ever be any 'y' to give to "make oldconfig"? anyhow. after "make defconfig" there was no "CONFIG_VIRTIO_BLK" in it. But in "make menuconfig" i found and enabled it (also CONFIG_VIRTIO_NIC). (maybe some issues of -rc2) >> all my tries with virtio ended up with a kernel panic not finding the >> harddisk... Is virtio for the disk supported by kvm-60 and do i need to >> enable it on the command line? Without my own virtio enabled kernel >> things work just fine. >> > > Please post your command line for launching KVM. Make sure you have a > root parameter like "root=/dev/vda1". the "vda1" thing i didn't know. thanks. will also give it a try - tomorrow. Is "virtio" block device replacing SATA/SCSI - are the SCSI/SATA drivers needed on guest? thanks - Thomas ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/