From nobody Tue Feb 10 06:07:10 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646917320799513.1452619643616; Thu, 10 Mar 2022 05:02:00 -0800 (PST) Received: from localhost ([::1]:59298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSIQZ-00029K-Q5 for importer@patchew.org; Thu, 10 Mar 2022 08:01:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSI9r-0006qd-0z; Thu, 10 Mar 2022 07:44:43 -0500 Received: from [2a00:1450:4864:20::435] (port=34502 helo=mail-wr1-x435.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSI9n-0005Dq-Fa; Thu, 10 Mar 2022 07:44:42 -0500 Received: by mail-wr1-x435.google.com with SMTP id j26so7806453wrb.1; Thu, 10 Mar 2022 04:44:37 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id r188-20020a1c2bc5000000b00387c81c32e7sm8063026wmr.8.2022.03.10.04.44.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 04:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=am/TeS80vxEOm9BXIFg633pgOE8+WRH4m0argteqkpg=; b=qHg6TlwwD5CdUOC6kYl6trqwS8tBU1xIh1C/qyoZl7iLHa+UyJQpzTL4aYCBn+Rvhe TIWJOFlODmCpiTcYjt/sAknS6pt5DcF0cLDfAf+3/h8mM9F3XAJ3PMCljzPZRC6l9NUK BaTo8zeWgzz8Ge/EpY8ncQh95KI8CKwQD0YjowXgdxNHKqVabInsnpy3/f4GSwQ88yf8 CELM4K/6eKa2AUkFnuJJXqUf3haIgljP9e2YoSVQuS7Qaq7Nau2PsjJlWLUecyT2Qy8H cXGqCI7iA4zeVhObkJLVBRKflAFQ8z2sHj6HP3dsRWbu9aXvoaCMt0c+3U0gxZpi0116 LyQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=am/TeS80vxEOm9BXIFg633pgOE8+WRH4m0argteqkpg=; b=Ut3c9ZFz4nVWQaprfSCwDjWyUCN4z9zvba27vuqAplLTGI2FSNPAhivKWOzJXPnUlK UUvt0tb/fXltyvE60wd4oXv04HFH0BslMxVTsF5E9VLW8YnEYMeumPIjP0PUSMWptr3e Y+vAf/dGDmE0FmWgtLC8cTxssi+hcgtzlhpuo0e4BRDh78sSTLWVKNE6ind0Vk6Ox7Lz QAe+3gJ8xNwZ6et/cAPSj4sN8RGyG6M1SSwC9XNYwtxaHOm7uz/ZxEgw9vmOPhKlhrgg OhgwULzxTtUHqyrwdI2FKAOjSpBwjZmtEuz13u43/BG/VxFDpLjGn0BpaQGKYyEA9D/q Mvyw== X-Gm-Message-State: AOAM530J+y72E47C19AYK7YSbPJVQuurYT0Om0/hO/sYwYgMnDrRiuIQ /GDeYNkJZub5bi3qX075hQdGtGsDQDw= X-Google-Smtp-Source: ABdhPJzPreD3s7gt3+jS9Qf6fX7WuxMJHRd/eYZCwblo+b1yPzg/aXlJPr2eyNsd/Yocs1HheTWYVA== X-Received: by 2002:a05:6000:1561:b0:203:7b90:1da0 with SMTP id 1-20020a056000156100b002037b901da0mr3502884wrz.629.1646916276638; Thu, 10 Mar 2022 04:44:36 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH 17/35] /basic/in_coroutine Date: Thu, 10 Mar 2022 13:43:55 +0100 Message-Id: <20220310124413.1102441-18-pbonzini@redhat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310124413.1102441-1-pbonzini@redhat.com> References: <20220310124413.1102441-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::435 (failed) Received-SPF: pass (zohomail.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; Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=paolo.bonzini@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: hreitz@redhat.com, stefanha@redhat.com, qemu-block@nongnu.org, sguelton@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646917323991100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Paolo Bonzini --- tests/unit/test-coroutine.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/unit/test-coroutine.c b/tests/unit/test-coroutine.c index bc75050463..6ad653adda 100644 --- a/tests/unit/test-coroutine.c +++ b/tests/unit/test-coroutine.c @@ -16,14 +16,14 @@ #include "qemu/coroutine_int.h" #include "qemu/lockable.h" =20 -#if 0 /* * Check that qemu_in_coroutine() works */ =20 -static void coroutine_fn verify_in_coroutine(void *opaque) +static CoroutineAction verify_in_coroutine(void *opaque) { g_assert(qemu_in_coroutine()); + return COROUTINE_CONTINUE; } =20 static void test_in_coroutine(void) @@ -36,7 +36,6 @@ static void test_in_coroutine(void) qemu_coroutine_enter(coroutine); } =20 -#endif /* * Check that qemu_coroutine_self() works */ @@ -700,8 +699,8 @@ int main(int argc, char **argv) g_test_add_func("/basic/nesting", test_nesting); g_test_add_func("/basic/self", test_self); g_test_add_func("/basic/entered", test_entered); -#if 0 g_test_add_func("/basic/in_coroutine", test_in_coroutine); +#if 0 g_test_add_func("/basic/order", test_order); g_test_add_func("/locking/co-mutex", test_co_mutex); g_test_add_func("/locking/co-mutex/lockable", test_co_mutex_lockable); --=20 2.35.1