From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: paravirtualization structure Date: Mon, 19 Feb 2007 17:24:23 +0200 Message-ID: <45D9C127.9050201@qumranet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Omar Khan Return-path: In-Reply-To: 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 Omar Khan wrote: > hi, > > I have a couple of kvm/kernel newbie questions: > > 1. What is the sequence of events for a paravirtualization hypercall? I > understand how VMX architecture works, but how does the paravirt fit in? When we > make a paravirt sys call we avoid a VMexit, but which address space does the > call go to? > The hypercall sequence does not avoid a vmexit. The guest issues a vmcall instruction, which is trapped and processed by the host. > 2. Is the paravirtualization code included in the 2.6.20 kernel (if so where > is it) or do we still need to apply the patch for it? > > > The paravirt code is not present in 2.6.20. You can download it using the instructions in http://kvm.qumranet.com/kvmwiki/Code. -- 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