From nobody Mon Nov 25 09:42:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1716476304; cv=none; d=zohomail.com; s=zohoarc; b=Kemnn3cYFCnYKu4Rz18MvDNBsthRo3XBuN5EUOAmSKfpEieYiUBd2JbIFUXOHEjF2euI29RQXtKNBu19GZW1sIN0rrtS0/VK4KEsSE0CRk6wzvSrIHMKSb5LQ6NWTplWoKSEAvrMvDG2k1Ev9FOj1HSpvnkFpQ87rb+odGVH75Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716476304; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=oz7CXmEGB8H9CB1Ih3mY/njvC8uRis0RohRSCchlBSc=; b=JwXwkP4p6EkscE1tD7UhDFpuNV1f+pmx5HloIRukxsu0wTsZ1ZemRT7pupTcWGJZ9nL6KNhxKMIyhB8+X3kMD3oOJYRn1riwEayxdGGgmPFLgCYD/rbBg22P06sozsRSsCEZGj4MpGtY8Z1yzwkKXugBjtDiFZNp5qD8SF34SS8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1716476304639956.9890764396923; Thu, 23 May 2024 07:58:24 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA9t2-0004sn-6m; Thu, 23 May 2024 10:57:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sA9se-0004J0-RP for qemu-devel@nongnu.org; Thu, 23 May 2024 10:57:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sA9sc-000471-G9 for qemu-devel@nongnu.org; Thu, 23 May 2024 10:57:19 -0400 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-82-qIjrN6TbPpmFyLqa2uTP4A-1; Thu, 23 May 2024 10:57:16 -0400 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-43f7dba5d72so2162851cf.3 for ; Thu, 23 May 2024 07:57:16 -0700 (PDT) Received: from step1.redhat.com (host-79-53-30-109.retail.telecomitalia.it. [79.53.30.109]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43fa1a906eesm18405351cf.20.2024.05.23.07.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 07:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716476237; h=from:from: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; bh=oz7CXmEGB8H9CB1Ih3mY/njvC8uRis0RohRSCchlBSc=; b=JGgKpUkzA5nx3ijmFyCNVPdJ23Zixzw7MCBJpFfqNClzLVIxEq5TR91zERYZbG92Eda5Sj 6CBq225jok1zB3aaPjfsUop00zL0hnk4nyAVXbSs8gzkCD/eZgbfQ5Xkd6gwCSMmkfYNh9 72SF68XV5YAeABEHxVDrVKwB8h3dZKw= X-MC-Unique: qIjrN6TbPpmFyLqa2uTP4A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716476234; x=1717081034; 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=oz7CXmEGB8H9CB1Ih3mY/njvC8uRis0RohRSCchlBSc=; b=LtQJRhPkgcos9IgqkWmXi+z3NqvN3MqOR0DRar+zyjRL0Tc/xY52I8An6Tk0o1x5SV kBzRzTKbJ15oCET2VAfJmYADwBbDSysARQghG/remjMDDMFtNy3kKTBquL4LnBoHoNj2 GGPkY5+djXDGu1GBdPPNLSoP2GqX23m524fjdbQ7MFEoYRsL3HQnAkvm7uNO4XIZVxDP 1aEfcTzagKJ1b8qippTZnAl/fHEwACYVhk0UsrZMWEes2ZXJFwBZcuPYNqNh+Wr88vys /ltitezrRNvhzs/iZU0CS/Q4VNiMuH19tm5JUAJqDtpFtVq79IqhvNMmJZwx+gIBhCoH 8JzA== X-Gm-Message-State: AOJu0YxIfMsNCuxTH+10JJJcVAsN8MYV4fJTrHS8pXtjlg2tX4B8imHs EyOG9wmENr0RYabG+UYxMvy4Wbc9n2TMjVSn4WlCO1yBPji15TW+4CLR2CEEmLn/b67P8j6Jfus nYhM9asLRemNk+GpKkHxB6fhDjJ8IP1w4/FzEC/aPXZmvOE4ZrBBGauauIRszKzSjucluynw9wk ttCHiEI0jy8sqRrjEH5KyZzUjNLofOMbPBHOcm X-Received: by 2002:a05:622a:242:b0:43a:d7a9:390 with SMTP id d75a77b69052e-43f9e0ae4e7mr49036421cf.29.1716476234169; Thu, 23 May 2024 07:57:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9o75zA1DWnxNJTkg2uWIN9fVcZCsH1LHayMVQzL8KVSF8dzDS1Tkmu+0m0U9wE2qF+ecaag== X-Received: by 2002:a05:622a:242:b0:43a:d7a9:390 with SMTP id d75a77b69052e-43f9e0ae4e7mr49036051cf.29.1716476233803; Thu, 23 May 2024 07:57:13 -0700 (PDT) From: Stefano Garzarella To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Eric Blake , Igor Mammedov , Paolo Bonzini , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Brad Smith , "Michael S. Tsirkin" , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Coiby Xu , Markus Armbruster , David Hildenbrand , slp@redhat.com, Eduardo Habkost , stefanha@redhat.com, Hanna Reitz , Raphael Norwitz , Jason Wang , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Kevin Wolf , gmaglione@redhat.com, Thomas Huth , qemu-block@nongnu.org, Stefano Garzarella Subject: [PATCH v5 12/13] tests/qtest/vhost-user-blk-test: use memory-backend-shm Date: Thu, 23 May 2024 16:55:21 +0200 Message-ID: <20240523145522.313012-13-sgarzare@redhat.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240523145522.313012-1-sgarzare@redhat.com> References: <20240523145522.313012-1-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=170.10.133.124; envelope-from=sgarzare@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1716476306620100009 `memory-backend-memfd` is available only on Linux while the new `memory-backend-shm` can be used on any POSIX-compliant operating system. Let's use it so we can run the test in multiple environments. Acked-by: Thomas Huth Acked-by: Stefan Hajnoczi Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Stefano Garzarella Reviewed-by: David Hildenbrand --- tests/qtest/vhost-user-blk-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/vhost-user-blk-test.c b/tests/qtest/vhost-user-blk= -test.c index 117b9acd10..e945f6abf2 100644 --- a/tests/qtest/vhost-user-blk-test.c +++ b/tests/qtest/vhost-user-blk-test.c @@ -906,7 +906,7 @@ static void start_vhost_user_blk(GString *cmd_line, int= vus_instances, vhost_user_blk_bin); =20 g_string_append_printf(cmd_line, - " -object memory-backend-memfd,id=3Dmem,size=3D256M,share=3Don= " + " -object memory-backend-shm,id=3Dmem,size=3D256M,share=3Don " " -M memory-backend=3Dmem -m 256M "); =20 for (i =3D 0; i < vus_instances; i++) { --=20 2.45.1