From patchwork Thu Mar 14 04:55:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 160290 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp15075480jad; Wed, 13 Mar 2019 22:01:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdmN3flzg8oGpiZLf1VeMoDbjqRFNDFlooTKBghs0VYvU2KyV+0ynHv8cnp6rY3L4HtBT9 X-Received: by 2002:a25:bd88:: with SMTP id f8mr20086596ybh.373.1552539715872; Wed, 13 Mar 2019 22:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552539715; cv=none; d=google.com; s=arc-20160816; b=LHz2YcdqQwZDWuiE708yJNfUmZV9aeImkOZDBl7pUvxTKxYBVoW7Z8VW5pfBalbDt8 nMpuTZqmnaw5iUNYzGErmGGeTYy5MlB8TQxzmhC8W1mcVSuaRWdlfOB+i0wOJTb9+pdY X5ajEp6nH6yQWfPAM1fTnK0nzYVpBqmgw1qH7CGLyiW+qhvMZ1/huLpGJLnoAPMozm6G aFhSq7eJ94XMM/lccbYDkfgRoA4vXWlfTSNdXnXor4T7c6c33QYEzllxpw0paWhhr2Ru 8I+9sc4Ua2m+c4K1CtGBjwsuZIi8aNN/mXAB1bJsDFIPvu9Z+hwtjoV6mJLpC+GTEY4G Poeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=8NCeH4mjwYfJB5pPXQkyOvXvcMzBKrxe6uKuMt36S8E=; b=J+BCBOsjynzukATV4t/K6BmKks3C9ZdtQxauf8MfK4dGpCrl63iF17Tmc0iLDaJ7DE 86U+FKyGnhGkcb/GIZixGQT3mAJwRdsXwCpzItcHc334gI6S5mCLcJaZSn8ZURyyiYbv 9C1zm2esaCZ9n8XKValDVOf4bbvCgMaJ11V15Mzvr/nnQFUWRNVyDDFfpeESsNb0twUM PN4LZT0YvX9zXpQ1CAM6zpUppJTJCJhkHph7bpRWEGQyU19OFIsr6BNk1TqFSMZ2Ypt7 h+JknyrO50XDRxgCQFwWbNzS2uNSrFHJ/bq0i2KsUR8bt1o1iEtEKll7Dzm5gAPsMC/S bf6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=fKhq2bvA; 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=fail (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 n10si7521327ybp.335.2019.03.13.22.01.55 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 13 Mar 2019 22:01:55 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=fKhq2bvA; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:56930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4IV9-0000yc-8F for patch@linaro.org; Thu, 14 Mar 2019 01:01:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4IPC-0004c3-Hx for qemu-devel@nongnu.org; Thu, 14 Mar 2019 00:55:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4IPB-0007SW-Nz for qemu-devel@nongnu.org; Thu, 14 Mar 2019 00:55:46 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:36102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h4IPB-0007S7-FO for qemu-devel@nongnu.org; Thu, 14 Mar 2019 00:55:45 -0400 Received: by mail-pg1-x531.google.com with SMTP id r124so3161765pgr.3 for ; Wed, 13 Mar 2019 21:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8NCeH4mjwYfJB5pPXQkyOvXvcMzBKrxe6uKuMt36S8E=; b=fKhq2bvAt/ogmagCdTjpNnfEc9KW2VKKfMz2MkFu996x1m5jxRGxZYv2i0dTOm8lFN hlL55MoOkDwu/fS8pnK/eNa56af6GEcK8O+rGdSLMM4UGzqDkMqF34Fe8jRiKhRSOFHR TYUqxLD7H7VD45S634mn6If08yCFO/myRthYwY3fnq/DklSHYAB4k583gDE/uTwFLLWN XKJ+SEogE1VHrEjnQKDhi0U1jyjJ7pWVuV0JlRXWH733jl38n5qpUOSm2QprPUngdusX Dj9c6CVIgwF8Oy2dBLBy+7iQFsHiFYp6o8cQqH19yZlEXVmT2d7+Eg4nkqnYF+4j1c33 +P4g== 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:in-reply-to :references; bh=8NCeH4mjwYfJB5pPXQkyOvXvcMzBKrxe6uKuMt36S8E=; b=r69ATG8xxMYUrNV3LcXt2g7FnrNO67FWdyFIz8w6soYy6siLJCDK7mhz3nncZ7nS8m g2itx5sKdnVTV88M9dLgev2dZ2ZI2qjgdMeQrYCBWzANfwpcqestzqP1C91VkYa2U2eh xBy36Qsztk5aioJyHR+8jaAIeR6kaAN9t3Z7LjR9eI+FEunLLEAEJk/j18Bi2PDyCGPt H24qmfNst0Nmx5JoWuLBbx3tc5pgwGHZOC7Zz24r1N10zuAG88+CP2q586DvQSoKnVCC 2Tpxp26zLUNkeycuiQNPGOV8cMJSXjOqxOyrM6Jwe7YPrnJpqfm0CaB+o1WqPCIL26DS cnwg== X-Gm-Message-State: APjAAAV39xzToJtZ/cm1o8vZXvrbjrmjQeYgkFb6WpExXdJAR2yMF2TW cFwtHOQ+7bZTkPaXyq8ETDTyNPS1rsU= X-Received: by 2002:aa7:86c6:: with SMTP id h6mr43724387pfo.236.1552539344071; Wed, 13 Mar 2019 21:55:44 -0700 (PDT) Received: from localhost.localdomain (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id d9sm16185027pgq.6.2019.03.13.21.55.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 21:55:43 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 13 Mar 2019 21:55:25 -0700 Message-Id: <20190314045526.13342-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190314045526.13342-1-richard.henderson@linaro.org> References: <20190314045526.13342-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::531 Subject: [Qemu-devel] [PATCH v2 13/14] linux-user: Remove srand call X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We no longer use rand() within linux-user. Cc: Laurent Vivier Signed-off-by: Richard Henderson --- linux-user/main.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 diff --git a/linux-user/main.c b/linux-user/main.c index 192bf759b8..11a37f7f9b 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -621,8 +621,6 @@ int main(int argc, char **argv, char **envp) cpu_model = NULL; - srand(time(NULL)); - qemu_add_opts(&qemu_trace_opts); optind = parse_args(argc, argv);