From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Tue, 18 Nov 2008 12:59:18 +0000 Subject: Re: [patch] pass opague CPUState through libkvm instead of int vcpu Message-Id: <4922BC26.1050504@sgi.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 Avi Kivity wrote: > Jes Sorensen wrote: > 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) The thread local current env is coming in the vcpu_info merge patch :-) Cheers, Jes