]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Make FS_BASE MSR restoration VMX-specific
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 5 Apr 2015 08:52:32 +0000 (10:52 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 10 Apr 2015 07:00:53 +0000 (09:00 +0200)
commitee283bcf1818076662d897d489260f09d2b46c6c
treedc0b2f8ade41853558495a11a5de78c449590586
parent3ebc81ac17fa143d0d4794740f08117906b91055
x86: Make FS_BASE MSR restoration VMX-specific

SVM does not touch this MSR on VM exit, thus does not require the
restoration done in arch_cpu_restore so far. Make it VMX-specific so
that we can drop a few lines of code.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/setup.c
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vmx.c