From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 07/10] Add VMRUN handler v4 Date: Sun, 19 Oct 2008 11:51:24 +0200 Message-ID: <48FB031C.5000602@redhat.com> References: <1224099093-10985-1-git-send-email-agraf@suse.de> <1224099093-10985-2-git-send-email-agraf@suse.de> <1224099093-10985-3-git-send-email-agraf@suse.de> <1224099093-10985-4-git-send-email-agraf@suse.de> <1224099093-10985-5-git-send-email-agraf@suse.de> <1224099093-10985-6-git-send-email-agraf@suse.de> <1224099093-10985-7-git-send-email-agraf@suse.de> <1224099093-10985-8-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, joro@8bytes.org, anthony@codemonkey.ws, avi@qumranet.com To: Alexander Graf Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48818 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750698AbYJSJvd (ORCPT ); Sun, 19 Oct 2008 05:51:33 -0400 In-Reply-To: <1224099093-10985-8-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: Alexander Graf wrote: > This patch implements VMRUN. VMRUN enters a virtual CPU and runs that > in the same context as the normal guest CPU would run. > So basically it is implemented the same way, a normal CPU would do it. > > We also prepare all intercepts that get OR'ed with the original > intercepts, as we do not allow a level 2 guest to be intercepted less > than the first level guest. > index 10ad02b..6520bff 100644 > --- a/arch/x86/kvm/svm.c > +++ b/arch/x86/kvm/svm.c > @@ -51,6 +51,9 @@ MODULE_LICENSE("GPL"); > /* Turn on to get debugging output*/ > /* #define NESTED_DEBUG */ > > +/* Not needed until device passthrough */ > +/* #define NESTED_KVM_MERGE_IOPM */ > + > Let's assume device assignment is coming and drop the ifdefs. -- error compiling committee.c: too many arguments to function