]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Remove guest registers parameter from vcpu_handle_xsetbv
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 6 Apr 2015 18:19:34 +0000 (20:19 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commit5233c243dbd19ceb059fbd6ef311bd06b7bac009
treeafafa952ab1d961509f668628308a13fcee73adc
parent0b82e37052971d00fcdb4e39cc8bc7a40f727c8b
x86: Remove guest registers parameter from vcpu_handle_xsetbv

The function only works against the current CPU, thus should avoid to
take the misleading parameter. The necessary reference can be obtained
from the per-cpu data structure now.

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