]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
x86: write to correct variable in parse_pv_l1tf()
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Aug 2018 12:20:24 +0000 (14:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Aug 2018 12:20:24 +0000 (14:20 +0200)
Apparently a copy-and-paste mistake.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 57c554f8a6e06894f601d977d18b3017d2a60f40
master date: 2018-08-15 14:15:30 +0200

xen/arch/x86/spec_ctrl.c

index f0c50d67035ccd0c353ba19ca3c6cf6ba577a153..c430b25b840b6dc1474ba75963cc54a1b6f3aa47 100644 (file)
@@ -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, ',');