From: Jan Beulich Date: Wed, 15 Aug 2018 12:20:24 +0000 (+0200) Subject: x86: write to correct variable in parse_pv_l1tf() X-Git-Tag: RELEASE-4.11.1~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=733450b39b83d7891ddd931399beef93e1edbf33;p=people%2Fdwmw2%2Fxen.git 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 --- diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index f0c50d6703..c430b25b84 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -232,7 +232,7 @@ static __init int parse_pv_l1tf(const 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, ',');