]> Git Repo - qemu.git/commitdiff
kvm: x86: Swallow KVM_EXIT_SET_TPR
authorJan Kiszka <[email protected]>
Fri, 21 Jan 2011 20:48:05 +0000 (21:48 +0100)
committerMarcelo Tosatti <[email protected]>
Sun, 23 Jan 2011 04:27:20 +0000 (02:27 -0200)
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 <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
target-i386/kvm.c

index fda07d2a00f3d587f7e1c2b6433c01ab5818a6d7..0aeb0790043d2584f171db3ddfc61f6f6b9a96f4 100644 (file)
@@ -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;
This page took 0.024257 seconds and 4 git commands to generate.