From 7ba1c7df881855422f9a475862565e94c8421b75 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 15 Aug 2018 14:25:19 +0200 Subject: [PATCH] x86: write to correct variable in parse_pv_l1tf() Apparently a copy-and-paste mistake. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper master commit: 57c554f8a6e06894f601d977d18b3017d2a60f40 master date: 2018-08-15 14:15:30 +0200 --- xen/arch/x86/spec_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index ea75aa4254..6145c9892a 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -214,7 +214,7 @@ static __init int parse_pv_l1tf(char *s) /* Interpret 'pv-l1tf' alone in its positive boolean form. */ if ( *s == '\0' ) - opt_xpti = OPT_PV_L1TF_DOM0 | OPT_PV_L1TF_DOMU; + opt_pv_l1tf = OPT_PV_L1TF_DOM0 | OPT_PV_L1TF_DOMU; do { ss = strchr(s, ','); -- 2.39.5