From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Fix SMP shadow instantiation race Date: Thu, 13 Dec 2007 10:37:47 +0200 Message-ID: <4760EF5B.3060900@qumranet.com> References: <20071210161907.GA13917@dmt> <475D726A.2040901@qumranet.com> <20071212001227.GA27190@dmt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Marcelo Tosatti Return-path: In-Reply-To: <20071212001227.GA27190@dmt> 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 Marcelo Tosatti wrote: > There is a race where VCPU0 is shadowing a pagetable entry while VCPU1 > is updating it, which results in a stale shadow copy. > > Fix that by comparing the contents of the cached guest pte with the > current guest pte after write-protecting the guest pagetable. > > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace