Re: [PATCH 8/13] KVM: vcpu execution loop

From: Arnd Bergmann
Date: Mon Oct 23 2006 - 16:30:00 EST


On Monday 23 October 2006 22:16, Avi Kivity wrote:
> > This looks like you should simply put it into a .S file.
> >
> > Â
>
> Then I lose all the offsetof constants down the line. ÂSure, I could do
> the asm-offsets dance but it seems to me like needless obfuscation.

Ok, I see.

How if you pass &vcpu->regs and &vcpu->cr2 to the functions instead of
kvm_vcpu?

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/