From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: patch for virtual machine oriented scheduling(3) Date: Thu, 23 Apr 2009 09:15:28 +0300 Message-ID: <20090423061528.GG24095@redhat.com> References: <820ac2e90904220755u697ed443t60fb6dd36116bad3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: avi@redhat.com, anthony@codemonkey.ws, kvm@vger.kernel.org To: alex Return-path: Received: from mx2.redhat.com ([66.187.237.31]:53820 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753809AbZDWGPe (ORCPT ); Thu, 23 Apr 2009 02:15:34 -0400 Content-Disposition: inline In-Reply-To: <820ac2e90904220755u697ed443t60fb6dd36116bad3@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Apr 22, 2009 at 10:55:24PM +0800, alex wrote: > the code for credit scheduler > ----------------------------------------------------------------------------------------------------------------------- > diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c > index 4d76bb6..9e88ff0 100644 > --- a/arch/x86/kvm/lapic.c > +++ b/arch/x86/kvm/lapic.c > @@ -284,7 +284,7 @@ int kvm_apic_match_dest(struct kvm_vcpu *vcpu, > struct kvm_lapic *source, > "dest_mode 0x%x, short_hand 0x%x\n", > target, source, dest, dest_mode, short_hand); > > - ASSERT(!target); > + ASSERT(target); Did you mean it? -- Gleb.