aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorGuillaume Thouvenin <[email protected]>2008-10-28 10:51:30 +0100
committerAvi Kivity <[email protected]>2008-12-31 16:51:48 +0200
commite93f36bcfaa9e899c595e1c446c784a69021854a (patch)
tree25a506f2427ee4cd8f7197a7748fc90efd0bf7b8 /include/linux/debugobjects.h
parentc0d09828c870f90c6bc72070ada281568f89c63b (diff)
KVM: allow emulator to adjust rip for emulated pio instructions
If we call the emulator we shouldn't call skip_emulated_instruction() in the first place, since the emulator already computes the next rip for us. Thus we move ->skip_emulated_instruction() out of kvm_emulate_pio() and into handle_io() (and the svm equivalent). We also replaced "return 0" by "break" in the "do_io:" case because now the shadow register state needs to be committed. Otherwise eip will never be updated. Signed-off-by: Guillaume Thouvenin <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions