From: Eduardo Habkost Subject: Re: [Qemu-devel] [PATCH for-1.4 01/12] kvm: Add fake KVM_FEATURE_CLOCKSOURCE_STABLE_BIT for builds withou KVM Date: Tue, 22 Jan 2013 11:42:01 -0200 Message-ID: <20130122134201.GH5914@otherpad.lan.raisama.net> References: <1358456378-29248-1-git-send-email-ehabkost@redhat.com> <1358456378-29248-2-git-send-email-ehabkost@redhat.com> <20130122014335.GA31141@amt.cnet> <50FE1CA2.3080609@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Marcelo Tosatti , Gleb Natapov , qemu-devel@nongnu.org, Anthony Liguori , Igor Mammedov , "kvm@vger.kernel.org list" To: Andreas =?iso-8859-1?Q?F=E4rber?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45187 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752372Ab3AVOgE (ORCPT ); Tue, 22 Jan 2013 09:36:04 -0500 Content-Disposition: inline In-Reply-To: <50FE1CA2.3080609@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jan 22, 2013 at 05:59:14AM +0100, Andreas F=E4rber wrote: > Am 22.01.2013 02:43, schrieb Marcelo Tosatti: > > On Thu, Jan 17, 2013 at 06:59:27PM -0200, Eduardo Habkost wrote: > >> Signed-off-by: Eduardo Habkost > >> --- > >> Cc: kvm@vger.kernel.org > >> Cc: Michael S. Tsirkin > >> Cc: Gleb Natapov > >> Cc: Marcelo Tosatti > >> --- > >> include/sysemu/kvm.h | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h > >> index 6bdd513..22acf91 100644 > >> --- a/include/sysemu/kvm.h > >> +++ b/include/sysemu/kvm.h > >> @@ -36,6 +36,7 @@ > >> #define KVM_FEATURE_ASYNC_PF 0 > >> #define KVM_FEATURE_STEAL_TIME 0 > >> #define KVM_FEATURE_PV_EOI 0 > >> +#define KVM_FEATURE_CLOCKSOURCE_STABLE_BIT 0 > >> #endif > >> =20 > >> extern int kvm_allowed; > >> --=20 > >> 1.7.11.7 > >> > >=20 > > ACK >=20 > BTW is it the general strategy to add these as needed for new patches= ? > Or should we add all current ones and mandate adding such dummy > definitions when new ones get introduced via linux-headers/ update? I meant to include all existing bits in a single patch previously, but somehow I missed the KVM_FEATURE_CLOCKSOURCE_STABLE_BIT definition when looking at the kernel header. It would be nice to automatically refresh the fake-defines list when updating linux-headers, but I won't mind if we update the list (pulling all existing bits again) only when QEMU starts using a define that is missing. --=20 Eduardo