[PATCH] kvm: Two-way apic tpr synchronization
authorDor Laor <dor.laor@qumranet.com>
Mon, 12 Feb 2007 08:54:39 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:40 +0000 (09:48 -0800)
commit54810342f1372afdaf6cb9a6aea0c35df187db12
tree97775733e60a5875f88f30c38a69ba278479299a
parentd92899a0014aa795c21d3cf726ef5ff7684399f4
[PATCH] kvm: Two-way apic tpr synchronization

We report the value of cr8 to userspace on an exit.  Also let userspace change
cr8 when we re-enter the guest.  The lets 64-bit guest code maintain the tpr
correctly.

Thanks for Yaniv Kamay for the idea.

Signed-off-by: Dor Laor <dor.laor@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/kvm/kvm_main.c
include/linux/kvm.h