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

From: Ingo Molnar
Date: Mon Mar 22 2010 - 16:32:41 EST



* Anthony Liguori <anthony@xxxxxxxxxxxxx> wrote:

> On 03/22/2010 02:22 PM, Ingo Molnar wrote:
> >>Transitive had a product that was using a KVM context to run their
> >>binary translator which allowed them full access to the host
> >>processes virtual address space range. In this case, there is no
> >>kernel and there are no devices.
> >
> > And your point is that such vcpus should be excluded from profiling just
> > because they fall outside the Qemu/libvirt umbrella?
>
> You don't instrument it the way you'd instrument an operating system so no,
> you don't want it to show up in perf kvm top.

Erm, why not? It's executing a virtualized CPU, so sure it makes sense to
allow the profiling of it!

It might even not be the weird case you mentioned by some competing
virtualization project to Qemu ...

So your argument is wrong on several technical levels, sorry.

Thanks,

Ingo
--
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/