commit 80917728e43e248155c019f743655806b582b099
KVM: x86 emulator: disable writeback for debug register instructions
These are handled internally by the instruction.
Signed-off-by Avi Kivity <[email protected]>
drivers/kvm/x86_emulate.c +2 -0
@@ -1222,11 +1222,13 @@ twobyte_insn: }break ;case 0x21 :/* mov from dr to reg */ + no_wb =1 ;if (modrm_mod !=3 ) goto cannot_emulate; rc =emulator_get_dr (ctxt, modrm_reg, &_regs[modrm_rm]);break ;case 0x23 :/* mov from reg to dr */ + no_wb =1 ;if (modrm_mod !=3 ) goto cannot_emulate; rc =emulator_set_dr (ctxt, modrm_reg, _regs[modrm_rm]);
Quoted 7 lines · Avi Kivity
KVM: x86 emulator: disable writeback for debug register instructions
These are handled internally by the instruction.
Signed-off-by Avi Kivity <[email protected]>
Sorry, junk that. Fingers (or brain) slipped. Better one coming up.
Signature · 1 line
error compiling committee.c: too many arguments to function