]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Add generic NPF handler for AMD-V code
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Sun, 28 Sep 2014 12:29:09 +0000 (18:29 +0600)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 1 Nov 2014 19:10:09 +0000 (20:10 +0100)
commita351c549673f2eebf3277cf9e23f8a582f808268
treead586d0a447790302ae6f8ed7220b9bb2476c2fe
parent02e93fee48f337306e3980f79725a7ea1e2166ba
x86: Add generic NPF handler for AMD-V code

This completes Nested Page Fault handler introduced in the previous commit
with generic NPF handling route. The actual handling code is shared between
VMX and SVM, so we simply need to call vcpu_handle_pt_violation() and
implement the appropriate data wrapper.

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