All of lore.kernel.org
 help / color / mirror / Atom feed
* kvm_arch_vcpu_ioctl_set/get_regs()
@ 2009-09-26 14:10 Terry
  0 siblings, 0 replies; 2+ messages in thread
From: Terry @ 2009-09-26 14:10 UTC (permalink / raw)
  To: kvm-ppc

vcpu->arch.sprg5 = regs->sprg4;
vcpu->arch.sprg6 = regs->sprg5;
vcpu->arch.sprg7 = regs->sprg6;

and

regs->sprg5 = vcpu->arch.sprg4;
regs->sprg6 = vcpu->arch.sprg5;
regs->sprg7 = vcpu->arch.sprg6;

Typo?  The SPRG assignments do not match.


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

* Re: kvm_arch_vcpu_ioctl_set/get_regs()
@ 2009-10-05 15:14 Hollis Blanchard
  0 siblings, 0 replies; 2+ messages in thread
From: Hollis Blanchard @ 2009-10-05 15:14 UTC (permalink / raw)
  To: kvm-ppc

On Sat, 2009-09-26 at 22:10 +0800, Terry wrote: 
> vcpu->arch.sprg5 = regs->sprg4;
> vcpu->arch.sprg6 = regs->sprg5;
> vcpu->arch.sprg7 = regs->sprg6;
> 
> and
> 
> regs->sprg5 = vcpu->arch.sprg4;
> regs->sprg6 = vcpu->arch.sprg5;
> regs->sprg7 = vcpu->arch.sprg6;
> 
> Typo?  The SPRG assignments do not match.

Ouch, looks like it. Good eyes. I guess that means the guest Linux isn't
using SPRG4? I'd love to look.

-- 
Hollis Blanchard
IBM Linux Technology Center


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

end of thread, other threads:[~2009-10-05 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-26 14:10 kvm_arch_vcpu_ioctl_set/get_regs() Terry
  -- strict thread matches above, loose matches on Subject: below --
2009-10-05 15:14 kvm_arch_vcpu_ioctl_set/get_regs() Hollis Blanchard

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.