diff options
-rw-r--r-- | drivers/kvm/x86_emulate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index 1b800fc00342..1f979cb0df31 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c | |||
@@ -1178,6 +1178,8 @@ pop_instruction: | |||
1178 | twobyte_insn: | 1178 | twobyte_insn: |
1179 | switch (b) { | 1179 | switch (b) { |
1180 | case 0x01: /* lgdt, lidt, lmsw */ | 1180 | case 0x01: /* lgdt, lidt, lmsw */ |
1181 | /* Disable writeback. */ | ||
1182 | no_wb = 1; | ||
1181 | switch (modrm_reg) { | 1183 | switch (modrm_reg) { |
1182 | u16 size; | 1184 | u16 size; |
1183 | unsigned long address; | 1185 | unsigned long address; |