public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add powerpc dcr callbacks to kvm callback structrure
@ 2008-01-02 20:29 Jerone Young
  2008-01-02 20:47 ` [kvm-ppc-devel] " Hollis Blanchard
  0 siblings, 1 reply; 4+ messages in thread
From: Jerone Young @ 2008-01-02 20:29 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

# HG changeset patch
# User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
# Date 1199305658 21600
# Node ID bf828ac70dde1dfa4f67e4774a884669306423e6
# Parent  8161d444f7c37be9bdbfaac338d58301b00f2961
Add powerpc dcr callbacks to kvm callback structrure

This patch adds dcr call back function to the kvm callback structure
for powerpc.

This patch accidently was not submitted with the last patch.

Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -65,6 +65,10 @@ struct kvm_callbacks {
     void (*post_kvm_run)(void *opaque, int vcpu);
     int (*pre_kvm_run)(void *opaque, int vcpu);
     int (*tpr_access)(void *opaque, int vcpu, uint64_t rip, int is_write);
+#if defined(__powerpc__)
+    int (*powerpc_dcr_read)(kvm_context_t kvm, uint32_t dcrn, uint32_t *data);
+    int (*powerpc_dcr_write)(kvm_context_t kvm, uint32_t dcrn, uint32_t data);
+#endif
 };
 
 /*!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-03 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 20:29 [PATCH] Add powerpc dcr callbacks to kvm callback structrure Jerone Young
2008-01-02 20:47 ` [kvm-ppc-devel] " Hollis Blanchard
2008-01-02 20:54   ` Jerone Young
2008-01-03 15:47     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox