From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2 for-1.7] target-i386: Fix build by providing stub kvm_arch_get_supported_cpuid() Date: Thu, 14 Nov 2013 09:53:54 +0100 Message-ID: <52848FA2.7060007@redhat.com> References: <1384384147-11076-1-git-send-email-peter.maydell@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, patches@linaro.org, Richard Henderson , Andreas Tobler , Gleb Natapov , kvm@vger.kernel.org, Anthony Liguori To: Peter Maydell Return-path: Received: from mail-wg0-f41.google.com ([74.125.82.41]:60695 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751896Ab3KNIx7 (ORCPT ); Thu, 14 Nov 2013 03:53:59 -0500 Received: by mail-wg0-f41.google.com with SMTP id n12so378300wgh.0 for ; Thu, 14 Nov 2013 00:53:58 -0800 (PST) In-Reply-To: <1384384147-11076-1-git-send-email-peter.maydell@linaro.org> Sender: kvm-owner@vger.kernel.org List-ID: Il 14/11/2013 00:09, Peter Maydell ha scritto: > +#ifndef __OPTIMIZE__ > +/* This function is only called inside conditionals which we > + * rely on the compiler to optimize out when CONFIG_KVM is not > + * defined. > + */ > +uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function, > + uint32_t index, int reg) > +{ > + abort(); > +} > +#endif Thanks, I'll apply this to uq/master and send a pull request. Paolo