From nobody Wed May 14 07:00:21 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 1526987611505762.0146515718847; Tue, 22 May 2018 04:13:31 -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 8595F30B9FAE; Tue, 22 May 2018 11:13:29 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 513759AAB2; Tue, 22 May 2018 11:13:29 +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 ED6DD4CA95; Tue, 22 May 2018 11:13:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4MBDFEb000719 for ; Tue, 22 May 2018 07:13:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0E224611C1; Tue, 22 May 2018 11:13:15 +0000 (UTC) Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A197560A9D; Tue, 22 May 2018 11:13:12 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (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 ED01868692; Tue, 22 May 2018 11:13:00 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id o78-v6so32501528wmg.0; Tue, 22 May 2018 04:13:00 -0700 (PDT) Received: from filip.redhat.com ([213.175.37.12]) by smtp.googlemail.com with ESMTPSA id a129-v6sm11405392wme.3.2018.05.22.04.12.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 04:12:58 -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=yJha7QPrmUz8m/nUV9/qBmcgzAPCB6s2L9/PrH6DAd4=; b=MM79YbQoW+gsQalvwVbMNUNSRMrENr5YNUZ67UcwiUjoqTbWuvyQ6ZISBHRTqAifEk PEn4iybSksr/JLMp55NEbu0cFWipOJ8/OGFfdbZd2JGtbj0IhIbJA5WrqjtMLlDe7MXQ 2FUe0c1ETXnP0250K9y4yS25ki1Rv96dmQYJN7uBde93gHG3MKIXbyx9FTV9vLZvOaMJ 2qM6AcIJ1AzhYasoqO4uwzrQkd4t9OlemNqdqaeJVGmz9G/JOj3HwgNycLidQw9tDHQO FF15ygo6mXyFH38oNlTtDXxQy5sZQicSaUfQ45vtGui/33IVVgd3DBAVkExSyY+nJU1j K5ag== 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=yJha7QPrmUz8m/nUV9/qBmcgzAPCB6s2L9/PrH6DAd4=; b=lMbO4X1RpZDU8s2nB/gUca3YLflrzyHBposI2sGmpw0ROD84I2W4aQToC+piUz0b/P fup2xIdYZbuJOokCMa7pmnyv8LvpvNMMbUwkfJEceSkSkvR4HM1j9oMKOQU1ja867KkT 5vkuZKIrnQSJXuPNUpEEooWaA4NRzwCBsdE8PecSpt+svo6QYyLffn+A9pF18dTuQ9a1 YwTmu5n/dW65iiCaBbLD/LqiLflAH/fK26KqZT3dp9A0vE9V3UvIbs5Mgu+rFIoruzAA WNlFufFzPys/Z+2Jjo6V9RnmIoZw5dQ7q6nJHqI1U+FlxaQOM6K63apJEV6W/43kTwBX 5rsg== X-Gm-Message-State: ALKqPwewCqRxUBmtZXuAQa1lGgMWLQLTcBY1j0u3oAaQOG9d5raY92M+ /IlRoZuRJdhTuDuu+cCTJFV3CK2D X-Google-Smtp-Source: AB8JxZpEmkmTa9MlhSTVf/vIipchQjB7JG6T9FufBQR0D74AZ0AW8ohS58IeY7mWxpki8FBcGo9FVQ== X-Received: by 2002:a1c:3346:: with SMTP id z67-v6mr903584wmz.56.1526987579256; Tue, 22 May 2018 04:12:59 -0700 (PDT) From: Filip Alac To: libvir-list@redhat.com Date: Tue, 22 May 2018 13:12:34 +0200 Message-Id: <20180522111235.17725-4-filipalac@gmail.com> In-Reply-To: <20180522111235.17725-1-filipalac@gmail.com> References: <20180522111235.17725-1-filipalac@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 22 May 2018 11:13:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 22 May 2018 11:13:01 +0000 (UTC) for IP:'74.125.82.52' DOMAIN:'mail-wm0-f52.google.com' HELO:'mail-wm0-f52.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.52 mail-wm0-f52.google.com 74.125.82.52 mail-wm0-f52.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Cc: phrdina@redhat.com, Filip Alac , eskultet@redhat.com Subject: [libvirt] [PATCH v4 3/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.48]); Tue, 22 May 2018 11:13:30 +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" 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