diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-04-15 21:03:50 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 12:17:55 +0300 |
commit | acb5451789f21ad51215897bb8f9306a05e8acd4 (patch) | |
tree | 7ab1d73a9b4fbbc82a5a2a98dda701a81c4eaf33 /lib/hexdump.c | |
parent | 6b18493d60e7f54a0feb771fa141b5fcb72ce1e4 (diff) |
KVM: prevent spurious exit to userspace during task switch emulation.
If kvm_task_switch() fails code exits to userspace without specifying
exit reason, so the previous exit reason is reused by userspace. Fix
this by specifying exit reason correctly.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions