From patchwork Tue Dec 20 17:43:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 9481957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E9F9B606DB for ; Tue, 20 Dec 2016 17:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2E3827FB2 for ; Tue, 20 Dec 2016 17:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7D75283EC; Tue, 20 Dec 2016 17:51:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8296327FB2 for ; Tue, 20 Dec 2016 17:51:51 +0000 (UTC) Received: from localhost ([::1]:52653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOZq-0000eZ-3K for patchwork-qemu-devel@patchwork.kernel.org; Tue, 20 Dec 2016 12:51:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJORv-0001Qt-J6 for qemu-devel@nongnu.org; Tue, 20 Dec 2016 12:43:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJORu-0008T5-Qv for qemu-devel@nongnu.org; Tue, 20 Dec 2016 12:43:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51610) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJORu-0008Sy-Ki for qemu-devel@nongnu.org; Tue, 20 Dec 2016 12:43:38 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B64E74D68C; Tue, 20 Dec 2016 17:43:37 +0000 (UTC) Received: from localhost (ovpn-116-19.gru2.redhat.com [10.97.116.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBKHha47001122; Tue, 20 Dec 2016 12:43:37 -0500 From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Tue, 20 Dec 2016 15:43:11 -0200 Message-Id: <1482255793-19057-6-git-send-email-ehabkost@redhat.com> In-Reply-To: <1482255793-19057-1-git-send-email-ehabkost@redhat.com> References: <1482255793-19057-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 20 Dec 2016 17:43:37 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [RFC 5/7] kvm: Move kvm*.c files to accel/ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , kvm@vger.kernel.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP While doing it, rename kvm-all.c to kvm-common.c to follow the same pattern used for xen. Cc: Paolo Bonzini Cc: kvm@vger.kernel.org Signed-off-by: Eduardo Habkost --- Makefile.target | 2 -- kvm-all.c => accel/kvm-common.c | 0 kvm-stub.c => accel/kvm-stub.c | 0 MAINTAINERS | 3 +-- accel/Makefile.objs | 3 +++ 5 files changed, 4 insertions(+), 4 deletions(-) rename kvm-all.c => accel/kvm-common.c (100%) rename kvm-stub.c => accel/kvm-stub.c (100%) diff --git a/Makefile.target b/Makefile.target index 5e78bb0..70a1261 100644 --- a/Makefile.target +++ b/Makefile.target @@ -136,8 +136,6 @@ ifdef CONFIG_SOFTMMU obj-y += arch_init.o cpus.o monitor.o gdbstub.o balloon.o ioport.o numa.o obj-y += qtest.o bootdevice.o obj-y += hw/ -obj-$(CONFIG_KVM) += kvm-all.o -obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o obj-y += memory.o cputlb.o obj-y += memory_mapping.o obj-y += dump.o diff --git a/kvm-all.c b/accel/kvm-common.c similarity index 100% rename from kvm-all.c rename to accel/kvm-common.c diff --git a/kvm-stub.c b/accel/kvm-stub.c similarity index 100% rename from kvm-stub.c rename to accel/kvm-stub.c diff --git a/MAINTAINERS b/MAINTAINERS index 8e25438..9c6dae9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -261,8 +261,7 @@ Overall M: Paolo Bonzini L: kvm@vger.kernel.org S: Supported -F: kvm-* -F: */kvm.* +F: */kvm* F: include/sysemu/kvm*.h ARM diff --git a/accel/Makefile.objs b/accel/Makefile.objs index 6f3630e..3f3866d 100644 --- a/accel/Makefile.objs +++ b/accel/Makefile.objs @@ -1,2 +1,5 @@ obj-$(CONFIG_XEN) += xen-common.o obj-$(CONFIG_XEN_I386) += xen-hvm.o xen-mapcache.o + +obj-$(CONFIG_KVM) += kvm-common.o +obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o