[hwsim/vm Error] Cannot open root device "root" or unknown-block(0,0): error -19
Johannes Berg
johannes
Thu Jun 18 10:38:08 PDT 2015
On Thu, 2015-06-18 at 19:54 +0300, Jouni Malinen wrote:
> On Thu, Jun 18, 2015 at 03:49:07PM +0200, Johannes Berg wrote:
> > On Thu, 2015-06-18 at 15:48 +0200, Johannes Berg wrote:
> > > On Thu, 2015-06-18 at 13:28 +0000, Rahul Jain wrote:
> > > > In my guest kernel config, CONFIG_VIRTIO & CONFIG_VIRTIO_PCI are enabled
> > >
> > > You need CONFIG_VIRTIO_BLK=y for sure. Probably _NET and _CONSOLE too.
> >
> > Oh and surely CONFIG_NET_9P_VIRTIO=y
>
> This works for me:
>
> grep VIRTIO .config | grep -v ^#
> CONFIG_NET_9P_VIRTIO=y
> CONFIG_VIRTIO=y
> CONFIG_VIRTIO_PCI=y
> CONFIG_VIRTIO_PCI_LEGACY=y
>
> (i.e., no CONFIG_VIRTIO_BLK or _NET or _CONSOLE)
Yeah you're right, we don't have the root filesystem as a block device,
so you really just need 9P (and probably 9P_VIRTIO)
johannes
More information about the Hostap
mailing list