kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xingyou Chen <niatlantice@gmail.com>
To: Will Deacon <will.deacon@arm.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH] kvmtool: README: kernel config to support virtio-blk devices
Date: Wed, 09 Nov 2016 10:56:07 +0800	[thread overview]
Message-ID: <1478660167.29369.2.camel@gmail.com> (raw)
In-Reply-To: <20161108185539.GO20591@arm.com>

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 <niatlantice@gmail.com>
---
 README | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.10.2


      reply	other threads:[~2016-11-09  2:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08  6:08 [PATCH] kvmtool: README: kernel config to support virtio-blk devices Xingyou Chen
2016-11-08 18:55 ` Will Deacon
2016-11-09  2:56   ` Xingyou Chen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478660167.29369.2.camel@gmail.com \
    --to=niatlantice@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).