[Lguest] [PATCH] lguest: Change over to using KVM hypercalls mechanism

Matias Zabaljauregui zabaljauregui at gmail.com
Mon Oct 20 05:23:10 EST 2008


Hello,

> Good question... I guess we should measure performance impact.  We could
> rewrite the hypercall site to do an int 15 after the first time (rewriting
> is what kvm does, so it's allowed).  Bonus is that old code would "just
> work".

Could you please elaborate on this? I´d like to help with this issue.

By the way, I just started to write some code, so we can use
kvm_hypercall4(). I think I will need this one for completing PAE
implementation.
They (kvm) use %esi for passing the fourth argument, which is next to
%edx in lguest_regs, so I guess I just need to add a new member (arg4)
to struct hcall_args.

My question is, should I build on top of my previous patchs, or should
I wait until we arrive to a definitive soultion ?

thank you
Matías



More information about the Lguest mailing list