diff options
author | Juergen Gross <jgross@suse.com> | 2018-02-26 15:08:18 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-02-28 16:03:19 +0100 |
commit | 71c208dd54ab971036d83ff6d9837bae4976e623 (patch) | |
tree | fb1583ab8e295eb344a60c17daf51a397dff9c63 /arch/x86/kernel/cpuid.c | |
parent | 946fbbc13dce68902f64515b610eeb2a6c3d7a64 (diff) |
x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend
Older Xen versions (4.5 and before) might have problems migrating pv
guests with MSR_IA32_SPEC_CTRL having a non-zero value. So before
suspending zero that MSR and restore it after being resumed.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Cc: stable@vger.kernel.org
Cc: xen-devel@lists.xenproject.org
Cc: boris.ostrovsky@oracle.com
Link: https://lkml.kernel.org/r/20180226140818.4849-1-jgross@suse.com
Diffstat (limited to 'arch/x86/kernel/cpuid.c')
0 files changed, 0 insertions, 0 deletions