* [patch] ia64 - expose registers in struct kvm_regs
@ 2009-01-08 12:58 Jes Sorensen
2009-01-08 13:50 ` Zhang, Xiantao
2009-01-08 14:01 ` Avi Kivity
0 siblings, 2 replies; 4+ messages in thread
From: Jes Sorensen @ 2009-01-08 12:58 UTC (permalink / raw)
To: Avi Kivity, kvm-ia64@vger.kernel.org, kvm@vger.kernel.org
[-- 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 {
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: [patch] ia64 - expose registers in struct kvm_regs
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 14:12 ` Jes Sorensen
2009-01-08 14:01 ` Avi Kivity
1 sibling, 1 reply; 4+ messages in thread
From: Zhang, Xiantao @ 2009-01-08 13:50 UTC (permalink / raw)
To: Jes Sorensen, Avi Kivity, kvm-ia64@vger.kernel.org,
kvm@vger.kernel.org
Avi can pickup it into kvm.git, and seems it is unnecessary to push into 2.6.29, right ?
Xiantao
Jes Sorensen wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] ia64 - expose registers in struct kvm_regs
2009-01-08 13:50 ` Zhang, Xiantao
@ 2009-01-08 14:12 ` Jes Sorensen
0 siblings, 0 replies; 4+ messages in thread
From: Jes Sorensen @ 2009-01-08 14:12 UTC (permalink / raw)
To: Zhang, Xiantao; +Cc: Avi Kivity, kvm-ia64@vger.kernel.org, kvm@vger.kernel.org
Zhang, Xiantao wrote:
> Avi can pickup it into kvm.git, and seems it is unnecessary to push into 2.6.29, right ?
> Xiantao
Yes, it's not urgent, if we get it in within a reasonable amount of
time, thats ok.
Thanks Avi!
Cheers,
Jes
> Jes Sorensen wrote:
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] ia64 - expose registers in struct kvm_regs
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 14:01 ` Avi Kivity
1 sibling, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-01-08 14:01 UTC (permalink / raw)
To: Jes Sorensen; +Cc: Avi Kivity, kvm-ia64@vger.kernel.org, kvm@vger.kernel.org
Jes Sorensen wrote:
> 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?
Applied, thanks. It's a kvm file so kvm.git is the right path.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-08 14:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 14:12 ` Jes Sorensen
2009-01-08 14:01 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).