projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a426e12
)
kvm: x86: Swallow KVM_EXIT_SET_TPR
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 21 Jan 2011 20:48:05 +0000
(21:48 +0100)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
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 <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
target-i386/kvm.c
patch
|
blob
|
history
diff --git
a/target-i386/kvm.c
b/target-i386/kvm.c
index fda07d2a00f3d587f7e1c2b6433c01ab5818a6d7..0aeb0790043d2584f171db3ddfc61f6f6b9a96f4 100644
(file)
--- 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;