From: Marcelo Tosatti Subject: Re: [PATCH for-1.4 01/12] kvm: Add fake KVM_FEATURE_CLOCKSOURCE_STABLE_BIT for builds withou KVM Date: Tue, 22 Jan 2013 19:37:29 -0200 Message-ID: <20130122213729.GB14008@amt.cnet> 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: Eduardo Habkost , "kvm@vger.kernel.org list" , qemu-devel@nongnu.org, Gleb Natapov , Anthony Liguori , Igor Mammedov To: Andreas =?iso-8859-1?Q?F=E4rber?= Return-path: Content-Disposition: inline In-Reply-To: <50FE1CA2.3080609@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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? Its a good idea to update the sync scripts to automatically create the dummy ones, i suppose (there is no proactive strategy).