From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH] kvmtool: README: kernel config to support virtio-blk devices Date: Tue, 8 Nov 2016 18:55:39 +0000 Message-ID: <20161108185539.GO20591@arm.com> References: <1478585309.21089.5.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org To: Xingyou Chen Return-path: Received: from foss.arm.com ([217.140.101.70]:39022 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbcKHSzi (ORCPT ); Tue, 8 Nov 2016 13:55:38 -0500 Content-Disposition: inline In-Reply-To: <1478585309.21089.5.camel@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Nov 08, 2016 at 02:08:29PM +0800, Xingyou Chen wrote: > Kernel complains as: > VFS: Cannot open root device "vda" or unknown-block(0,0): error -6 > when configured with CONFIG_VIRTIO_BLK=y according to README. > CONFIG_SCSI_VIRTIO=y is also needed to bring guest into disk fs. > > Signed-off-by: Xingyou Chen > > diff --git a/README b/README > index 5501f05..a24b451 100644 > --- a/README > +++ b/README > @@ -56,6 +56,7 @@ linux-0.2.img.bz2 >   >   - For virtio-blk devices (--disk, -d): >         CONFIG_VIRTIO_BLK=y > +       CONFIG_SCSI_VIRTIO=y >   >   - For virtio-net devices ([--network, -n] virtio): >         CONFIG_VIRTIO_NET=y I don't know how you generated this, but please use git. It's missing a cut between the commit log and the diff, as well as a diffstat. Will