]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Retrieve vcpu_io_intercept from vcpu_handle_io_access
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Apr 2015 10:23:09 +0000 (12:23 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commitf67a94e567cb274a98895459c9242cc224606040
treece980ed5e77efb569a5d814905d9e88b021c2597
parent35af38ebdfefd31e43e3b8644bc10b16b990e452
x86: Retrieve vcpu_io_intercept from vcpu_handle_io_access

Convert the vendor-specific functions into vcpu_vendor_get_io_intercept
and invoke that one from vcpu_handle_io_access. That offloads this
burden from the callers of vcpu_handle_io_access and takes us further
towards consistent vendor callbacks for such purposes.

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