File layout in kernel: Difference between revisions

From KVM
No edit summary
m (Format, contents table came after a heading before)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Architechture]]
[[Category:Architecture]] [[Category:Docs]][[Category:Historical]]
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 here:                             
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===
Here are the architecture independent files of kvm.


==== virt/kvm ====
==== virt/kvm ====
* ioapic.h
* ioapic.h
* ioapic.c
* ioapic.c
* iodev.h  
* iodev.h
* kvm_main.c
* kvm_main.c


Here are the architecture dependent files. These are files like vmx.c for Intel's HVM support or svm.c for AMD's HVM support.                                                                                   
===Architecture dependent files===


==== arch/x86/kvm ====      
These are files like vmx.c for Intel's HVM support or svm.c for AMD's HVM support.
* Kconfig  
 
==== arch/x86/kvm ====
 
* Kconfig
* Makefile
* Makefile
* i8259.c
* i8259.c
Line 34: Line 36:


==== include/linux ====
==== include/linux ====
* kvm.h
* kvm.h
* kvm_host.h
* kvm_host.h
Line 40: Line 43:


==== include/asm-x86/ ====
==== include/asm-x86/ ====
* kvm.h
* kvm.h
* kvm_host.h
* kvm_host.h
* kvm_para.h
* kvm_para.h
* kvm_x86_emulate.h
* kvm_x86_emulate.h

Latest revision as of 11:52, 1 July 2016

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