• J
    KVM: Create debugfs dir and stat files for each VM · 536a6f88
    Janosch Frank 提交于
    This patch adds a kvm debugfs subdirectory for each VM, which is named
    after its pid and file descriptor. The directories contain the same
    kind of files that are already in the kvm debugfs directory, but the
    data exported through them is now VM specific.
    
    This makes the debugfs kvm data a convenient alternative to the
    tracepoints which already have per VM data. The debugfs data is easy
    to read and low overhead.
    
    CC: Dan Carpenter <dan.carpenter@oracle.com> [includes fixes by Dan Carpenter]
    Signed-off-by: NJanosch Frank <frankja@linux.vnet.ibm.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    536a6f88
kvm_host.h 33.8 KB