From nobody Mon Feb 9 12:29:45 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@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 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1698234006; cv=none; d=zohomail.com; s=zohoarc; b=hv3liqG9LXPD0YyGduFxQFb8j3bfpBxKXz2m39zIzhBHdnffXzbcD4g0WTD5l1wSX8wmuRZuki6aCfQAzFgVesWlNKmf8hrSYo8WH/gMoiwUyOcp9WXOOnkvP1elS2UdI7OgUAr+bFRi1YHLDv5XvyEI4d2KDCPZDiNg59o5JZY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698234006; h=Content-Type:Content-Transfer-Encoding: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:Cc; bh=jjdht5V5hJAwu/hATiJ58f77KXqDJlKMsAQVkwF5iRM=; b=RHB8PmqMvaoy6MtGGVO/5w98Zcgb7xNHYHhYOF+Qk5eqekhgZookc759h0ALc5tI5PLfBVhhbpXIXyTS35BRdhkdp0BBqxzvewLvlUH0Fc5HqzHWF/Kfuz0Bm69iNEAEapQitVi4Sf4fJaJYvjprKjAZTOoHMoBDsd7kOtQ8lXs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1698234006234980.898017118237; Wed, 25 Oct 2023 04:40:06 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-383-3EkYa4TlN2uy8B5GgKIdKg-1; Wed, 25 Oct 2023 07:39:54 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B738E811E94; Wed, 25 Oct 2023 11:39:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 814C040C6F7D; Wed, 25 Oct 2023 11:39:46 +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 F2F6D19465BA; Wed, 25 Oct 2023 11:39:44 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7230E1946586 for ; Wed, 25 Oct 2023 11:39:44 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 53F74492BFC; Wed, 25 Oct 2023 11:39:44 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.14]) by smtp.corp.redhat.com (Postfix) with ESMTP id D1F2C492BFB for ; Wed, 25 Oct 2023 11:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698234005; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=jjdht5V5hJAwu/hATiJ58f77KXqDJlKMsAQVkwF5iRM=; b=LDVVhoZS/gWOtWEMowuW9AK+xPkrgYSi6Y+tZkFH+xVaF9Z4wVcwYUg3y22XGvQiblpmHT 1klx10fNsT06uzHUXT/9WO5PbctyDlMSuLfDs4FZ/w1WwwwSkyx/mn/L8Vlhq4trLLdSQq E60lfWbUe2VceHWsaQRMapiBiUa1b1I= X-MC-Unique: 3EkYa4TlN2uy8B5GgKIdKg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 01/22] qemuxml2(argv|xml)test: Add network backed disk type='sd' Date: Wed, 25 Oct 2023 13:39:11 +0200 Message-ID: <710e45d154975b1421e6d40a6166da66a647c6a1.1698233503.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1698234007372100001 Content-Type: text/plain; charset="utf-8" Add a few examples of SD cards backed with network storage to capture the current state as the formatter code is about to be refactored. Signed-off-by: Peter Krempa --- .../disk-arm-virtio-sd.aarch64-latest.args | 2 ++ tests/qemuxml2argvdata/disk-arm-virtio-sd.xml | 16 ++++++++++++++++ .../disk-arm-virtio-sd.aarch64-latest.xml | 16 ++++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args = b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args index 5d841604fb..00fdd1759e 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.aarch64-latest.args @@ -33,6 +33,8 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-armtest= /.config \ -dtb /arm.dtb \ -usb \ -drive file=3D/arm-sd.qcow2,format=3Dqcow2,if=3Dsd,index=3D0 \ +-drive file.driver=3Dnbd,file.server.type=3Dinet,file.server.host=3Dlocalh= ost,file.server.port=3D10809,file.export=3Dexport,format=3Dqcow2,if=3Dsd,in= dex=3D1 \ +-drive file.driver=3Dgluster,file.volume=3DVolume3,file.path=3DImage.qcow2= ,file.server.0.type=3Dinet,file.server.0.host=3Dexample.org,file.server.0.p= ort=3D6000,file.server.1.type=3Dinet,file.server.1.host=3Dexample.org,file.= server.1.port=3D24007,file.server.2.type=3Dunix,file.server.2.path=3D/path/= to/sock,file.debug=3D4,format=3Dqcow2,if=3Dsd,index=3D2 \ -blockdev '{"driver":"file","filename":"/arm-virtio.qcow2","node-name":"li= bvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qco= w2","file":"libvirt-1-storage"}' \ -device '{"driver":"virtio-blk-device","drive":"libvirt-1-format","id":"vi= rtio-disk0"}' \ diff --git a/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml b/tests/qemuxml2= argvdata/disk-arm-virtio-sd.xml index 45a2192d48..9315c12c76 100644 --- a/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml +++ b/tests/qemuxml2argvdata/disk-arm-virtio-sd.xml @@ -26,6 +26,22 @@ + + + + + + + + + + + + + + + + diff --git a/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml= b/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml index 962dc8f367..b9d412d3fb 100644 --- a/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml +++ b/tests/qemuxml2xmloutdata/disk-arm-virtio-sd.aarch64-latest.xml @@ -30,6 +30,22 @@ + + + + + + + + + + + + + + + + --=20 2.41.0