Message ID | 20230526165401.574474-11-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1025198wrt; Fri, 26 May 2023 09:54:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YMQK4KbklpjIfanIZAYVu1KEeJeAWh1HHfgUS19ZRSQfic9cwTHYKAy1XXmkeuuczaGjF X-Received: by 2002:a05:622a:242:b0:3f8:45f:997 with SMTP id c2-20020a05622a024200b003f8045f0997mr2487977qtx.22.1685120061651; Fri, 26 May 2023 09:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685120061; cv=none; d=google.com; s=arc-20160816; b=e5/KafAQyogEr4o8OWastZGGVVoxdVXVlaxijMHNriy+pCuhVrMWI6Zcb5k9dJAA73 8+rPHPuIla2L2hI4eZxjHCU8kE3rCj9DUVCP3zXnU7UT093JGKfpzT6k7NONiu8djG4r Q3NyF0Yz0y9g3wysRue+FiUBL9BjOvrlulRm7MG6YmrkSWRCCZy420/C6IjbiH/XEeyp heDxYGm6f6j6nR4WIRTdFXMMalhn1Wbf+WovYDFrI6MPWlJRdbLAIhDb+UMbwILu/gOs Nsj7Ozs7ZYarEVyij0t2c5s4jmPmLfbrEGtexp2dCjhwyPD8VtL8MyVPVTIQNa1zxhpW hu1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:sender:errors-to:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to:delivered-to:dkim-signature; bh=golKvSYvzbphYFdgYW/zJabTWZL4ziquNJ4trhfkWb0=; b=1Gyl8vWtuQadkl9DhdrZCLujxqFf+zQNyMptT54p45zpENssT3liklPOAxe2s5Pt77 +tu7HOSZxQgpQu0yXXhnoUjeyxbJX6ZYWS3saCPmIooj85WxhisVmDvIiDAADlZkYpUR zYykC59+arrnjApS/f5vYtQ1s8tlJjZcMFCUFepkxIIezcNifQCWqeWjbZn1X7SOys/U wrltiOBhjoktuFC2q734ikwHf0on4+5ETIJyCLLQeChTgGr17gZCGpWLwEJ06rRMQxaG 1uvCSNR+MuQio9sgt3sPPIs20r4e4FJJsGlUTHCLQXP3R3p4vPYwPTo2vT4X7gxUtBIZ hH5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FsWjRmY1; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <libvir-list-bounces@redhat.com> Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com. [170.10.133.124]) by mx.google.com with ESMTPS id i6-20020ac85c06000000b003f38b2e048esi1508923qti.678.2023.05.26.09.54.21 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 09:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FsWjRmY1; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685120061; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=golKvSYvzbphYFdgYW/zJabTWZL4ziquNJ4trhfkWb0=; b=FsWjRmY1Lm0XEynEFZTm5n8vjo4bXHXzwGDAwQtQil/BK6WY0+zvO2S5qrw1v9CFIndaoS HUbXV26vHKMn55eo+/a6Ly/2XNHty2juLv+n4dAAKKm+8HySl9w4bx5kiftUVxo15uwXEf FYEIRk7x3o/5Mm1/ujYn+CfhxGMg5C4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-320-ngA9ZwAKOW6ClbJXOmSRJA-1; Fri, 26 May 2023 12:54:19 -0400 X-MC-Unique: ngA9ZwAKOW6ClbJXOmSRJA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9B6808038E8; Fri, 26 May 2023 16:54:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 79ABA140E965; Fri, 26 May 2023 16:54:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 692DE1946A46; Fri, 26 May 2023 16:54:12 +0000 (UTC) X-Original-To: libvir-list@listman.corp.redhat.com Delivered-To: libvir-list@listman.corp.redhat.com Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B09A51946A44 for <libvir-list@listman.corp.redhat.com>; Fri, 26 May 2023 16:54:10 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7F54640CFD46; Fri, 26 May 2023 16:54:10 +0000 (UTC) Delivered-To: libvir-list@redhat.com Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 773D540CFD45 for <libvir-list@redhat.com>; Fri, 26 May 2023 16:54:10 +0000 (UTC) Received: from us-smtp-inbound-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5A9E03C14119 for <libvir-list@redhat.com>; Fri, 26 May 2023 16:54:10 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-605-ro3DVSveOPO-7225WsBsyA-2; Fri, 26 May 2023 12:54:08 -0400 X-MC-Unique: ro3DVSveOPO-7225WsBsyA-2 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-3f6e72a1464so7300495e9.1 for <libvir-list@redhat.com>; Fri, 26 May 2023 09:54:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685120048; x=1687712048; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=golKvSYvzbphYFdgYW/zJabTWZL4ziquNJ4trhfkWb0=; b=bg0z0kQpY5V0Rv1UU2oIwu5d3O5YC/wDwnQoTbfNCN8I8FuzfIhwPJCtdZKkj6aRI+ 4bC2WfrGXS4Avmgr7O5oWGyL5UhCNLOIzb0XOUHcDkcQ3dUqg5AFjX9zMKvjALep18VH KDXDqQ4cqIQGY39WS5RQuGI8Xz/B2KI5oP5By9sDmqD9o9m7jN1U/ef8unCs+JsE8UBX lQz5tQHVGrvD+03IzpO3DKHV0zPRBnzk8KSbYqq7x5AN1tKaqE1aYUdy23wYwdvWqiO0 bByIh/5CMzggmUv1gBNLnP0zZWgLAm5BlIUb+3RtilZ1KZs9Bc1EkQTOH9vPIPM/wnZT 1fVg== X-Gm-Message-State: AC+VfDz6kwpzSc6mkL1JzU82t1STrRMZ65s8miWVnvYimVtzSoXflQNr +CI4qEnLR6+6AmKhrFKN7F0dTA== X-Received: by 2002:a05:600c:d2:b0:3f6:536:a4b2 with SMTP id u18-20020a05600c00d200b003f60536a4b2mr1892054wmm.27.1685120047859; Fri, 26 May 2023 09:54:07 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id x4-20020a5d54c4000000b002c70ce264bfsm5609626wrv.76.2023.05.26.09.54.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 May 2023 09:54:07 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4948A1FFC0; Fri, 26 May 2023 17:54:05 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com> Subject: [PATCH v6 10/11] hw/9pfs: use qemu_xxhash4 Date: Fri, 26 May 2023 17:54:00 +0100 Message-Id: <20230526165401.574474-11-alex.bennee@linaro.org> In-Reply-To: <20230526165401.574474-1-alex.bennee@linaro.org> References: <20230526165401.574474-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools <libvir-list.redhat.com> List-Unsubscribe: <https://listman.redhat.com/mailman/options/libvir-list>, <mailto:libvir-list-request@redhat.com?subject=unsubscribe> List-Archive: <http://listman.redhat.com/archives/libvir-list/> List-Post: <mailto:libvir-list@redhat.com> List-Help: <mailto:libvir-list-request@redhat.com?subject=help> List-Subscribe: <https://listman.redhat.com/mailman/listinfo/libvir-list>, <mailto:libvir-list-request@redhat.com?subject=subscribe> Cc: Eduardo Habkost <eduardo@habkost.net>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, libvir-list@redhat.com, Kyle Evans <kevans@freebsd.org>, Riku Voipio <riku.voipio@iki.fi>, Richard Henderson <richard.henderson@linaro.org>, Markus Armbruster <armbru@redhat.com>, Greg Kurz <groug@kaod.org>, Yanan Wang <wangyanan55@huawei.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Michael Roth <michael.roth@amd.com>, Paolo Bonzini <pbonzini@redhat.com>, Christian Schoenebeck <qemu_oss@crudebyte.com>, Eric Blake <eblake@redhat.com>, Warner Losh <imp@bsdimp.com> Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" <libvir-list-bounces@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: linaro.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
Series |
tracing: remove dynamic vcpu state
|
expand
|
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 9621ec1341..991645adca 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -738,15 +738,14 @@ static VariLenAffix affixForIndex(uint64_t index) return invertAffix(&prefix); /* convert prefix to suffix */ } -/* creative abuse of tb_hash_func7, which is based on xxhash */ static uint32_t qpp_hash(QppEntry e) { - return qemu_xxhash7(e.ino_prefix, e.dev, 0, 0, 0); + return qemu_xxhash4(e.ino_prefix, e.dev); } static uint32_t qpf_hash(QpfEntry e) { - return qemu_xxhash7(e.ino, e.dev, 0, 0, 0); + return qemu_xxhash4(e.ino, e.dev); } static bool qpd_cmp_func(const void *obj, const void *userp)