Received: from eggs.gnu.org ([2001:4830:134:3::10]:58482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YieZn-0001di-OH for qemu-devel@nongnu.org; Thu, 16 Apr 2015 03:51:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YieZj-0002Fk-O1 for qemu-devel@nongnu.org; Thu, 16 Apr 2015 03:51:07 -0400 Date: Thu, 16 Apr 2015 09:50:45 +0200 From: Thomas Huth Message-ID: <20150416095045.754f5434@thh440s> In-Reply-To: <1428679484-15451-5-git-send-email-aik@ozlabs.ru> References: <1428679484-15451-1-git-send-email-aik@ozlabs.ru> <1428679484-15451-5-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH qemu v6 04/15] vfio: spapr: Move SPAPR-related code to a separate file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Michael Roth , Alexander Graf , qemu-devel@nongnu.org, Alex Williamson , qemu-ppc@nongnu.org, Gavin Shan , David Gibson Am Sat, 11 Apr 2015 01:24:33 +1000 schrieb Alexey Kardashevskiy : > This moves SPAPR bits to a separate file to avoid pollution of x86 code. > > This is a mechanical patch. > > Signed-off-by: Alexey Kardashevskiy > Reviewed-by: David Gibson > --- > hw/vfio/Makefile.objs | 1 + > hw/vfio/common.c | 134 ++----------------------- > hw/vfio/spapr.c | 226 ++++++++++++++++++++++++++++++++++++++++++ > include/hw/vfio/vfio-common.h | 13 +++ > 4 files changed, 246 insertions(+), 128 deletions(-) > create mode 100644 hw/vfio/spapr.c > > diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs > index e31f30e..b987ffb 100644 > --- a/hw/vfio/Makefile.objs > +++ b/hw/vfio/Makefile.objs > @@ -1,4 +1,5 @@ > ifeq ($(CONFIG_LINUX), y) > obj-$(CONFIG_SOFTMMU) += common.o > obj-$(CONFIG_PCI) += pci.o > +obj-$(CONFIG_SOFTMMU) += spapr.o Would it be possible / make sense to use CONFIG_PSERIES instead of CONFIG_SOFTMMU here instead? Thomas