File layout in kernel

From KVM
Revision as of 12:52, 1 July 2016 by Ikalvarado (talk | contribs) (Format, contents table came after a heading before)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The first kvm releases its file in the directory drivers/kvm/, but since around December 2007 it is pushed into virt/kvm directory in the kernel source tree. Other files are also listed here.

Architecture independent files of kvm

virt/kvm

  • ioapic.h
  • ioapic.c
  • iodev.h
  • kvm_main.c

Architecture dependent files

These are files like vmx.c for Intel's HVM support or svm.c for AMD's HVM support.

arch/x86/kvm

  • Kconfig
  • Makefile
  • i8259.c
  • irq.c
  • irq.h
  • kvm_svm.h
  • lapic.c
  • lapic.h
  • mmu.c
  • mmu.h
  • paging_tmpl.h
  • segment_descriptor.h
  • svm.c
  • svm.h
  • vmx.c
  • vmx.h
  • x86.c
  • x86_emulate.c

include/linux

  • kvm.h
  • kvm_host.h
  • kvm_para.h
  • kvm_x86_emulate.h

include/asm-x86/

  • kvm.h
  • kvm_host.h
  • kvm_para.h
  • kvm_x86_emulate.h