From nobody Mon Feb 9 00:30:46 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1592840581; cv=none; d=zohomail.com; s=zohoarc; b=CbX2Qp5pkKTMU7b6MMiLD05l7NnkzgJKNPwaiGkyKYz5uPsrw3mKET4NUpH3HlCJH6eXuwwdDAW/f/Q9uwZ4JSPQ6mNsXDVw1rFDA3Ew21zmySH4rK3ThpPNhun3CGv2DaTaBkaiEM/m1zuwIs3ni8O5Ldimza9WTTk+Ul4ApHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592840581; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XJ0hy28v8t/iEIojBvUMt4BNAo6WhGfvrpFekqaui1o=; b=KkBKpYSZBU9N/F9cZevuyoicN+7LM4jZ/CMu9QeGA6tinc2JurzaRUeyEge/FaUYSQEfV1rp6qrx2nmILv4Rg1W+jzAP4IXvyQ4Afeu11lCAGU0/gkVO6Oe6GoXLdWTaoYoaT1L45EOIctkdlETMwGzfbLrrFcqZB1R5cQnjRy8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1592840581017575.5107383295389; Mon, 22 Jun 2020 08:43:01 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-306-QLjzKbPsP3WFuNHHE5CmXQ-1; Mon, 22 Jun 2020 11:42:54 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BE7DC8730B2; Mon, 22 Jun 2020 15:42:42 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9ACB67C200; Mon, 22 Jun 2020 15:42:42 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 68953180BACF; Mon, 22 Jun 2020 15:42:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 05MFgUJM020410 for ; Mon, 22 Jun 2020 11:42:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id D73DF5C240; Mon, 22 Jun 2020 15:42:30 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.23]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A8985C1BD for ; Mon, 22 Jun 2020 15:42:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592840578; 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=XJ0hy28v8t/iEIojBvUMt4BNAo6WhGfvrpFekqaui1o=; b=PieXxb8lJTRzEfcQzhAabNcfWrwGe7IILUMJdSQa/vDytx3Z9TeOjfnp00VF03bhiFVFLi 9uH05e2eWjA9udEIWDviQiXq3muQIuP0YzzBZf/H+g5R3FrsIaa5eVZATvRzZMetfSq/6g padg2Ah4H+PDPpgodPsRnCGC0qe3JnM= X-MC-Unique: QLjzKbPsP3WFuNHHE5CmXQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 05/12] qemuxml2argvtest: hostdev-scsi-lsi: Integrate 'hostdev-scsi-lsi-iscsi' case Date: Mon, 22 Jun 2020 17:42:17 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" We can add the iSCSI hostdevs to the same test file. Signed-off-by: Peter Krempa --- .../hostdev-scsi-lsi-iscsi.args | 37 -------------- .../hostdev-scsi-lsi-iscsi.xml | 42 --------------- .../hostdev-scsi-lsi.x86_64-2.8.0.args | 6 +++ .../hostdev-scsi-lsi.x86_64-4.1.0.args | 8 +++ .../hostdev-scsi-lsi.x86_64-latest.args | 8 +++ tests/qemuxml2argvdata/hostdev-scsi-lsi.xml | 12 +++++ tests/qemuxml2argvtest.c | 3 -- .../hostdev-scsi-lsi-iscsi.xml | 51 ------------------- tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml | 12 +++++ tests/qemuxml2xmltest.c | 3 -- 10 files changed, 46 insertions(+), 136 deletions(-) delete mode 100644 tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args delete mode 100644 tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.xml delete mode 100644 tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args b/tests/qem= uxml2argvdata/hostdev-scsi-lsi-iscsi.args deleted file mode 100644 index f215fba0666..00000000000 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args +++ /dev/null @@ -1,37 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/tmp/lib/domain--1-QEMUGuest2 \ -USER=3Dtest \ -LOGNAME=3Dtest \ -XDG_DATA_HOME=3D/tmp/lib/domain--1-QEMUGuest2/.local/share \ -XDG_CACHE_HOME=3D/tmp/lib/domain--1-QEMUGuest2/.cache \ -XDG_CONFIG_HOME=3D/tmp/lib/domain--1-QEMUGuest2/.config \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i386 \ --name QEMUGuest2 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --realtime mlock=3Doff \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9466-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest2/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ --drive file=3Discsi://example.org:3260/iqn.1992-01.com.example/0,if=3Dnone= ,\ -format=3Draw,id=3Ddrive-hostdev0 \ --device scsi-generic,bus=3Dscsi0.0,scsi-id=3D4,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ --drive file=3Discsi://example.org:3260/iqn.1992-01.com.example/1,if=3Dnone= ,\ -format=3Draw,id=3Ddrive-hostdev1 \ --device scsi-generic,bus=3Dscsi0.0,scsi-id=3D5,drive=3Ddrive-hostdev1,id= =3Dhostdev1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.xml b/tests/qemu= xml2argvdata/hostdev-scsi-lsi-iscsi.xml deleted file mode 100644 index 85885aad8da..00000000000 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.xml +++ /dev/null @@ -1,42 +0,0 @@ - - QEMUGuest2 - c7a5fdbd-edaf-9466-926a-d65c16db1809 - 219100 - 219100 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i386 - - - -
- - - - - - - - - - - -
- - - - - -
- - - - diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-2.8.0.args b/te= sts/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-2.8.0.args index 1808e2a303b..fc02c613875 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-2.8.0.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-2.8.0.args @@ -35,5 +35,11 @@ server,nowait \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D7,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev1,readonly= =3Don \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D6,drive=3Ddrive-hostdev1,id= =3Dhostdev1 \ +-drive file=3Discsi://example.org:3260/iqn.1992-01.com.example/0,if=3Dnone= ,\ +format=3Draw,id=3Ddrive-hostdev2 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D4,drive=3Ddrive-hostdev2,id= =3Dhostdev2 \ +-drive file=3Discsi://example.org:3260/iqn.1992-01.com.example/1,if=3Dnone= ,\ +format=3Draw,id=3Ddrive-hostdev3 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D5,drive=3Ddrive-hostdev3,id= =3Dhostdev3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-4.1.0.args b/te= sts/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-4.1.0.args index 66764f87a1b..af45fd8cb25 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-4.1.0.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-4.1.0.args @@ -34,6 +34,14 @@ file=3D/tmp/lib/domain--1-QEMUGuest2/master-key.aes \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D7,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev1,readonly= =3Don \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D6,drive=3Ddrive-hostdev1,id= =3Dhostdev1 \ +-drive file.driver=3Discsi,file.portal=3Dexample.org:3260,\ +file.target=3Diqn.1992-01.com.example,file.lun=3D0,file.transport=3Dtcp,if= =3Dnone,\ +format=3Draw,id=3Ddrive-hostdev2 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D4,drive=3Ddrive-hostdev2,id= =3Dhostdev2 \ +-drive file.driver=3Discsi,file.portal=3Dexample.org:3260,\ +file.target=3Diqn.1992-01.com.example,file.lun=3D1,file.transport=3Dtcp,if= =3Dnone,\ +format=3Draw,id=3Ddrive-hostdev3 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D5,drive=3Ddrive-hostdev3,id= =3Dhostdev3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-latest.args b/t= ests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-latest.args index 4d42bf2cbf3..32aacd6224e 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi.x86_64-latest.args @@ -38,6 +38,14 @@ file=3D/tmp/lib/domain--1-QEMUGuest2/master-key.aes \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D7,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev1,readonly= =3Don \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D6,drive=3Ddrive-hostdev1,id= =3Dhostdev1 \ +-drive file.driver=3Discsi,file.portal=3Dexample.org:3260,\ +file.target=3Diqn.1992-01.com.example,file.lun=3D0,file.transport=3Dtcp,if= =3Dnone,\ +format=3Draw,id=3Ddrive-hostdev2 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D4,drive=3Ddrive-hostdev2,id= =3Dhostdev2 \ +-drive file.driver=3Discsi,file.portal=3Dexample.org:3260,\ +file.target=3Diqn.1992-01.com.example,file.lun=3D1,file.transport=3Dtcp,if= =3Dnone,\ +format=3Draw,id=3Ddrive-hostdev3 \ +-device scsi-generic,bus=3Dscsi0.0,scsi-id=3D5,drive=3Ddrive-hostdev3,id= =3Dhostdev3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi.xml b/tests/qemuxml2ar= gvdata/hostdev-scsi-lsi.xml index cc0960e2216..671bc20f262 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi.xml +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi.xml @@ -40,6 +40,18 @@
+ + + + +
+ + + + + +
+ diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 2880be27271..c542a7534e8 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -2669,9 +2669,6 @@ mymain(void) DO_TEST("hostdev-scsi-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_LSI); - DO_TEST("hostdev-scsi-lsi-iscsi", - QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_SCSI_LSI); DO_TEST("hostdev-scsi-lsi-iscsi-auth", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_LSI); diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml b/tests/qe= muxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml deleted file mode 100644 index 463357a20c3..00000000000 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi-iscsi.xml +++ /dev/null @@ -1,51 +0,0 @@ - - QEMUGuest2 - c7a5fdbd-edaf-9466-926a-d65c16db1809 - 219100 - 219100 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i386 - - - - -
- - -
- - -
- - -
- - - - - - - - -
- - - - - -
- - -
- - - diff --git a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml b/tests/qemuxml2= xmloutdata/hostdev-scsi-lsi.xml index 10811844255..b314856d8b7 100644 --- a/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml +++ b/tests/qemuxml2xmloutdata/hostdev-scsi-lsi.xml @@ -47,6 +47,18 @@
+ + + + +
+ + + + + +
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 022f6786b98..ea9c919f27d 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -1042,9 +1042,6 @@ mymain(void) QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_LSI); - DO_TEST("hostdev-scsi-lsi-iscsi", - QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_SCSI_LSI); DO_TEST("hostdev-scsi-lsi-iscsi-auth", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_LSI); --=20 2.26.2