From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 2/2] kvm tools: Add virtio-9p Date: Tue, 17 May 2011 23:27:31 +0300 Message-ID: <1305664052.12150.43.camel@sasha> References: <1305657337-2584-1-git-send-email-levinsasha928@gmail.com> <1305657337-2584-2-git-send-email-levinsasha928@gmail.com> <20110517184023.GC16689@elte.hu> <1305659307.12150.37.camel@sasha> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: penberg@kernel.org, asias.hejun@gmail.com, prasadjoshi124@gmail.com, gorcunov@gmail.com, kvm@vger.kernel.org To: Ingo Molnar Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:51453 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902Ab1EQU1h (ORCPT ); Tue, 17 May 2011 16:27:37 -0400 Received: by fxm17 with SMTP id 17so728422fxm.19 for ; Tue, 17 May 2011 13:27:36 -0700 (PDT) In-Reply-To: <1305659307.12150.37.camel@sasha> Sender: kvm-owner@vger.kernel.org List-ID: 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.