kvmtool: README: kernel config to support virtio-blk devices
PATCH 1/1 kvmtool: README: kernel config to support virtio-blk devices
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.
README +0 -0
@@ -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
Quoted 12 lines · Xingyou Chen
Kernel complains as:
VFS: Cannot open root device "vda" or unknown-block(0,0): error -6 when configured withCONFIG_VIRTIO_BLK=yaccording to README.CONFIG_SCSI_VIRTIO=yis also needed to bring guest into disk fs.Signed-off-by Xingyou Chen <[email protected]>README +0
-0@@ -56,6 +56,7 @@ linux-0.2.img.bz2
Quoted 7 lines
- 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
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.
---
README | 1 +
1 file changed, 1 insertion(+)
README +0 -0
@@ -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