kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kvmtool: README: kernel config to support virtio-blk devices
@ 2016-11-08  6:08 Xingyou Chen
  2016-11-08 18:55 ` Will Deacon
  0 siblings, 1 reply; 3+ messages in thread
From: Xingyou Chen @ 2016-11-08  6:08 UTC (permalink / raw)
  To: kvm; +Cc: will.deacon

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-09  2:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).