Re: [RFC] Unify KVM kernel-space and user-space code into a single project

From: Javier Guerra Giraldez
Date: Tue Mar 23 2010 - 15:05:59 EST


On Tue, Mar 23, 2010 at 2:21 PM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
> On Tue, Mar 23, 2010 at 06:39:58PM +0200, Avi Kivity wrote:
>> So, two users can't have a guest named MyGuest each? ÂWhat about
>> namespace support? ÂThere's a lot of work in virtualizing all kernel
>> namespaces, you're adding to that.
>
> This enumeration is a very small and non-intrusive feature. Making it
> aware of namespaces is easy too.

an outsider's comment: this path leads to a filesystem... which could
be a very nice idea. it could have a directory for each VM, with
pseudo-files with all the guest's status, and even the memory it's
using. perf could simply watch those files. in fact, such a
filesystem could be the main userleve/kernel interface.

but i'm sure such a layour was considered (and rejected) very early in
the KVM design. i don't think there's anything new to make it more
desirable than it was back then.


--
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/