All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xingyou Chen <niatlantice@gmail.com>
To: kvm@vger.kernel.org
Cc: will.deacon@arm.com
Subject: [PATCH] kvmtool: README: kernel config to support virtio-blk devices
Date: Tue, 08 Nov 2016 14:08:29 +0800	[thread overview]
Message-ID: <1478585309.21089.5.camel@gmail.com> (raw)

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>

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

             reply	other threads:[~2016-11-08  7:08 UTC|newest]

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

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=1478585309.21089.5.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.