diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-03-18 15:20:26 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:16:29 +0300 |
commit | 5cd21917da245fbe98bd443de2c7f519b3df6814 (patch) | |
tree | 0bb2d4ee197011a92002a5cc32d19758a1e87ed0 /tools/perf/scripts/python/syscall-counts.py | |
parent | cb404fe0898779ec5fe5e06e90aaddcf40aefad8 (diff) |
KVM: x86 emulator: restart string instruction without going back to a guest.
Currently when string instruction is only partially complete we go back
to a guest mode, guest tries to reexecute instruction and exits again
and at this point emulation continues. Avoid all of this by restarting
instruction without going back to a guest mode, but return to a guest
mode each 1024 iterations to allow interrupt injection. Pending
exception causes immediate guest entry too.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions