]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Factor out vcpu_handle_xsetbv
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 3 Apr 2015 13:04:33 +0000 (15:04 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:52 +0000 (09:00 +0200)
commit698dcf0a5f559f00dcf6587f170ecda7ee3dc218
tree71d5ddc4899a1ff7f4a7757f786df490a542714c
parente9e346780e98c49f0a799abdc3463be4e726ab34
x86: Factor out vcpu_handle_xsetbv

The handling logic is fully shared between AMD and Intel CPUs.
Consolidate it.

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