]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
kvm: add stubs for arch specific debugfs support
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 7 Sep 2016 18:47:23 +0000 (14:47 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Sep 2016 14:57:47 +0000 (16:57 +0200)
commit235539b48a2357da28f52d66d04bec04f3dcb9dd
treeb531cda00146261ebc19ff89edbb2e5753c0c5c1
parent9d5a1dcebfbe0e421412fcf5ab86d30e2e65bab4
kvm: add stubs for arch specific debugfs support

Two stubs are added:

 o kvm_arch_has_vcpu_debugfs(): must return true if the arch
   supports creating debugfs entries in the vcpu debugfs dir
   (which will be implemented by the next commit)

 o kvm_arch_create_vcpu_debugfs(): code that creates debugfs
   entries in the vcpu debugfs dir

For x86, this commit introduces a new file to avoid growing
arch/x86/kvm/x86.c even more.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm/kvm/arm.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/Makefile
arch/x86/kvm/debugfs.c [new file with mode: 0644]
include/linux/kvm_host.h