diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-01-21 21:48:05 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-01-23 02:27:20 -0200 |
commit | 646042e1aba31f377892e48f6145fbc8487d4481 (patch) | |
tree | 53e3344244f7578cc89b4f923bfa635813c0d6e5 /target-i386/kvm.c | |
parent | a426e122173f36f05ea2cb72dcff77b7408546ce (diff) |
kvm: x86: Swallow KVM_EXIT_SET_TPR
This exit only triggers activity in the common exit path, but we should
accept it in order to be able to detect unknown exit types.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386/kvm.c')
-rw-r--r-- | target-i386/kvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index fda07d2a00..0aeb079004 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -1534,6 +1534,9 @@ int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run) DPRINTF("handle_hlt\n"); ret = kvm_handle_halt(env); break; + case KVM_EXIT_SET_TPR: + ret = 1; + break; } return ret; |