From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760009AbXHTNka (ORCPT ); Mon, 20 Aug 2007 09:40:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758478AbXHTNkQ (ORCPT ); Mon, 20 Aug 2007 09:40:16 -0400 Received: from il.qumranet.com ([82.166.9.18]:52141 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757693AbXHTNkN (ORCPT ); Mon, 20 Aug 2007 09:40:13 -0400 Message-ID: <46C999C8.4080307@qumranet.com> Date: Mon, 20 Aug 2007 16:40:24 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Laurent Vivier CC: Ingo Molnar , kvm-devel , linux-kernel , virtualization Subject: Re: [kvm-devel] [PATCH 4/4] Modify KVM to update guest time accounting. References: <46C993A6.3060001@bull.net> In-Reply-To: <46C993A6.3060001@bull.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Laurent Vivier wrote: > [PATCH 4/4] Modify KVM to update guest time accounting. > > > Index: kvm/drivers/kvm/kvm.h > =================================================================== > --- kvm.orig/drivers/kvm/kvm.h 2007-08-20 13:23:53.000000000 +0200 > +++ kvm/drivers/kvm/kvm.h 2007-08-20 13:23:58.000000000 +0200 > @@ -589,6 +589,17 @@ void kvm_mmu_unload(struct kvm_vcpu *vcp > > int kvm_hypercall(struct kvm_vcpu *vcpu, struct kvm_run *run); > > +static inline void kvm_guest_enter(void) > +{ > +#ifdef CONFIG_GUEST_ACCOUNTING > + current->flags |= PF_VCPU; > +#endif > Since you select GUEST_ACCOUNTING, the #ifdef is always true? > +} > + > +static inline void kvm_guest_exit(void) > +{ > Missing content? -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 4/4] Modify KVM to update guest time accounting. Date: Mon, 20 Aug 2007 16:40:24 +0300 Message-ID: <46C999C8.4080307@qumranet.com> References: <46C993A6.3060001@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , linux-kernel , virtualization To: Laurent Vivier Return-path: In-Reply-To: <46C993A6.3060001-6ktuUTfB/bM@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 Laurent Vivier wrote: > [PATCH 4/4] Modify KVM to update guest time accounting. > > > Index: kvm/drivers/kvm/kvm.h > =================================================================== > --- kvm.orig/drivers/kvm/kvm.h 2007-08-20 13:23:53.000000000 +0200 > +++ kvm/drivers/kvm/kvm.h 2007-08-20 13:23:58.000000000 +0200 > @@ -589,6 +589,17 @@ void kvm_mmu_unload(struct kvm_vcpu *vcp > > int kvm_hypercall(struct kvm_vcpu *vcpu, struct kvm_run *run); > > +static inline void kvm_guest_enter(void) > +{ > +#ifdef CONFIG_GUEST_ACCOUNTING > + current->flags |= PF_VCPU; > +#endif > Since you select GUEST_ACCOUNTING, the #ifdef is always true? > +} > + > +static inline void kvm_guest_exit(void) > +{ > Missing content? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/