[PATCH] kvm: reinstate TPR access reporting support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Recent refactoring for commonality with upstream dropped
support for this.

Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
---
 target-i386/kvm.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index bccd87c..316057a 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -1926,6 +1926,11 @@ int kvm_arch_handle_exit(CPUState *env, struct kvm_run *run)
         ret = kvm_handle_debug(&run->debug.arch);
         break;
 #endif /* KVM_CAP_SET_GUEST_DEBUG */
+#ifdef KVM_EXIT_TPR_ACCESS
+    case KVM_EXIT_TPR_ACCESS:
+        ret = kvm_handle_tpr_access(env);
+        break;
+#endif
     default:
         fprintf(stderr, "KVM: unknown exit reason %d\n", run->exit_reason);
         ret = -1;
-- 
1.7.5.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux