From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/8] KVM updates for 2.6.20-rc2 Date: Thu, 28 Dec 2006 17:09:17 +0200 Message-ID: <4593DE1D.8010701@qumranet.com> References: <20061228103345.GA4708@elte.hu> <4593A4B7.2070404@qumranet.com> <20061228113038.GA16190@elte.hu> <4593B948.5090009@qumranet.com> <20061228133746.GC3392@elte.hu> <4593CB61.5050709@qumranet.com> <20061228135020.GA7606@elte.hu> <4593CD74.6060202@qumranet.com> <20061228140742.GA10033@elte.hu> <4593D243.1030301@qumranet.com> <20061228150104.GB16057@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel Return-path: To: Ingo Molnar In-Reply-To: <20061228150104.GB16057-X9Un+BFzKDI@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Ingo Molnar wrote: > * Avi Kivity wrote: > > >>> Is there no cheap way to do this flushing preemptively (say in >>> vcpu_put()), to make the VM context potentially loadable into another >>> CPU? >>> >> You could issue a vmclear, but that forces a vm entry on the _same_ >> cpu to use vmlaunch instead of vmresume, which is documented as >> expensive. >> > > hm. Could you try to just do a vmresume nevertheless - maybe it works > but is undocumented? I'd hate to do that. There are at least three implementations of VT (PD, Core, Core2) and maybe more when steppings and microcode updates are considered. Not to mention having kvm fail when a new cpu is introduced is not a pleasant scenario. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV