From nobody Wed May 14 06:11:19 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1526913918907481.65254488414337; Mon, 21 May 2018 07:45:18 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C34A39C99B; Mon, 21 May 2018 14:45:17 +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 D8565977D6; Mon, 21 May 2018 14:45:16 +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 7B611180005A; Mon, 21 May 2018 14:45:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4LEjDfM016094 for ; Mon, 21 May 2018 10:45:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id DE1D828DCC; Mon, 21 May 2018 14:45:13 +0000 (UTC) Received: from mx1.redhat.com (ext-mx19.extmail.prod.ext.phx2.redhat.com [10.5.110.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 32BDB28DD2; Mon, 21 May 2018 14:45:11 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id ACD8C30BFAB6; Mon, 21 May 2018 14:44:59 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id a67-v6so25628217wmf.3; Mon, 21 May 2018 07:44:59 -0700 (PDT) Received: from filip.redhat.com ([213.175.37.12]) by smtp.googlemail.com with ESMTPSA id z63-v6sm19879946wrb.34.2018.05.21.07.44.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 May 2018 07:44:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rUtjis9zHHXE2aCHoMai6IcssR7Khp6yqBngsZdA6OY=; b=HoNlAaC87/qwULoM526LtcoNHdIjSt4Q1hWC+FCjK8lXb0ppD15lbVex+paRJHgeB1 7C/K/HN/i7x5/bc+g4hfVRelQyGmFUuhSJunPTHELX4tKc3Dslib0QhmcbG4OKdC1hBb 2L/fr6EBVt/OMYYNytVdQzEBKCRFW6YPyJAS8juvPxJkRftzeAE+/JgQ4JbimcxoIS9H NfGa2E5bWoezlBrI5fnkNA3DdL12okmNxT1f/4t7B+uAuiL2q+uJLvr2IYN0Pf7fhyLj ixdMSj47eZfyznjSIVv/JmlWNQiykGXZprwuIbMqkcz7m1Dx7/QDLXji9LmgPPAMNS8H 6xGg== 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; bh=rUtjis9zHHXE2aCHoMai6IcssR7Khp6yqBngsZdA6OY=; b=fHdJ0qrnI2wXSB4xe2lZXp+YeDGQgt8mP2uWJM/3CZKIFJ82X6ULpghq9JhbgbwVdb u8rVwIZvRhgMBc2V0tQrsT2FNNXTTjU0HDwyYPPNLabLq19HaY/C/rn103Mj0O7dNQs7 iSFMh/zYXn5n8VjU0EpXpsuFOk9X+BT3PXNcTIEsLihXdQIv5ZDm1xlL86F1u2NvwhC3 82j3DFXE221/vcZQwBgVkbKt0E7s9BEnG5RVAzoWrGkHNdozw2tRVQ+68C1ldT5DQyPL 3arAAiYqby/wrU8IHz1cGpqV8JgAgHD5fafht7ggc3oPwmwr2d/opp8L2TAqMZ077qlx gXiQ== X-Gm-Message-State: ALKqPwd3AEtkGSIkN5fvWjhsjLMokhEzSmcxhOWczfnHxYzMaHGKJYk3 HUOv6oblDLFRXG/E617Eyw6PGFTu X-Google-Smtp-Source: AB8JxZr13IRc91iDHjXyJ0o7K7cE9NaoGEePN645z3NqjEl5r52smSORjhi4CwopKkKQZAQq1cISPg== X-Received: by 2002:a1c:80e:: with SMTP id 14-v6mr11638875wmi.9.1526913898004; Mon, 21 May 2018 07:44:58 -0700 (PDT) From: Filip Alac To: libvir-list@redhat.com Date: Mon, 21 May 2018 16:44:28 +0200 Message-Id: <20180521144428.19256-5-filipalac@gmail.com> In-Reply-To: <20180521144428.19256-1-filipalac@gmail.com> References: <20180521144428.19256-1-filipalac@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Mon, 21 May 2018 14:45:00 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Mon, 21 May 2018 14:45:00 +0000 (UTC) for IP:'74.125.82.50' DOMAIN:'mail-wm0-f50.google.com' HELO:'mail-wm0-f50.google.com' FROM:'filipalac@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.281 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, T_DKIM_INVALID) 74.125.82.50 mail-wm0-f50.google.com 74.125.82.50 mail-wm0-f50.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.48 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: phrdina@redhat.com, Filip Alac , eskultet@redhat.com Subject: [libvirt] [PATCH v3 4/4] tests: qemu: Extends tests for 'output' codec 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 21 May 2018 14:45:18 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Extend xml2xmltest and xml2argv for testing 'output' codec. Depends on the the first and on the second patch of the series. Signed-off-by: Filip Alac --- tests/qemustatusxml2xmldata/migration-in-params-in.xml | 1 + tests/qemustatusxml2xmldata/migration-out-nbd-in.xml | 1 + tests/qemustatusxml2xmldata/migration-out-nbd-out.xml | 1 + tests/qemustatusxml2xmldata/migration-out-params-in.xml | 1 + tests/qemustatusxml2xmldata/modern-in.xml | 1 + tests/qemuxml2argvdata/sound-device.args | 2 ++ tests/qemuxml2argvdata/sound-device.xml | 2 ++ tests/qemuxml2argvtest.c | 1 + tests/qemuxml2xmloutdata/sound-device.xml | 2 ++ 9 files changed, 12 insertions(+) diff --git a/tests/qemustatusxml2xmldata/migration-in-params-in.xml b/tests= /qemustatusxml2xmldata/migration-in-params-in.xml index b0caa34..03f18b4 100644 --- a/tests/qemustatusxml2xmldata/migration-in-params-in.xml +++ b/tests/qemustatusxml2xmldata/migration-in-params-in.xml @@ -236,6 +236,7 @@ + diff --git a/tests/qemustatusxml2xmldata/migration-out-nbd-in.xml b/tests/q= emustatusxml2xmldata/migration-out-nbd-in.xml index 6d87c1e..636accf 100644 --- a/tests/qemustatusxml2xmldata/migration-out-nbd-in.xml +++ b/tests/qemustatusxml2xmldata/migration-out-nbd-in.xml @@ -229,6 +229,7 @@ + diff --git a/tests/qemustatusxml2xmldata/migration-out-nbd-out.xml b/tests/= qemustatusxml2xmldata/migration-out-nbd-out.xml index 05da1f8..315d8e4 100644 --- a/tests/qemustatusxml2xmldata/migration-out-nbd-out.xml +++ b/tests/qemustatusxml2xmldata/migration-out-nbd-out.xml @@ -229,6 +229,7 @@ + diff --git a/tests/qemustatusxml2xmldata/migration-out-params-in.xml b/test= s/qemustatusxml2xmldata/migration-out-params-in.xml index 1764979..ae20648 100644 --- a/tests/qemustatusxml2xmldata/migration-out-params-in.xml +++ b/tests/qemustatusxml2xmldata/migration-out-params-in.xml @@ -236,6 +236,7 @@ + diff --git a/tests/qemustatusxml2xmldata/modern-in.xml b/tests/qemustatusxm= l2xmldata/modern-in.xml index d63fcf7..5b7e2a3 100644 --- a/tests/qemustatusxml2xmldata/modern-in.xml +++ b/tests/qemustatusxml2xmldata/modern-in.xml @@ -232,6 +232,7 @@ + diff --git a/tests/qemuxml2argvdata/sound-device.args b/tests/qemuxml2argvd= ata/sound-device.args index ee8313b..f97050a 100644 --- a/tests/qemuxml2argvdata/sound-device.args +++ b/tests/qemuxml2argvdata/sound-device.args @@ -33,10 +33,12 @@ server,nowait \ -device intel-hda,id=3Dsound5,bus=3Dpci.0,addr=3D0x6 \ -device hda-micro,id=3Dsound5-codec0,bus=3Dsound5.0,cad=3D0 \ -device hda-duplex,id=3Dsound5-codec1,bus=3Dsound5.0,cad=3D1 \ +-device hda-output,id=3Dsound5-codec2,bus=3Dsound5.0,cad=3D2 \ -device ich9-intel-hda,id=3Dsound6,bus=3Dpci.0,addr=3D0x7 \ -device hda-duplex,id=3Dsound6-codec0,bus=3Dsound6.0,cad=3D0 \ -device ich9-intel-hda,id=3Dsound7,bus=3Dpci.0,addr=3D0x8 \ -device hda-micro,id=3Dsound7-codec0,bus=3Dsound7.0,cad=3D0 \ -device hda-duplex,id=3Dsound7-codec1,bus=3Dsound7.0,cad=3D1 \ +-device hda-output,id=3Dsound7-codec2,bus=3Dsound7.0,cad=3D2 \ -device usb-audio,id=3Dsound8,bus=3Dusb.0,port=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x9 diff --git a/tests/qemuxml2argvdata/sound-device.xml b/tests/qemuxml2argvda= ta/sound-device.xml index bceb9d1..c544e93 100644 --- a/tests/qemuxml2argvdata/sound-device.xml +++ b/tests/qemuxml2argvdata/sound-device.xml @@ -32,11 +32,13 @@ + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 78454ac..e2eec96 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1515,6 +1515,7 @@ mymain(void) DO_TEST("sound", NONE); DO_TEST("sound-device", QEMU_CAPS_HDA_DUPLEX, QEMU_CAPS_HDA_MICRO, + QEMU_CAPS_HDA_OUTPUT, QEMU_CAPS_DEVICE_ICH9_INTEL_HDA, QEMU_CAPS_OBJECT_USB_AUDIO); DO_TEST("fs9p", NONE); diff --git a/tests/qemuxml2xmloutdata/sound-device.xml b/tests/qemuxml2xmlo= utdata/sound-device.xml index 62336a8..cbf4d17 100644 --- a/tests/qemuxml2xmloutdata/sound-device.xml +++ b/tests/qemuxml2xmloutdata/sound-device.xml @@ -43,6 +43,7 @@ +
@@ -51,6 +52,7 @@ +
--=20 2.17.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list