Message ID | 20231220094105.6588-5-thuth@redhat.com |
---|---|
State | Accepted |
Commit | 60144cf50943600c9b433924d3a98124aa4b49aa |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp258966wrw; Wed, 20 Dec 2023 01:43:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEy3QvUr+Va7Jfk4fH2dWKnAmw4vgh1pgLre9NAHK46H+OXAeZnRVzFHbabopbfQDdQUdHf X-Received: by 2002:a05:6122:3bc2:b0:4b6:c6f6:fca with SMTP id ft2-20020a0561223bc200b004b6c6f60fcamr2836689vkb.1.1703065424479; Wed, 20 Dec 2023 01:43:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703065424; cv=none; d=google.com; s=arc-20160816; b=wi1bmw6LHVpTIclP8Z1xuq82FNrGwceT5h891kgkWZRKzTgg2fpqwvt7jR0BxxCzK1 VYslNKQVACSVnGC/yzKYwhIukmdPIoGgUa2GV1vxd9iptFAxNeUy/bcUMajvTWjDeZhC 3qL5h36a8jtQuO79dR8Obv6sJPwjmgt97qMXnzuMqHaeZVozcB+XUeKGoTAcXCJ3Ux4x d0IkkA6cxIAPxT7zzrC1BclpioQCZpIDqnKUHLbquPHmm0q1sJhVJqPTqu8h39balx57 fQ9aFGFqc9IOzNP2qsiocryNb5jAG8MqQqVWDwxSw77cUCUYNUocErImjjKH2q/g/tLu VOiA== 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=KWmcd0BmLrnTw7CDDyP7ZmMAdCJOZnbJzk3pW9FCmfw=; fh=O+BEVrDcRD9BxIy+R3s8qnFsGSAMvzxNx/0rKQMKL9g=; b=w56hZ28ahB1/DARrJ3jFVDjljGisQrRuMolFTJk3fkxABP4XhR2BeCVoWFYBWzPRQ2 ZjCWuLbI4PXl7MJp89FMBgsM6BY54xgRFJJQeCW3e56T2oc9+YNnZKzJqCwm16LLoRZ3 el5fReoxjMTkC1XvQhYkZRZAaPNCrV9rxonFmp2OLyJdOPNHMdC2EM3S4cysbXu8ldOg WZE0ezg5lQl1QTZCvNuRRUmcxD7li0jujZOOVwkfFl58Uh46BwKtf+/NBCCxcQ/32PqO ms/O2FrhKTwc6uIYDo/64spj9ijlVZvyE1/RU0Zm1nouNN6MnO09GX1yuJABNz1aFrzL ZrxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="IKqd/vNm"; 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=redhat.com Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id js20-20020a05622a809400b0042374c37b34si26503735qtb.92.2023.12.20.01.43.44 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Dec 2023 01:43:44 -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=@redhat.com header.s=mimecast20190719 header.b="IKqd/vNm"; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rFt4x-0002TX-1D; Wed, 20 Dec 2023 04:41:29 -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 <thuth@redhat.com>) id 1rFt4r-0002Sj-6i for qemu-devel@nongnu.org; Wed, 20 Dec 2023 04:41:21 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <thuth@redhat.com>) id 1rFt4p-0005hV-K7 for qemu-devel@nongnu.org; Wed, 20 Dec 2023 04:41:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703065279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KWmcd0BmLrnTw7CDDyP7ZmMAdCJOZnbJzk3pW9FCmfw=; b=IKqd/vNm4SkOXtPFADPSWw69qrnCLtpGlaKMIlNhTbwdAxihwB1Qh0EAbF4EKeNjaDADiJ yFTCa23LDGy1a+W2sYbg3R9q7PAcxBddk5j21+vjVIYP8xbd5RpJXBhSe6+smBvdYv6Uh6 CDRqSXGxL3coadBSlG0CHpI2dFvrskY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-208-lLXfVfq7MNyEyP4dv9QIyg-1; Wed, 20 Dec 2023 04:41:15 -0500 X-MC-Unique: lLXfVfq7MNyEyP4dv9QIyg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1257583DE20; Wed, 20 Dec 2023 09:41:15 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.39.194.167]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7764B2166B31; Wed, 20 Dec 2023 09:41:13 +0000 (UTC) From: Thomas Huth <thuth@redhat.com> To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi <stefanha@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org> Subject: [PULL 04/19] system/qtest: Restrict QTest API to system emulation Date: Wed, 20 Dec 2023 10:40:50 +0100 Message-ID: <20231220094105.6588-5-thuth@redhat.com> In-Reply-To: <20231220094105.6588-1-thuth@redhat.com> References: <20231220094105.6588-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.066, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/include/sysemu/qtest.h b/include/sysemu/qtest.h index 85f05b0e46..b5d5fd3463 100644 --- a/include/sysemu/qtest.h +++ b/include/sysemu/qtest.h @@ -23,6 +23,7 @@ static inline bool qtest_enabled(void) return qtest_allowed; } +#ifndef CONFIG_USER_ONLY void qtest_send_prefix(CharBackend *chr); void G_GNUC_PRINTF(2, 3) qtest_sendf(CharBackend *chr, const char *fmt, ...); void qtest_set_command_cb(bool (*pc_cb)(CharBackend *chr, gchar **words)); @@ -35,5 +36,6 @@ void qtest_server_set_send_handler(void (*send)(void *, const char *), void qtest_server_inproc_recv(void *opaque, const char *buf); int64_t qtest_get_virtual_clock(void); +#endif #endif