From: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [kvm-ppc-devel] [PATCH] Add powerpc dcr callbacks to kvm callback structrure
Date: Wed, 02 Jan 2008 14:47:34 -0600 [thread overview]
Message-ID: <1199306854.15953.16.camel@basalt> (raw)
In-Reply-To: <bf828ac70dde1dfa4f67.1199305755@thinkpad>
What is the plan here, to ifdef the arch-specific callbacks? If so,
'tpr_access' is an obvious candidate...
--
Hollis Blanchard
IBM Linux Technology Center
On Wed, 2008-01-02 at 14:29 -0600, Jerone Young wrote:
> # 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/
> _______________________________________________
> kvm-ppc-devel mailing list
> kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel
-------------------------------------------------------------------------
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/
next prev parent reply other threads:[~2008-01-02 20:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-02 20:29 [PATCH] Add powerpc dcr callbacks to kvm callback structrure Jerone Young
2008-01-02 20:47 ` Hollis Blanchard [this message]
2008-01-02 20:54 ` [kvm-ppc-devel] " Jerone Young
2008-01-03 15:47 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1199306854.15953.16.camel@basalt \
--to=hollisb-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox