diff options
author | Avi Kivity <avi@qumranet.com> | 2007-09-15 17:34:36 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 10:18:29 +0200 |
commit | 0967b7bf1c22b55777aba46ff616547feed0b141 (patch) | |
tree | f855d1f25943dfd8cb6e40f0e81744f1e32d98e0 /include | |
parent | 535eabcf0e55804b53d27fe45217d874b19bcfa9 (diff) |
KVM: Skip pio instruction when it is emulated, not executed
If we defer updating rip until pio instructions are executed, we have a
problem with reset: a pio reset updates rip, and when the instruction
completes we skip the emulated instruction, pointing rip somewhere completely
unrelated.
Fix by updating rip when we see decode the instruction, not after emulation.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions