Re: [patch] pass opague CPUState through libkvm instead of int vcpu

Avi Kivity
2008-11-18T12:55:27Z

Jes Sorensen wrote:
> I pulled out the part of the patch that does the opague 'env' pointer.
> It should be pretty straight forward - the vcpu_info patch will go on
> top of this, but I'll work on that tomorrow.
>
> Let me know what you think - this is about as small I can make this
> patch :-)

It's good; applied, thanks.

There's a slight redundancy in that some callbacks are passed two
opaques (per-cpu and per-vm), but it won't kill anyone.

(btw, this could have been done much more simply: declare a thread local
variable to hold the current env)

--
error compiling committee.c: too many arguments to function