Message ID | 1478585309.21089.5.camel@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 --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
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