From: Jes Sorensen <jes@sgi.com> To: Avi Kivity <avi@qumranet.com>, "kvm-ia64@vger.kernel.org" <kvm-ia64@vger.kernel.org>, "kvm@vger.kernel.org" <kvm@vger.kernel.org> Subject: [patch] ia64 - expose registers in struct kvm_regs Date: Thu, 08 Jan 2009 13:58:48 +0100 [thread overview] Message-ID: <4965F888.5010906@sgi.com> (raw) [-- Attachment #1: Type: text/plain, Size: 127 bytes --] Hi, I think this one got lost in the battle. Would you mind sticking it in or do you want me to send it to Tony? Cheers, Jes [-- Attachment #2: 3000-kvm-vpd-union.patch --] [-- Type: text/plain, Size: 1356 bytes --] Provided register layout for struct kvm_regs exposed to userland. Signed-off-by: Jes Sorensen <jes@sgi.com> --- arch/ia64/include/asm/kvm.h | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) Index: linux-2.6.git/arch/ia64/include/asm/kvm.h =================================================================== --- linux-2.6.git.orig/arch/ia64/include/asm/kvm.h +++ linux-2.6.git/arch/ia64/include/asm/kvm.h @@ -162,7 +162,40 @@ unsigned long vcpuid[5]; unsigned long vpsr; unsigned long vpr; - unsigned long vcr[128]; + union { + unsigned long vcr[128]; + struct { + unsigned long dcr; + unsigned long itm; + unsigned long iva; + unsigned long rsv1[5]; + unsigned long pta; + unsigned long rsv2[7]; + unsigned long ipsr; + unsigned long isr; + unsigned long rsv3; + unsigned long iip; + unsigned long ifa; + unsigned long itir; + unsigned long iipa; + unsigned long ifs; + unsigned long iim; + unsigned long iha; + unsigned long rsv4[38]; + unsigned long lid; + unsigned long ivr; + unsigned long tpr; + unsigned long eoi; + unsigned long irr[4]; + unsigned long itv; + unsigned long pmv; + unsigned long cmcv; + unsigned long rsv5[5]; + unsigned long lrr0; + unsigned long lrr1; + unsigned long rsv6[46]; + }; + }; }; struct kvm_regs {
WARNING: multiple messages have this Message-ID (diff)
From: Jes Sorensen <jes@sgi.com> To: kvm-ia64@vger.kernel.org Subject: [patch] ia64 - expose registers in struct kvm_regs Date: Thu, 08 Jan 2009 12:58:48 +0000 [thread overview] Message-ID: <4965F888.5010906@sgi.com> (raw) [-- Attachment #1: Type: text/plain, Size: 127 bytes --] Hi, I think this one got lost in the battle. Would you mind sticking it in or do you want me to send it to Tony? Cheers, Jes [-- Attachment #2: 3000-kvm-vpd-union.patch --] [-- Type: text/plain, Size: 1356 bytes --] Provided register layout for struct kvm_regs exposed to userland. Signed-off-by: Jes Sorensen <jes@sgi.com> --- arch/ia64/include/asm/kvm.h | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) Index: linux-2.6.git/arch/ia64/include/asm/kvm.h =================================================================== --- linux-2.6.git.orig/arch/ia64/include/asm/kvm.h +++ linux-2.6.git/arch/ia64/include/asm/kvm.h @@ -162,7 +162,40 @@ unsigned long vcpuid[5]; unsigned long vpsr; unsigned long vpr; - unsigned long vcr[128]; + union { + unsigned long vcr[128]; + struct { + unsigned long dcr; + unsigned long itm; + unsigned long iva; + unsigned long rsv1[5]; + unsigned long pta; + unsigned long rsv2[7]; + unsigned long ipsr; + unsigned long isr; + unsigned long rsv3; + unsigned long iip; + unsigned long ifa; + unsigned long itir; + unsigned long iipa; + unsigned long ifs; + unsigned long iim; + unsigned long iha; + unsigned long rsv4[38]; + unsigned long lid; + unsigned long ivr; + unsigned long tpr; + unsigned long eoi; + unsigned long irr[4]; + unsigned long itv; + unsigned long pmv; + unsigned long cmcv; + unsigned long rsv5[5]; + unsigned long lrr0; + unsigned long lrr1; + unsigned long rsv6[46]; + }; + }; }; struct kvm_regs {
next reply other threads:[~2009-01-08 12:58 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-08 12:58 Jes Sorensen [this message] 2009-01-08 12:58 ` [patch] ia64 - expose registers in struct kvm_regs Jes Sorensen 2009-01-08 13:50 ` Zhang, Xiantao 2009-01-08 13:50 ` Zhang, Xiantao 2009-01-08 14:12 ` Jes Sorensen 2009-01-08 14:12 ` Jes Sorensen 2009-01-08 14:01 ` Avi Kivity 2009-01-08 14:01 ` 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=4965F888.5010906@sgi.com \ --to=jes@sgi.com \ --cc=avi@qumranet.com \ --cc=kvm-ia64@vger.kernel.org \ --cc=kvm@vger.kernel.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.