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

I/O VM exit handling code can now be used for any vendor.
This implies introducing struct vcpu_io_intercept to communicate
intercepted instruction properties like the port number and access
size between vendor-specific and generic code.

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