On Tue, Mar 23, 2010 at 06:39:58PM +0200, Avi Kivity wrote:
This enumeration is a very small and non-intrusive feature. Making it
aware of namespaces is easy too.
Who would be the consumer of such notifications? A 'perf kvm list' can
live without I guess. If we need them later we can still add them.
My statement was not limited to enumeration, I should have been more
clear about that. The guest filesystem access-channel is another
affected part. The 'perf kvm top' command will access the guest
filesystem regularly and going over qemu would be more overhead here.
Providing this in the KVM module directly also has the benefit that it
would work out-of-the-box with different userspaces too. Or do we want
to limit 'perf kvm' to the libvirt-qemu-kvm software stack?
Sidenote: I really think we should come to a conclusion about the
concept. KVM integration into perf is very useful feature to
analyze virtualization workloads.
Thanks,
Joerg
--