]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Make vcpu_handle_pt_violation() generic
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Sat, 16 Aug 2014 19:46:44 +0000 (01:46 +0600)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Oct 2014 11:47:37 +0000 (13:47 +0200)
commit1c5000dd9cdde180620ed2bcc6f97218498e7e90
tree6df618403f50a39475bc2ffe76efc5bcdfbc8fbd
parent46ad4efeb8c16115168ad88b22f57a9407e41b63
x86: Make vcpu_handle_pt_violation() generic

Finally, page fault handling in guests was generalized and can now
be called for any vendor. To communicate page fault details between
vendor-specific and generic code, struct vcpu_pf_intercept was introduced,
and vcpu_get_guest_paging_structures() was made public (i.e. non-static).

Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/include/asm/vcpu.h
hypervisor/arch/x86/vcpu.c
hypervisor/arch/x86/vmx.c