]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Retrieve vcpu_mmio_intercept from vcpu_handle_mmio_access
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Apr 2015 11:07:03 +0000 (13:07 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commite9e346780e98c49f0a799abdc3463be4e726ab34
tree2325de2ace379468e0c35191f57b2782b4eaef20
parent77f7ca835b53b2f4088e41279123c706bbfcc0ef
x86: Retrieve vcpu_mmio_intercept from vcpu_handle_mmio_access

Analogously to vcpu_handle_io_access, define the vendor callback
vcpu_vendor_get_mmio_intercept and call it from vcpu_handle_mmio_access
instead of passing it to the handler. For consistency reasons, rename
vcpu_pf_intercept to vcpu_mmio_intercept.

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