Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63703
b: refs/heads/master
c: bac27d3
h: refs/heads/master
i:
  63701: 8c6f5bf
  63699: 58d0446
  63695: eb16bcd
v: v3
  • Loading branch information
Avi Kivity authored and Linus Torvalds committed Aug 7, 2007
1 parent 3d0099c commit 2e53035
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e865f58da5ff0a9c19669a49ac984117711757a
refs/heads/master: bac27d35cbbf7c641efcc75b5330df8717d6db65
2 changes: 2 additions & 0 deletions trunk/drivers/kvm/x86_emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1217,11 +1217,13 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
}
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]);
Expand Down

0 comments on commit 2e53035

Please sign in to comment.