From: Marcelo Tosatti Subject: Re: [PATCH v2 3/6] remove kvm_abi variable Date: Wed, 22 Jul 2009 16:51:50 -0300 Message-ID: <20090722195150.GB8621@amt.cnet> References: <1248214392-12533-1-git-send-email-glommer@redhat.com> <1248214392-12533-2-git-send-email-glommer@redhat.com> <1248214392-12533-3-git-send-email-glommer@redhat.com> <1248214392-12533-4-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, avi@redhat.com To: Glauber Costa Return-path: Received: from mx2.redhat.com ([66.187.237.31]:39859 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754844AbZGVTwg (ORCPT ); Wed, 22 Jul 2009 15:52:36 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6MJqa3M020764 for ; Wed, 22 Jul 2009 15:52:36 -0400 Content-Disposition: inline In-Reply-To: <1248214392-12533-4-git-send-email-glommer@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jul 21, 2009 at 06:13:09PM -0400, Glauber Costa wrote: > We're not using this for anything > > Signed-off-by: Glauber Costa > --- > qemu-kvm.c | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/qemu-kvm.c b/qemu-kvm.c > index 8eeace4..a8298e4 100644 > --- a/qemu-kvm.c > +++ b/qemu-kvm.c > @@ -43,7 +43,6 @@ int kvm_pit = 1; > int kvm_pit_reinject = 1; > int kvm_nested = 0; > > - > static KVMState *kvm_state; > kvm_context_t kvm_context; > > @@ -79,7 +78,6 @@ static LIST_HEAD(, ioperm_data) ioperm_head; > > #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) > > -int kvm_abi = EXPECTED_KVM_API_VERSION; > int kvm_page_size; > > #ifdef KVM_CAP_SET_GUEST_DEBUG > @@ -429,7 +427,6 @@ int kvm_init(int smp_cpus) > fprintf(stderr, "kvm userspace version too old\n"); > goto out_close; > } > - kvm_abi = r; > kvm_page_size = getpagesize(); > kvm_state = qemu_mallocz(sizeof(*kvm_state)); > kvm_context = &kvm_state->kvm_context; > -- Forgot qemu-kvm.h? Applied 1,2,3 and 5 (hopefully nobody outside vl.c is playing with stopped/stop/created?).