From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [patch] KVM: paravirtual guest support Date: Tue, 9 Jan 2007 11:46:42 +0100 Message-ID: <20070109104642.GA26546@elte.hu> References: <20070109093354.GA10318@elte.hu> <45A36AE4.6000904@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel Return-path: To: Avi Kivity Content-Disposition: inline In-Reply-To: <45A36AE4.6000904-atKUWr5tajBWk0Htik3J/w@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 * Avi Kivity wrote: > There's a problem here. A cache-hit cr3 is an hpa, while a cache-miss > cr3 is a gpa. The two could alias: ok, agreed. This is nice in fact, because this will be a live test of the hypercall API :-) > The only solution I see is to use the hypercall API on a cache miss. > Once the guest indicates it wants to use the cr3 cache, set_cr3() > should fault, and cr3 should only be accepted from the hypercall. yeah. Ingo ------------------------------------------------------------------------- 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