From nobody Wed Nov 12 19:15:15 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; dkim=fail; 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1573477029; cv=none; d=zoho.com; s=zohoarc; b=hjbW+Ymt+756IS3H6aSHX7geKAFlJcwHw6x/C3yEf5V4N5fXeF7rC87L5VZpOBRUERaMtjcjBgj05zo9mVJWpJYt9sFC5GLllnbrDRKLJ580Oit0Hmd9egqM4kR1vM1744yrCnla3KVBxPAgEMwXbpP35BQe6ZjQJBct0embexY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1573477029; 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=WpXKEsMaXmP8vqDmswKMng2igukqeb7RB8LRQZsgWoE=; b=Yn+WckJnz64EbkXexC7bbINbrH5Lm5D7HjqKCYhxKTgx2o6xd6AYtciGcrasLOZ2pU/4VRyjv5Bn/T8BdEysimH6HldgFts9HPx5tKGTM138TdZ1Pvl96M8QICAsKeYqNDlFhwhZ36nnyRwmF/nDjfbpkO0PhnSevtIeYArSVX4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; 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 1573477029856311.6898400314184; Mon, 11 Nov 2019 04:57:09 -0800 (PST) Received: from localhost ([::1]:52108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU9Fk-0001RP-CB for importer@patchew.org; Mon, 11 Nov 2019 07:57:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41264) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU9EM-0000lK-CS for qemu-devel@nongnu.org; Mon, 11 Nov 2019 07:55:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iU9EL-0006Bi-3L for qemu-devel@nongnu.org; Mon, 11 Nov 2019 07:55:41 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:36375) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iU9EK-0006BO-Sc for qemu-devel@nongnu.org; Mon, 11 Nov 2019 07:55:41 -0500 Received: by mail-wr1-x442.google.com with SMTP id r10so14542671wrx.3 for ; Mon, 11 Nov 2019 04:55:40 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g4sm16779813wru.75.2019.11.11.04.55.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 04:55:37 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4FA001FF87; Mon, 11 Nov 2019 12:55:37 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WpXKEsMaXmP8vqDmswKMng2igukqeb7RB8LRQZsgWoE=; b=l0+kwUjZzlHTrGa2M02TSxCslzBYIo4gzMquhlXFkCoklmF3hta3IgdvOS82qPppXI jq2vMwO5c7lnQ+aFHs4bMzA5yOK8OM9vfkSEAAbYVkskSLl7p8R5NrGdK8baFsRePiUC nffVH63hGzFTys1j0IXGFhTem3VZuB0WBoTU6AVBrpu5MbKi7sePV8huk49jRLlsjIQJ Ag3paP02TFHfcIsT5HzIlc0ph/EKduU+1/EncQ9hCeRDetFre/2UXDHf+v5lvA1lr2b4 aCBZZoXRbeXUW5oTxDGRXyVmEmvNM51qCaoJH2PXxar8rr1RuyhECdAkbfsUb4WwCqzV Tl7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WpXKEsMaXmP8vqDmswKMng2igukqeb7RB8LRQZsgWoE=; b=EfssaVq0XzTERUPVz0TldC2iTgaon9DBwFepmu+3L9db+5NYK+1SpWUiT4URjml7CZ kjAuUchFX4eqGXCtX3k54mkMmfNDtQzFuxVx8gETUXvNzprq78t40sW3VSRTkV8Zo20V +SDpZ4qt7gXCuNEX4uLFhJzt12ehESsDQz1OvrO0gImSwlV+DUfsDdxgjYB80/2r9Nfx AlBni5Z4CebxKArqPd37VIglhhcBlbMMH4n/C1SeNPWGsWD05kE3xsgyJfOZMSDt81Hh 6F05OHA9Yz3poN7E1ZK+pqi+dZAmLlWzVayLYWchO193lpo+40jWO0wnkulQoGvpaJqR kQ3A== X-Gm-Message-State: APjAAAX/1z+m09aZokAsdGt3AQlO0Ujc3QspWQQHJavYTnY2x+gD9Vul m9C+Q5oSMm0Xr52rxKW23GKRaw== X-Google-Smtp-Source: APXvYqzYgJcWMdovhtjwqLrbAg8aK9MBXdBMEpkNxr3jEQp3QegChoSnRuicM85slFxM+RG/xrFYDw== X-Received: by 2002:a5d:4645:: with SMTP id j5mr13090957wrs.329.1573476939287; Mon, 11 Nov 2019 04:55:39 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH] tests/migration: use the common library function Date: Mon, 11 Nov 2019 12:55:30 +0000 Message-Id: <20191111125530.26579-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 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: =?UTF-8?q?Alex=20Benn=C3=A9e?= , dgilbert@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Signed-off-by: Alex Benn=C3=A9e --- tests/migration/stress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/migration/stress.c b/tests/migration/stress.c index 0c239646934..915389b53ae 100644 --- a/tests/migration/stress.c +++ b/tests/migration/stress.c @@ -31,7 +31,7 @@ const char *argv0; =20 static int gettid(void) { - return syscall(SYS_gettid); + return qemu_get_thread_id(); } =20 static __attribute__((noreturn)) void exit_failure(void) --=20 2.20.1