From patchwork Tue Dec 20 14:56:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 635475 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2961812pvb; Tue, 20 Dec 2022 06:58:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4HYf8YFh5M0/4C/XaBsg0KIiYTVF12bPYmr1c8XEnS4ZVbmUtpxi6/7oOwd9BpGY2ckHK9 X-Received: by 2002:ad4:4485:0:b0:4e8:178d:7ec7 with SMTP id m5-20020ad44485000000b004e8178d7ec7mr37944141qvt.26.1671548329911; Tue, 20 Dec 2022 06:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671548329; cv=none; d=google.com; s=arc-20160816; b=BTVSU4bp7046HMG9khn4hiN+n77YJp1kiuVJUZwMDmUt1A3oI6Ttw+99gY1u7W5yst 4ZtVrLG4CrniTQtVML/QG/e6gB8jxBCDqsRIIndUP0IwH2Yn6bI25Kdoo6UNxHVcgYg9 m0+pfqLqbkCNTc0XDRIQjhurflweh85kcJGd3ZhZwkhiQVGhtF/VCmgT8HKC17ZA4ak4 votDCTHbNxMhABGQGd1uta1CWeqxsfj6++l7SEizr2ohvTpPh3jVBb1hqUYb/a5GwMyz GeMrJzU1lQCj1B6Ceh3G3r7FADP7ZllLoxw0Kth+8R0tBvxVLI0RqLzUTZhjjNITVQ5P xmow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F7rSi5GEIaRyq3At2o8uQZxqXo1Ikt+p25AbGddVS60=; b=iHor5PgICzFIVI9H2RGzORRwsKOfc3DzajK5yN7JcZUH1sFGm0LJX9+0auM3a6sgg7 ruuokXG+kMUNNkzhQ7P71ijtqPxbSRWunH0mc+d7r73qiRjyohmGVgARd9G05EjRcMN6 BGzpxlPoCxzzIzF57Eaw3z+mhfzDeSnBhd7IMouV9qq6TogbFUbnMYlj8JEqRtVyX6AR 7y/o7b0i39M61A3TjSFkaG+3Zm+mecON9PSySJrWN3sODUbbDpxCpyeHVUF5HNoDkhDH 6y9EOipkzualALHZ2mwsK0CojrAgAdcGnswFx+uBd1P04oYKBT5jYYaWNor+UWEKxA7T 2w9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aTuNGlA9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id jo2-20020a056214500200b004bb74825290si5088890qvb.132.2022.12.20.06.58.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Dec 2022 06:58:49 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aTuNGlA9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7e2s-0006d5-DI; Tue, 20 Dec 2022 09:56:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7e2n-0006YX-DS for qemu-devel@nongnu.org; Tue, 20 Dec 2022 09:56:37 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7e2l-0004hc-Ut for qemu-devel@nongnu.org; Tue, 20 Dec 2022 09:56:37 -0500 Received: by mail-wr1-x42a.google.com with SMTP id m14so11971892wrh.7 for ; Tue, 20 Dec 2022 06:56:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=F7rSi5GEIaRyq3At2o8uQZxqXo1Ikt+p25AbGddVS60=; b=aTuNGlA9d1569Np6TRMiLGFNJNqY0Nnzh+YUdRS9jjSSMJo3DPHm++aNfd5yPo8HDa nNsFdQTtwNrzuEhr0mqgqSwt8ijS8X6O0sZ8zX4IkYXC2zXtErinEzG9UPMvOXc7UjaE uOlkN8KfT3hiTUBUVfLr1GtNJo/Vce5dr1nyD+cyuZwjHAiUVOwzwJGwzh54pgTTltAj YDdjPa9m0qMOqQDguP5PApXGZ6brLUR9xnYyZ8+S+NslqhJL0C9paY+U0r5wlZrg6Lqw MqitEIMMiUx4ShK87CuvMBZWEORUNj20rhYlvOA2/JpFa+HcXnjl/38t4vrIquHbRguj 1nxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F7rSi5GEIaRyq3At2o8uQZxqXo1Ikt+p25AbGddVS60=; b=udVRewwfXbrmSKO5nc4/CVJaX/dtTMXUFabsCTqTDWlOQwVa3WqkUQ1fT6VTGiyBW2 rt8AKHk9k8YcoGgepqhllHRgdeop02vmCc7LH5rzI31wplAjhZWNYyolaLNzecrc4y/W pWpGkvJtyAqL8kUnqaqK43mPK+300v9MWZV2VSKd+1YEAiyV46qL3PAC5FKnSc4qYkQA RBA/3R2ykVNHsUKOobfu3CwFEah5GHppoZ80RDgRx3elF8dM36e4Pn6NIfs12VRwvJvc zNu1UDQhxhmB5h3ZEipw543lbyj8ztjlXfZBokg9rBnGu+qoa8Eoz9VCAxqQb+AAKyN0 rc/g== X-Gm-Message-State: ANoB5pk1zOwZwcbVR006peORCBE6ac6Ju7HCXeE84wrVjm1S/CgGbljl yanLd4M5Iea6eglDBmDmWxVs1xNKHkJfXMPJa3Q= X-Received: by 2002:a5d:6dc3:0:b0:247:4802:9435 with SMTP id d3-20020a5d6dc3000000b0024748029435mr27310214wrz.5.1671548194413; Tue, 20 Dec 2022 06:56:34 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id e34-20020a5d5962000000b00267e918d1ecsm1248570wri.24.2022.12.20.06.56.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 20 Dec 2022 06:56:33 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , Ilya Leoshkevich , Eduardo Habkost , qemu-s390x@nongnu.org, Song Gao , Richard Henderson , David Hildenbrand , Xiaojuan Yang , Thomas Huth , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 1/5] target/i386: Restrict qapi/qapi-events-run-state.h to system emulation Date: Tue, 20 Dec 2022 15:56:21 +0100 Message-Id: <20221220145625.26392-2-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220145625.26392-1-philmd@linaro.org> References: <20221220145625.26392-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org shutdown / powerdown / suspend_disk / resume / watchdog are events irrlevant to user emulation. Signed-off-by: Philippe Mathieu-Daudé --- target/i386/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/helper.c b/target/i386/helper.c index 0ac2da066d..dcce27bac1 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -18,12 +18,12 @@ */ #include "qemu/osdep.h" -#include "qapi/qapi-events-run-state.h" #include "cpu.h" #include "exec/exec-all.h" #include "sysemu/runstate.h" #include "kvm/kvm_i386.h" #ifndef CONFIG_USER_ONLY +#include "qapi/qapi-events-run-state.h" #include "sysemu/hw_accel.h" #include "monitor/monitor.h" #endif