From nobody Sun Feb 8 17:42:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601895303; cv=none; d=zohomail.com; s=zohoarc; b=lRAxuf1QO8rSkBpohKwCpz3WLjl1qxCymcqgp/aIgjmlgNaCQrJFFkfoh8jDsLa2k91LxwIR8UNOMPIJakCXeO2KQg0uHXrq+8sTkYRkOGCIlEtM9q6boIqZ4wBR0+M/v7GccVaCcYo+mEh/u8VuiASNOH4kp2KXhha/aWM+cTo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601895303; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/z9yRp8+WHql3Xgj+kTqlTxcqqInaLF1iEEzvMMLOY8=; b=NtelaG3bA3G+pJCxYL7Rm2Mtvz1z/QuITHxhAMhEUxgi0fsQ8b1eHUu2EAA1LqX0kS5irbDPuVPWinxMrG5JjbEFGVdgxsw61ctgyGRLmwZPhbxF+aNhsMN68JnCYivBbFB7blxfCgt01/RAXKGR73N/GvKWh+//QJUlwlQWlf0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1601895303305557.1264319979975; Mon, 5 Oct 2020 03:55:03 -0700 (PDT) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-203-NSSc9RRFOv-H8jjMMb2uAg-1; Mon, 05 Oct 2020 06:55:00 -0400 Received: by mail-wr1-f69.google.com with SMTP id d13so3822329wrr.23 for ; Mon, 05 Oct 2020 03:55:00 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (106.red-83-59-162.dynamicip.rima-tde.net. [83.59.162.106]) by smtp.gmail.com with ESMTPSA id a15sm13811809wrn.3.2020.10.05.03.54.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 03:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601895302; 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=/z9yRp8+WHql3Xgj+kTqlTxcqqInaLF1iEEzvMMLOY8=; b=hqAvztmErrmA0gddHWR52YuDk0zRxaiqdCgke1UODTscU6FO8llP3OXElU3jvcVfCJJ8iU u8J74+OaLvRAd1jqRPwV6GZJ/z880tk0proHM06nCBvVbhSBPmAJc2ZzTneU8b7lMxG2yq QwZNvcMc4VpDDF4wq+kec5dWnI5moME= X-MC-Unique: NSSc9RRFOv-H8jjMMb2uAg-1 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:mime-version:content-transfer-encoding; bh=/z9yRp8+WHql3Xgj+kTqlTxcqqInaLF1iEEzvMMLOY8=; b=TV/DSoU5FWcdhVmuTavd7pSarVyCBFxazjyi15+TEmPtQpMdpgLVswJnOhNjD8gk5y PZhgGwV33Pn3+5ElX8SVh8Ej6hVwb3TUGjsujEIGo5j7XgvigNbujqlJ1ZShrXj0dVSe Fws24bq/ot1AaKui7QoY22BVYQOrZavILNCN80aeiyXxhn9VLmoafnbTxxJ1tV2Uz04u A7IJ+BrRe4cwbsRm9k5izbjd+iQDjIKf5U8Z0VVt78FFqRQyy1Gh3rdGxIqOPzSAAwf6 S5EbckNBxLV74eDtO0aU4duFM/5lCkF2/FGFSufRSOLDG6YDcxMsqNTiQcAmqX1i4VNX jWIg== X-Gm-Message-State: AOAM532sOPd1YG7+FXo/zDdp5b8BAQRPRIGB/BbYYjdn/etjr7rnZVcu NeqUxJMV7+tY4fr3iC4ZIpMeOruFGlPMGTKg5Fy4ujLPW+wMwMkxHA+6TLIy1NH6pcfLlvEOVTJ IkIJuHK7RCdj+ag== X-Received: by 2002:a1c:a949:: with SMTP id s70mr6315256wme.17.1601895299456; Mon, 05 Oct 2020 03:54:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzReQJ75SoObycGxzGbogKef3teUeSgq/xjMcZfRZMX1mVnciDi3ttxM3qyhlYq80FpIZK4Mw== X-Received: by 2002:a1c:a949:: with SMTP id s70mr6315241wme.17.1601895299253; Mon, 05 Oct 2020 03:54:59 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Kevin Wolf , "Daniel P . Berrange" , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Eduardo Habkost , Paolo Bonzini , Laszlo Ersek , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Subject: [RFC PATCH 3/3] tests: Add a trivial qemu-storage-daemon test Date: Mon, 5 Oct 2020 12:54:42 +0200 Message-Id: <20201005105442.2093105-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201005105442.2093105-1-philmd@redhat.com> References: <20201005105442.2093105-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) This test fails on top of commit 69699f3055 ("crypto/tls-cipher-suites: Produce fw_cfg consumable blob") because the TYPE_FW_CFG_DATA_GENERATOR_INTERFACE registered in hw/nvram/fw_cfg.c is not linked into qemu-storage-daemon: $ make check-block Generating qemu-version.h with a meson_exe.py custom command qemu-storage-daemon tests/qemu-storage-daemon.sh: line 10: 2089929 Aborted (c= ore dumped) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/Makefile.include | 3 +++ tests/qemu-storage-daemon.sh | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100755 tests/qemu-storage-daemon.sh diff --git a/tests/Makefile.include b/tests/Makefile.include index d257777560..be12581c77 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -142,7 +142,10 @@ endif check: check-block check-block: $(SRC_PATH)/tests/check-block.sh qemu-img$(EXESUF) \ qemu-io$(EXESUF) qemu-nbd$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) \ + storage-daemon/qemu-storage-daemon \ $(patsubst %-softmmu,qemu-system-%,$(filter %-softmmu,$(TARGET_DIRS))) + $(call quiet-command, \ + $(SRC_PATH)/tests/qemu-storage-daemon.sh, "qemu-storage-daemon") @$< endif =20 diff --git a/tests/qemu-storage-daemon.sh b/tests/qemu-storage-daemon.sh new file mode 100755 index 0000000000..9fd4c73400 --- /dev/null +++ b/tests/qemu-storage-daemon.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# Test all QOM dependencies are resolved +storage-daemon/qemu-storage-daemon \ + --chardev stdio,id=3Dqmp0 --monitor qmp0 \ + > /dev/null << 'EOF' +{"execute": "qmp_capabilities"} +{"execute": "qom-list-types"} +{"execute": "quit"} +EOF --=20 2.26.2