From patchwork Tue Mar 10 15:46:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11429685 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45AD5138D for ; Tue, 10 Mar 2020 15:47:57 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27DD020866 for ; Tue, 10 Mar 2020 15:47:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27DD020866 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jBh5V-00026f-5o; Tue, 10 Mar 2020 15:46:33 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jBh5T-00026Z-MB for xen-devel@lists.xenproject.org; Tue, 10 Mar 2020 15:46:31 +0000 X-Inumbo-ID: 4f2d1ebe-62e6-11ea-add4-12813bfff9fa Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 4f2d1ebe-62e6-11ea-add4-12813bfff9fa; Tue, 10 Mar 2020 15:46:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 5DC84ABEA; Tue, 10 Mar 2020 15:46:30 +0000 (UTC) From: Jan Beulich To: "xen-devel@lists.xenproject.org" Message-ID: <8f1b522e-8667-c230-6671-7d70252634de@suse.com> Date: Tue, 10 Mar 2020 16:46:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Language: en-US Subject: [Xen-devel] [PATCH v2 0/9] x86: reduce include dependencies X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" In a number of cases I've noticed the x86 emulator, which is quite slow to build especially with not very new gcc, to re-build when having changed headers which I wouldn't have expected to be included there in the first place. Hence I've gone through the dependencies of that object file and tried to get rid of at least some of the very odd dependencies there. (Some are being addressed also be the separately sent mem-access and vm-event patches with a similar subject.) 1: HVM: reduce domain.h include dependencies 2: HVM: reduce vcpu.h include dependencies 3: HVM: reduce vpt.h include dependencies 4: HVM: reduce vpic.h include dependencies 5: HVM: reduce vioapic.h include dependencies 6: HVM: reduce vlapic.h include dependencies 7: HVM: reduce io.h include dependencies 8: HVM: reduce hvm.h include dependencies 9: reduce mce.h include dependencies v2: Address build issues in particular with XSM=y. Jan