Re: [PATCH 2/2] kvm tools: Add virtio-9p

Sasha Levin
2011-05-17T20:27:37Z

On Tue, 2011-05-17 at 22:08 +0300, Sasha Levin wrote:
> 'kvm_9p' isn't created as a device under /dev, it's just a name used
> internally by 9pnet_virtio (and located under sysfs).
>
> I couldn't figure out which params the kernel would expect to boot using
> 9p over virtio (theres no device name to begin with).
>
> I've also couldn't find anything that suggested it's possible to boot
> using virtio-9p as rootfs.

Ignore that.

Naming the virtio transport "/dev/root" and passing proper params to the
kernel makes it work:

[ 1.844983] VFS: Mounted root (9p filesystem) on device 0:11.

I'll make some changes to the virtio-9p patch to make it easier for the
user to do that.

--

Sasha.