From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Tue, 18 Nov 2008 12:55:02 +0000 Subject: Re: [patch] pass opague CPUState through libkvm instead of int vcpu Message-Id: <4922BB26.4020308@redhat.com> List-Id: References: <491C59DD.6070005@sgi.com> In-Reply-To: <491C59DD.6070005@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org 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