Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1797049ybj; Sun, 22 Sep 2019 12:08:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxra2+fYEzIg0RgWT2TVhs/TcedV4lq+G9k2lp1pJuLAwWNewQJWKw7djoM/LxVMKnpYdbW X-Received: by 2002:a17:906:5948:: with SMTP id g8mr430740ejr.246.1569179309776; Sun, 22 Sep 2019 12:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179309; cv=none; d=google.com; s=arc-20160816; b=n/WWe2X4zEIom86OVyUqY/dXLoNOF/h9QsLwyxC40D763z1exa+fXcZ8gLUfeBD2TQ pAOBUfqEACJ724UmaxUrA+dCougRoUz+T8FPrrpQ2qas/vDu9MvQ0aE+qakKrfSDWZy1 cf7/hl+h2Ubrr3eT9FpSvmHyl9HYCou4gPZgd2fRvq+79kvZAgjBghGwVr15kLJ5aIKT UnEkDh7XudRWpEytleIEiCe5UlE3mcVT1kXC9mJFTVeZyDBO5n9iVMCC6WBX2zwHnnAn wD6aPHaMNKsH3ItqUCpJvLxHcnpxAeI84WAnEKG/73DCRBOzyxR9/Pl/TEIB0c7nmhvw kQ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Q/TK1IJeFK4VtnwC7/iOzSM39ARRzZC5vvy1+mgdc6Q=; b=TY3k2PEQc3N5zO1pjuD9IqrvYoViVHxFPtr3ZKQ7aTPlg1Yf8dNCBOYVPDxzBK5jDa MJdt1rLr3S7a3FRLNIYFvIUqiQgTcQl+DIN8L/dtozoD0XyylTZIVnd+TvdEsuK1phNQ CqwiHZYy92kARVkhvmDi+1KH+8AYRsPuKyRBYwCphyp99ZP4bqvfiyDQO9TRD9/A7dpT dpCTvZwB6rYb3URqdmOet7R40GiEmd93vrM/Wfm2iqr5h7qANDs72tz0xfu8CD6eLzVf iv9UF1YoALcULHqQEI1RjtDpwhVBEglxPDYy+xgabOZz93p1RcemXuKVwb0EQjk4zjEZ /kaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 27si5324290edz.186.2019.09.22.12.08.05; Sun, 22 Sep 2019 12:08:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393875AbfITVZV (ORCPT + 99 others); Fri, 20 Sep 2019 17:25:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59086 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393803AbfITVZP (ORCPT ); Fri, 20 Sep 2019 17:25:15 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CC9175D66B; Fri, 20 Sep 2019 21:25:15 +0000 (UTC) Received: from mail (ovpn-120-159.rdu2.redhat.com [10.10.120.159]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 421EB60BE2; Fri, 20 Sep 2019 21:25:13 +0000 (UTC) From: Andrea Arcangeli To: Paolo Bonzini Cc: Vitaly Kuznetsov , "Dr. David Alan Gilbert" , Marcelo Tosatti , Peter Xu , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/17] KVM: monolithic: x86: remove kvm.ko Date: Fri, 20 Sep 2019 17:25:01 -0400 Message-Id: <20190920212509.2578-10-aarcange@redhat.com> In-Reply-To: <20190920212509.2578-1-aarcange@redhat.com> References: <20190920212509.2578-1-aarcange@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 20 Sep 2019 21:25:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This removes kvm.ko and it links and duplicates all kvm.ko objects to both kvm-amd and kvm-intel. Signed-off-by: Andrea Arcangeli --- arch/x86/kvm/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/Makefile b/arch/x86/kvm/Makefile index 31ecf7a76d5a..68b81f381369 100644 --- a/arch/x86/kvm/Makefile +++ b/arch/x86/kvm/Makefile @@ -12,9 +12,8 @@ kvm-y += x86.o mmu.o emulate.o i8259.o irq.o lapic.o \ i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \ hyperv.o page_track.o debugfs.o -kvm-intel-y += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o vmx/nested.o -kvm-amd-y += svm.o pmu_amd.o +kvm-intel-y += vmx/vmx.o vmx/vmenter.o vmx/pmu_intel.o vmx/vmcs12.o vmx/evmcs.o vmx/nested.o $(kvm-y) +kvm-amd-y += svm.o pmu_amd.o $(kvm-y) -obj-$(CONFIG_KVM) += kvm.o obj-$(CONFIG_KVM_INTEL) += kvm-intel.o obj-$(CONFIG_KVM_AMD) += kvm-amd.o