]> xenbits.xensource.com Git - xen.git/commitdiff
x86: write to correct variable in parse_pv_l1tf()
authorJan Beulich <jbeulich@suse.com>
Wed, 15 Aug 2018 12:26:02 +0000 (14:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Aug 2018 12:26:02 +0000 (14:26 +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 c3f04a21379c31174160552b1f80544ff758af9c..748dac7fcec40b858debdc07c33dd5b768b45f3f 100644 (file)
@@ -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, ',');