Re: [patch] pass opague CPUState through libkvm instead of int vcpu
Avi Kivity <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
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