From nobody Wed Nov 12 13:14:56 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1571332540; cv=none; d=zoho.com; s=zohoarc; b=TxzGC4anGYH9b6ewqJ725Yqte6El6eSbuaP+fAm4Za83JcS4shtAd4abwiFC4f8EtLKbQ1GxufzSYyfUHFK6Z2OXA99mifZUkzZNMvp4QlXl7rKnL6bp0YhNgaFsv4iRF5aTW7FqglYvtRCpuXJZ/1jJyFlmtpf7D1Rc+fw5pf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571332540; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=mkZ7rFFmhMv0DCzlOujvOBos44zHxtPf/Kb9jHMtvkE=; b=BX3NlTXTuopRybMiVmA0HVlE089RxWT7zPQVQmLAJXLV9mWYvyBE2fKcMUlaTvGEGyKnDCpdKeaYx+RKN73guQ0hRADfNncJWmPUmk4XJIq3pFNc5jcd9k+ToF9v6QAOf6/epD8NmmFNW7eieRt8IrWHxNG7ZTjp+dzIEilHGVI= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1571332540565237.89207241412873; Thu, 17 Oct 2019 10:15:40 -0700 (PDT) Received: from localhost ([::1]:54030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL9NC-0000xu-Uw for importer@patchew.org; Thu, 17 Oct 2019 13:15:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38878) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8bh-0001aj-Fl for qemu-devel@nongnu.org; Thu, 17 Oct 2019 12:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL8bf-0008Uq-AA for qemu-devel@nongnu.org; Thu, 17 Oct 2019 12:26:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44310) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iL8bf-0008UG-4l for qemu-devel@nongnu.org; Thu, 17 Oct 2019 12:26:31 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5F27F81DE0 for ; Thu, 17 Oct 2019 16:26:30 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-90.brq.redhat.com [10.40.204.90]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2D39A60600; Thu, 17 Oct 2019 16:26:18 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , qemu-devel@nongnu.org, Markus Armbruster Subject: [PATCH] hw/timer/mc146818rtc: Only include qapi-commands-misc on I386 Date: Thu, 17 Oct 2019 18:26:14 +0200 Message-Id: <20191017162614.21327-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 17 Oct 2019 16:26:30 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Commit a6c7040fb09 restricted the rtc-reset-reinjection command to the I386 target. Restrict the "qapi/qapi-commands-misc-target.h" header to it too. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/timer/mc146818rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index 6cb378751b..c1eb0a7376 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -37,12 +37,12 @@ #include "hw/timer/mc146818rtc.h" #include "migration/vmstate.h" #include "qapi/error.h" -#include "qapi/qapi-commands-misc-target.h" #include "qapi/qapi-events-misc-target.h" #include "qapi/visitor.h" #include "exec/address-spaces.h" =20 #ifdef TARGET_I386 +#include "qapi/qapi-commands-misc-target.h" #include "hw/i386/apic.h" #endif =20 --=20 2.21.0