]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Prepare for AMD-V data structures
authorValentine Sinitsyn <valentine.sinitsyn@gmail.com>
Wed, 29 Oct 2014 10:10:10 +0000 (15:10 +0500)
committerJan Kiszka <jan.kiszka@siemens.com>
Sat, 1 Nov 2014 08:09:09 +0000 (09:09 +0100)
commit982f25c88f8bad0f9e7d3a26697bfe998ed80966
tree5a606ab2c28f6a1dff4b7758dcd3004cd9046431
parent2abdfeb2668f888dcc2a4ffd8a369760c27a7f59
x86: Prepare for AMD-V data structures

VMX-specific data members in struct cell and struct per_cpu were "unionized"
to avoid #ifdefs later, when AMD-V members will be introduced. As a part of these
changes, I/O bitmap became heap-allocated to make this field equally-sized for
both VMX and SVM.

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