From patchwork Wed Mar 13 06:26:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 160201 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp13954556jad; Tue, 12 Mar 2019 23:31:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqweMGgkyRJn8qF6pgd6JXfF4ghdw6ew2Ch43NZuaJF9piDNk/0PExSq6+6VK3JMPKM4iPrK X-Received: by 2002:a81:6f8a:: with SMTP id k132mr32933010ywc.469.1552458716586; Tue, 12 Mar 2019 23:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552458716; cv=none; d=google.com; s=arc-20160816; b=BUs4ZOxLa8vVmKlFFyaaQVZPyaf75latIqGytQ0vx37h9DSRqPg5t7Uq8W2+AfgYrQ XQcb5UCSN3kmXxX6Oc9n/JAt3ZQBTZKO/0ppxZpMJAnXSS1ZjfZ1KFE4+0+LA3xQzytc MkVhDSJnHNUPYYvIl23csYvp+jHPlCFx7w1NYgU2JPWQX398JoHs2gV4cfPDSupQqZzf jSXcO76S/eSLbGgjw5jMGu9+y4HQSNxq2nHuOZShAtKe9H1BTAbeWCzPvz6cH9G1jsry N7d3Ni0bMb0kgKSzuJ289uQ5mSlMX7EOIK2KZyD3lQRKH0ci2roCJb6kEWXY2qlRNFDA nUcQ== 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=6eyH2FF7eLIJ4cGxJdoLLGwUA9HamRNHz//ATv6/MHk=; b=ObHU9NuNlZZtuZJ/eAl7YXyPSgIEMSUmU8vLp/JkTsjrwNRPbjfUPQGOcQ/LA1sFo0 NF++yVACkTgIdswgtfDNgRXT76kAazyFlc9qwLK6+FwTxAnRustj0ESMw6xKxuLd5LJ6 jzuRGUb0ZYkz6DS5Vc+VXz86He6jhZMp9IP6/N88C7Sc0gX6LyBwe3pfgxubFHP66ybE X2H9tqqqY1S5z7OVpwYg1T4iEsBXt7Z+X0yzBsw8k0XJmxhJf/6O2YGoAV0XborzhfVG W6aVDUHn4cEu2DW2b2ojEkWkjkW0kQ0l595vOCeDiAGS71hj0ZCo3nhLp4uhjL2Rj5Ry 4iQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=WB20gWP0; 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 o81si6398683ywc.424.2019.03.12.23.31.56 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 12 Mar 2019 23:31:56 -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=WB20gWP0; 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]:39224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3xQi-0003VO-3Y for patch@linaro.org; Wed, 13 Mar 2019 02:31:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3xLi-0000fh-2I for qemu-devel@nongnu.org; Wed, 13 Mar 2019 02:26:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3xLg-000218-VD for qemu-devel@nongnu.org; Wed, 13 Mar 2019 02:26:45 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:43183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3xLd-0001zt-RD for qemu-devel@nongnu.org; Wed, 13 Mar 2019 02:26:44 -0400 Received: by mail-pg1-x536.google.com with SMTP id l11so776692pgq.10 for ; Tue, 12 Mar 2019 23:26:39 -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=6eyH2FF7eLIJ4cGxJdoLLGwUA9HamRNHz//ATv6/MHk=; b=WB20gWP0BAwNJzVgLNB2AJ+TD98XeL01dvXwWFvVD6LnmbnRcU6Db0WkCVeTxx+j11 Efjz3IQNVAh39Gp/wBS/42zVzUBZhKcsqfRofYsa3V3xZQks/ejHMjFF43QxNaBlU5eU 3bDfnjIdj3HiQ/912VRIFjs3D7cVf7EXOBUkhqjN5uqhadsaJQot0t3kQPbXA5El1fjG TwSKMIeLHNBkkr/acxp74wQvB04Svym93hJpfUwOxuN6hiUX4eSrfvzTGIQxx9JMBrqA JcHcUpT/h2tF46v3V+PYIUFPfLhI7IzmMZobPzh3ny6oL1GofKGFKmQuh2e5wu0f9q84 ItkA== 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=6eyH2FF7eLIJ4cGxJdoLLGwUA9HamRNHz//ATv6/MHk=; b=OavbbvA8ZmdBbcpCI89+7k323Z8mjqlc5/ssX9hnxYdwmWmX5aV8HGBJaPUKlRP7iZ O1O1sfhMzbGZlaR6EXMmnXrEpoizvz6hfZt1kt8qpfpCQG7StkzowAUAjdJmR/ZaAuXV 9R9reJ6/K+mJ2ueW5UcOUZPgTHVZX4H58NKDl/9XxpAl7+L1/fEx+RMnWgSUW7OL6aS9 SiuOqiVQuVH76+5kcvN4sVf3prb+GR7sGcRLgs+keopj3K8w0vjSS/R2J3Q6WaxRcdlq A0NTAZQzXzzLY3EPhctsH40O7LKteRAlIjWbpjgdt/+xye/ISovOVKszhwiRMlOGf3uo B7Gw== X-Gm-Message-State: APjAAAXP6PHjHHXlXugGTfhNwT6DSM0w28VfCf1Vf7xFkJteCMsgFBev 82ZsUhGfPXKZtTUkYdTO/h0ZkgOaw7c= X-Received: by 2002:a17:902:361:: with SMTP id 88mr44235425pld.78.1552458398515; Tue, 12 Mar 2019 23:26:38 -0700 (PDT) Received: from localhost.localdomain (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id m64sm25593889pfi.149.2019.03.12.23.26.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Mar 2019 23:26:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 12 Mar 2019 23:26:28 -0700 Message-Id: <20190313062630.30568-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190313062630.30568-1-richard.henderson@linaro.org> References: <20190313062630.30568-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::536 Subject: [Qemu-devel] [PATCH for-4.1 5/7] 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: peter.maydell@linaro.org, david@redhat.com, laurent@vivier.eu, armbru@redhat.com, kraxel@redhat.com, pbonzini@redhat.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" We no longer use rand() within linux-user. 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 37300230f5..7a40a14c6a 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -619,8 +619,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);