linux/drivers/kvm
Carsten Otte a03490ed29 KVM: Portability: Move control register helper functions to x86.c
This patch moves the definitions of CR0_RESERVED_BITS,
CR4_RESERVED_BITS, and CR8_RESERVED_BITS along with the following
functions from kvm_main.c to x86.c:
set_cr0(), set_cr3(), set_cr4(), set_cr8(), get_cr8(), lmsw(),
load_pdptrs()
The static function wrapper inject_gp is duplicated in kvm_main.c and
x86.c for now, the version in kvm_main.c should disappear once the last
user of it is gone too.
The function load_pdptrs is no longer static, and now defined in x86.h
for the time being, until the last user of it is gone from kvm_main.c.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-01-30 17:52:58 +02:00
..
Kconfig Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
Makefile KVM: Move x86 msr handling to new files x86.[ch] 2008-01-30 17:52:51 +02:00
i8259.c KVM: Export PIC reset for kernel device reset 2008-01-30 17:52:55 +02:00
ioapic.c KVM: Split IOAPIC reset function and export for kernel RESET 2008-01-30 17:52:55 +02:00
irq.c KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1) 2008-01-30 17:52:54 +02:00
irq.h KVM: Split IOAPIC reset function and export for kernel RESET 2008-01-30 17:52:55 +02:00
kvm.h KVM: Portability: Split kvm_vm_ioctl v3 2008-01-30 17:52:57 +02:00
kvm_main.c KVM: Portability: Move control register helper functions to x86.c 2008-01-30 17:52:58 +02:00
kvm_svm.h KVM: Dynamically allocate vcpus 2007-10-13 10:18:20 +02:00
lapic.c KVM: Portability: Split kvm_vcpu into arch dependent and independent parts (part 1) 2008-01-30 17:52:54 +02:00
mmu.c KVM: MMU: Topup the mmu memory preallocation caches before emulating an insn 2008-01-30 17:52:57 +02:00
paging_tmpl.h KVM: MMU: Partial swapping of guest memory 2008-01-30 17:52:54 +02:00
segment_descriptor.h KVM: Portability: Move memory segmentation to x86.c 2008-01-30 17:52:57 +02:00
svm.c KVM: Move page fault processing to common code 2008-01-30 17:52:57 +02:00
svm.h KVM: CodingStyle cleanup 2008-01-30 17:52:50 +02:00
vmx.c KVM: Move page fault processing to common code 2008-01-30 17:52:57 +02:00
vmx.h KVM: CodingStyle cleanup 2008-01-30 17:52:50 +02:00
x86.c KVM: Portability: Move control register helper functions to x86.c 2008-01-30 17:52:58 +02:00
x86.h KVM: Portability: Move control register helper functions to x86.c 2008-01-30 17:52:58 +02:00
x86_emulate.c KVM: x86 emulator: don't depend on cr2 for mov abs emulation 2008-01-30 17:52:57 +02:00
x86_emulate.h KVM: x86 emulator: Remove no_wb, use dst.type = OP_NONE instead 2008-01-30 17:52:49 +02:00