diff mbox

kvmtool: README: kernel config to support virtio-blk devices

Message ID 1478585309.21089.5.camel@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Xingyou Chen Nov. 8, 2016, 6:08 a.m. UTC
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>

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Will Deacon Nov. 8, 2016, 6:55 p.m. UTC | #1
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 <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

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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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