From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692353146160.46514801925753; Mon, 28 Jan 2019 08:19:13 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C6FB880F96; Mon, 28 Jan 2019 16:19:10 +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 7FD235C5BB; Mon, 28 Jan 2019 16:19:10 +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 35CA73F602; Mon, 28 Jan 2019 16:19:10 +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 x0SGJ7aR017963 for ; Mon, 28 Jan 2019 11:19:07 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1B4A3614C2; Mon, 28 Jan 2019 16:19:07 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5F16B611D0 for ; Mon, 28 Jan 2019 16:19:06 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:30 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 01/32] tests: qemucaps: Make fake 'microcodeVersion' depend on filename instead of length 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 28 Jan 2019 16:19:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" To avoid changes to the filled in microcode in case we change the caps replies file for any reason make the number depend on the filename. Signed-off-by: Peter Krempa --- .../qemucapabilitiesdata/caps_1.5.3.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_1.6.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_1.7.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_2.1.1.x86_64.xml | 2 +- .../caps_2.10.0.aarch64.xml | 2 +- .../qemucapabilitiesdata/caps_2.10.0.ppc64.xml | 2 +- .../qemucapabilitiesdata/caps_2.10.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.10.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_2.11.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.11.0.x86_64.xml | 2 +- .../caps_2.12.0.aarch64.xml | 2 +- .../qemucapabilitiesdata/caps_2.12.0.ppc64.xml | 2 +- .../qemucapabilitiesdata/caps_2.12.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.12.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_2.4.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_2.5.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_2.6.0.aarch64.xml | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml | 2 +- .../qemucapabilitiesdata/caps_2.6.0.x86_64.xml | 2 +- tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.7.0.x86_64.xml | 2 +- tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.8.0.x86_64.xml | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_2.9.0.x86_64.xml | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml | 2 +- .../qemucapabilitiesdata/caps_3.0.0.x86_64.xml | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 2 +- .../qemucapabilitiesdata/caps_3.1.0.x86_64.xml | 2 +- .../qemucapabilitiesdata/caps_4.0.0.x86_64.xml | 2 +- tests/qemucapabilitiestest.c | 17 +++++++++++++---- 33 files changed, 45 insertions(+), 36 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.5.3.x86_64.xml index fc0bc6e10c..3c9a474b5b 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml @@ -98,7 +98,7 @@ 1005003 0 - 48498 + 43100763 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.6.0.x86_64.xml index c939cec5e8..528af43a6d 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml @@ -103,7 +103,7 @@ 1006000 0 - 46667 + 43100761 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.7.0.x86_64.xml index 509d6ca098..ddc06959ca 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml @@ -105,7 +105,7 @@ 1007000 0 - 52111 + 43100762 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.1.1.x86_64.xml index 426c4654fb..7c65353ba5 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml @@ -121,7 +121,7 @@ 2001001 0 - 60857 + 43100758 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.10.0.aarch64.xml index 7061ba8f7e..9f6676a2b8 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml @@ -154,7 +154,7 @@ 2010000 0 - 305067 + 61700805 (v2.10.0) aarch64 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.ppc64.xml index 2a48b63efe..d4cc446d0b 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml @@ -153,7 +153,7 @@ 2010000 0 - 384412 + 42900805 (v2.10.0) ppc64 diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.s390x.xml index 180a688ba2..9c88b919a4 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml @@ -117,7 +117,7 @@ 2010000 0 - 306247 + 39100805 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.10.0.x86_64.xml index 8ced5f301d..2941743f94 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml @@ -195,7 +195,7 @@ 2010000 0 - 364616 + 43100805 (v2.10.0) x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.11.0.s390x.xml index 7dc643d9a3..60d902f1ac 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml @@ -124,7 +124,7 @@ 2011000 0 - 345099 + 39100806 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.11.0.x86_64.xml index 0a9eeecb76..e1584f99d4 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml @@ -201,7 +201,7 @@ 2011000 0 - 369105 + 43100806 (v2.11.0) x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.12.0.aarch64.xml index 186a6ccfeb..f58979716d 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml @@ -168,7 +168,7 @@ 2011090 0 - 345725 + 61700807 v2.12.0-rc0 aarch64 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.ppc64.xml index c47ebd77ad..e58df048c4 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml @@ -166,7 +166,7 @@ 2011090 0 - 426509 + 42900807 v2.12.0-rc0 ppc64 diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.s390x.xml index 49249f5adf..60385cc505 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml @@ -135,7 +135,7 @@ 2012000 0 - 375102 + 39100807 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.12.0.x86_64.xml index b35206efea..3d12aba2e8 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml @@ -209,7 +209,7 @@ 2011090 0 - 414601 + 43100807 v2.12.0-rc0 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.4.0.x86_64.xml index 10133a1e7e..c95f34559b 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml @@ -147,7 +147,7 @@ 2004000 0 - 77219 + 43100760 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.5.0.x86_64.xml index 9be7d8924b..240abd299c 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml @@ -153,7 +153,7 @@ 2005000 0 - 218187 + 43100761 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_2.6.0.aarch64.xml index 381d050115..801a2e62ad 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml @@ -137,7 +137,7 @@ 2006000 0 - 229858 + 61700762 aarch64 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.6.0.ppc64.xml index f81c73dd03..949f9305c3 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml @@ -132,7 +132,7 @@ 2006000 0 - 264684 + 42900762 ppc64 diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.6.0.x86_64.xml index b711da555f..f5bca878be 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml @@ -165,7 +165,7 @@ 2006000 0 - 229221 + 43100762 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.7.0.s390x.xml index de87692857..a667aa7673 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml @@ -103,7 +103,7 @@ 2007000 0 - 219140 + 39100763 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.7.0.x86_64.xml index 443de40de7..5d8ba4ee68 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml @@ -170,7 +170,7 @@ 2007000 0 - 240727 + 43100763 (v2.7.0) x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.8.0.s390x.xml index f3a32ad376..00c3ff5133 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml @@ -106,7 +106,7 @@ 2007093 0 - 244554 + 39100764 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.8.0.x86_64.xml index 174678ffec..5a6e26cba1 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml @@ -173,7 +173,7 @@ 2008000 0 - 257382 + 43100764 (v2.8.0) x86_64 diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.ppc64.xml index d9ca8f3d2b..87f24e2e41 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml @@ -145,7 +145,7 @@ 2009000 0 - 349056 + 42900765 (v2.9.0) ppc64 diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.s390x.xml index 4bb61f09f0..e197848e4e 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml @@ -111,7 +111,7 @@ 2009000 0 - 267973 + 39100765 s390x diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.9.0.x86_64.xml index 7f9e88fbee..871018364f 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml @@ -189,7 +189,7 @@ 2009000 0 - 340605 + 43100765 (v2.9.0) x86_64 diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.ppc64.xml index 24a3c2b716..971c0665be 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml @@ -166,7 +166,7 @@ 2012050 0 - 444946 + 42900757 v2.12.0-1689-g518d23a ppc64 diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.s390x.xml index 8569de6538..bf889145a0 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml @@ -137,7 +137,7 @@ 3000000 0 - 388416 + 39100757 s390x diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.0.0.x86_64.xml index 77d1f2770d..b787bd9acd 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml @@ -212,7 +212,7 @@ 3000000 0 - 426554 + 43100757 v3.0.0 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.1.0.ppc64.xml index 175233aa09..d55eb5d981 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml @@ -170,7 +170,7 @@ 3000091 0 - 437731 + 42900758 v3.1.0-rc1-74-g3c035a41dc ppc64 diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.1.0.x86_64.xml index 58395cff2f..db72e873c5 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml @@ -214,7 +214,7 @@ 3000092 0 - 440976 + 43100758 v3.1.0-rc2-48-g039d4e3df0 x86_64 diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index c2db392e83..b8da376b2c 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -214,7 +214,7 @@ 3001050 0 - 446361 + 43100758 v3.1.0-759-g15bede5541 x86_64 diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c index 00137bb415..867df291f7 100644 --- a/tests/qemucapabilitiestest.c +++ b/tests/qemucapabilitiestest.c @@ -48,6 +48,8 @@ testQemuCaps(const void *opaque) qemuMonitorTestPtr mon =3D NULL; virQEMUCapsPtr capsActual =3D NULL; char *actual =3D NULL; + unsigned int fakeMicrocodeVersion =3D 0; + const char *p; if (virAsprintf(&repliesFile, "%s/qemucapabilitiesdata/%s.%s.replies", abs_srcdir, data->base, data->archName) < 0 || @@ -69,10 +71,17 @@ testQemuCaps(const void *opaque) qemuMonitorTestGetMonitor(mon)) <= 0) goto cleanup; - /* Fill microcodeVersion with a "random" value which is the file - * length to provide a reproducible number for testing. - */ - virQEMUCapsSetMicrocodeVersion(capsActual, virFileLength(repliesFi= le, -1)); + /* calculate fake microcode version based on filename for a reprod= ucible + * number for testing which does not change with the contents */ + for (p =3D data->archName; *p; p++) + fakeMicrocodeVersion +=3D *p; + + fakeMicrocodeVersion *=3D 100000; + + for (p =3D data->base; *p; p++) + fakeMicrocodeVersion +=3D *p; + + virQEMUCapsSetMicrocodeVersion(capsActual, fakeMicrocodeVersion); } if (!(actual =3D virQEMUCapsFormatCache(capsActual))) --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692358391248.8088762265927; Mon, 28 Jan 2019 08:19:18 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7874C87621; Mon, 28 Jan 2019 16:19:15 +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 3086A6F7F2; Mon, 28 Jan 2019 16:19:15 +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 BFCB53F607; Mon, 28 Jan 2019 16:19:14 +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 x0SGJ7Zc017969 for ; Mon, 28 Jan 2019 11:19:07 -0500 Received: by smtp.corp.redhat.com (Postfix) id D55D27BE7E; Mon, 28 Jan 2019 16:19:07 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5AF3C611D0 for ; Mon, 28 Jan 2019 16:19:07 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:31 +0100 Message-Id: <97bbf3bae7ea55cea03478bee9770d8021e059f1.1548692130.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 02/32] qemu: capabilities: Probe caps for 'scsi-hd' instead of 'scsi-disk' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 28 Jan 2019 16:19:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Since commit 02e8d0cfdf8 we are using 'scsi-hd' and 'scsi-cd' instead of 'scsi-disk'. We also should probe capabilities for 'scsi-hd' instead of 'scsi-disk'. It is safe to do as 'scsi-disk' is the common denominator of both 'scsi-hd' and 'scsi-cd' so all the properties were common. For now the test data are modified by just changing the appropriate type when probing for caps. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 2 +- tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index f504db7d05..639591cb22 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1301,7 +1301,7 @@ static virQEMUCapsObjectTypeProps virQEMUCapsDevicePr= ops[] =3D { { "vfio-pci", virQEMUCapsDevicePropsVfioPCI, ARRAY_CARDINALITY(virQEMUCapsDevicePropsVfioPCI), QEMU_CAPS_DEVICE_VFIO_PCI }, - { "scsi-disk", virQEMUCapsDevicePropsSCSIDisk, + { "scsi-hd", virQEMUCapsDevicePropsSCSIDisk, ARRAY_CARDINALITY(virQEMUCapsDevicePropsSCSIDisk), -1 }, { "ide-drive", virQEMUCapsDevicePropsIDEDrive, diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.5.3.x86_64.replies index 88bc93be3a..95f3c45f2f 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies @@ -1465,7 +1465,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.6.0.x86_64.replies index ea04d55f2a..ef7b3021e7 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies @@ -1494,7 +1494,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.7.0.x86_64.replies index 1261a2bdc1..dfa1d3e623 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies @@ -1503,7 +1503,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.1.1.x86_64.replies index b6efe1d3a1..adf015bf19 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies @@ -1770,7 +1770,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies b/tests= /qemucapabilitiesdata/caps_2.10.0.aarch64.replies index c8b73cd7e2..c0a463b5b1 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies @@ -4066,7 +4066,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies b/tests/q= emucapabilitiesdata/caps_2.10.0.ppc64.replies index 20e5b47541..0f41060b1d 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies @@ -4167,7 +4167,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.10.0.s390x.replies index a79fad62df..30fecf430e 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies @@ -2813,7 +2813,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.10.0.x86_64.replies index 783a40c9a6..251363ace7 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies @@ -3044,7 +3044,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.11.0.s390x.replies index 3a03f390b2..e5914f4112 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies @@ -2867,7 +2867,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.11.0.x86_64.replies index 18a2628b1f..f526f09691 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies @@ -3046,7 +3046,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies b/tests= /qemucapabilitiesdata/caps_2.12.0.aarch64.replies index 2cd6705d78..809ec1f309 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies @@ -4388,7 +4388,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies b/tests/q= emucapabilitiesdata/caps_2.12.0.ppc64.replies index d8aef1e9d1..57bf5612f5 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies @@ -4377,7 +4377,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.12.0.s390x.replies index b5a14b5916..aa3e821f8c 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies @@ -2951,7 +2951,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.12.0.x86_64.replies index 7ba3efaf4f..16ac6aff53 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies @@ -3235,7 +3235,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.4.0.x86_64.replies index ee248e38aa..c2cdafd39b 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies @@ -2072,7 +2072,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.5.0.x86_64.replies index 6065200d39..caec42eb56 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies @@ -2169,7 +2169,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_2.6.0.aarch64.replies index 2bf4b91e47..965eb5d5d9 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies @@ -2932,7 +2932,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_2.6.0.ppc64.replies index 99af9c8a46..88bbbb6410 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies @@ -3082,7 +3082,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.6.0.x86_64.replies index 3ae433df2c..a9b181beb9 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies @@ -2251,7 +2251,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.7.0.s390x.replies index 38d1fa6e52..4d69572410 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies @@ -2079,7 +2079,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.7.0.x86_64.replies index 8eda09db39..160c4424ed 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies @@ -2320,7 +2320,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.8.0.s390x.replies index 1836b6bfc9..2730b740d5 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies @@ -2342,7 +2342,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.8.0.x86_64.replies index ab48387adb..c13bfb4f69 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies @@ -2435,7 +2435,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_2.9.0.ppc64.replies index c92663e299..d63c4a3484 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies @@ -3426,7 +3426,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.9.0.s390x.replies index 891cd0180b..bb2f7674e4 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies @@ -2528,7 +2528,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.9.0.x86_64.replies index 3b5bcdbc66..6ca30f43eb 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies @@ -2616,7 +2616,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_3.0.0.ppc64.replies index aff01371a3..18f3047b4c 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies @@ -4460,7 +4460,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies b/tests/= qemucapabilitiesdata/caps_3.0.0.riscv32.replies index 663b4a49c0..726b3843e3 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies @@ -1299,7 +1299,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-14" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies b/tests/= qemucapabilitiesdata/caps_3.0.0.riscv64.replies index cc66c232ab..65acdeb5e6 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies @@ -1299,7 +1299,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-14" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_3.0.0.s390x.replies index 3bcdfce293..b7a2108ccc 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies @@ -3028,7 +3028,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_3.0.0.x86_64.replies index 16f021c879..d60559a6ad 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies @@ -3305,7 +3305,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_3.1.0.ppc64.replies index 5f57a3bb18..88fd2619e2 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies @@ -4493,7 +4493,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_3.1.0.x86_64.replies index 8c537cc763..3357ae44e5 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies @@ -3338,7 +3338,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.0.0.x86_64.replies index 35cf567a34..75817bf7ed 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies @@ -3481,7 +3481,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "scsi-disk" + "typename": "scsi-hd" }, "id": "libvirt-15" } --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692356152929.1278915358597; Mon, 28 Jan 2019 08:19:16 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B68F636887; Mon, 28 Jan 2019 16:19:13 +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 71FB05C25D; Mon, 28 Jan 2019 16:19:13 +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 24482180BAAC; Mon, 28 Jan 2019 16:19:13 +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 x0SGJ8qH017977 for ; Mon, 28 Jan 2019 11:19:08 -0500 Received: by smtp.corp.redhat.com (Postfix) id ADE6A17CCB; Mon, 28 Jan 2019 16:19:08 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F6E2611D0 for ; Mon, 28 Jan 2019 16:19:08 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:32 +0100 Message-Id: <67599c2360f7c9f650fddfd0b0e1440697f5dfe8.1548692130.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 03/32] qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 28 Jan 2019 16:19:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Since commit a4cda054e7 we are using 'ide-hd' and 'ide-cd' instead of 'ide-drive'. We also should probe capabilities for 'ide-hd' instead of 'ide-drive'. It is safe to do as 'ide-drive' is the common denominator of both 'ide-hd' and 'ide-cd' so all the properties were common. For now the test data are modified by just changing the appropriate type when probing for caps. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 2 +- tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies | 2 +- tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies | 2 +- tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies | 2 +- tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies | 2 +- 35 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 639591cb22..caabcde466 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1304,7 +1304,7 @@ static virQEMUCapsObjectTypeProps virQEMUCapsDevicePr= ops[] =3D { { "scsi-hd", virQEMUCapsDevicePropsSCSIDisk, ARRAY_CARDINALITY(virQEMUCapsDevicePropsSCSIDisk), -1 }, - { "ide-drive", virQEMUCapsDevicePropsIDEDrive, + { "ide-hd", virQEMUCapsDevicePropsIDEDrive, ARRAY_CARDINALITY(virQEMUCapsDevicePropsIDEDrive), -1 }, { "PIIX4_PM", virQEMUCapsDevicePropsPiix4PM, diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.5.3.x86_64.replies index 95f3c45f2f..a62b4e98f4 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.replies @@ -1547,7 +1547,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.6.0.x86_64.replies index ef7b3021e7..3253ba635a 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.replies @@ -1576,7 +1576,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_1.7.0.x86_64.replies index dfa1d3e623..4789a11f55 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.replies @@ -1585,7 +1585,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.1.1.x86_64.replies index adf015bf19..42b7278fe1 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.replies @@ -1864,7 +1864,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies b/tests= /qemucapabilitiesdata/caps_2.10.0.aarch64.replies index c0a463b5b1..61131cee46 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.replies @@ -4188,7 +4188,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies b/tests/q= emucapabilitiesdata/caps_2.10.0.ppc64.replies index 0f41060b1d..7e9229983c 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.replies @@ -4289,7 +4289,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.10.0.s390x.replies index 30fecf430e..d688e2aeef 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.replies @@ -2935,7 +2935,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.10.0.x86_64.replies index 251363ace7..c182f5fe5e 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.replies @@ -3166,7 +3166,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.11.0.s390x.replies index e5914f4112..560c0af0c8 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.replies @@ -2989,7 +2989,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.11.0.x86_64.replies index f526f09691..1ed4707a23 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.replies @@ -3168,7 +3168,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies b/tests= /qemucapabilitiesdata/caps_2.12.0.aarch64.replies index 809ec1f309..565e10047e 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.replies @@ -4510,7 +4510,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies b/tests/q= emucapabilitiesdata/caps_2.12.0.ppc64.replies index 57bf5612f5..fb9fa444c8 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.replies @@ -4499,7 +4499,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies b/tests/q= emucapabilitiesdata/caps_2.12.0.s390x.replies index aa3e821f8c..ddc62a8b82 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.replies @@ -3077,7 +3077,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies b/tests/= qemucapabilitiesdata/caps_2.12.0.x86_64.replies index 16ac6aff53..132c9c9893 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.replies @@ -3357,7 +3357,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.4.0.x86_64.replies index c2cdafd39b..9ad0d61af6 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.replies @@ -2175,7 +2175,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.5.0.x86_64.replies index caec42eb56..dcec7217db 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.replies @@ -2272,7 +2272,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies b/tests/= qemucapabilitiesdata/caps_2.6.0.aarch64.replies index 965eb5d5d9..9df4439b05 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.replies @@ -3035,7 +3035,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_2.6.0.ppc64.replies index 88bbbb6410..09f2f5daa5 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.replies @@ -3185,7 +3185,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.6.0.x86_64.replies index a9b181beb9..b3848a67fa 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.replies @@ -2354,7 +2354,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.7.0.s390x.replies index 4d69572410..bea4007f04 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.7.0.s390x.replies @@ -2197,7 +2197,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.7.0.x86_64.replies index 160c4424ed..e2b5751cf7 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.replies @@ -2438,7 +2438,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.8.0.s390x.replies index 2730b740d5..7a874985dd 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.replies @@ -2460,7 +2460,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.8.0.x86_64.replies index c13bfb4f69..a4747f746a 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.replies @@ -2553,7 +2553,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_2.9.0.ppc64.replies index d63c4a3484..d9319e9a59 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.replies @@ -3548,7 +3548,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_2.9.0.s390x.replies index bb2f7674e4..fab8534b8e 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.replies @@ -2650,7 +2650,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_2.9.0.x86_64.replies index 6ca30f43eb..ec7747b5d7 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.replies @@ -2738,7 +2738,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_3.0.0.ppc64.replies index 18f3047b4c..c6e5678144 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.replies @@ -4586,7 +4586,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies b/tests/= qemucapabilitiesdata/caps_3.0.0.riscv32.replies index 726b3843e3..cf8953390a 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.replies @@ -1425,7 +1425,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies b/tests/= qemucapabilitiesdata/caps_3.0.0.riscv64.replies index 65acdeb5e6..b1b5784439 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.replies @@ -1425,7 +1425,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-15" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies b/tests/qe= mucapabilitiesdata/caps_3.0.0.s390x.replies index b7a2108ccc..1b398ed4e4 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.s390x.replies @@ -3154,7 +3154,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-17" } diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_3.0.0.x86_64.replies index d60559a6ad..558a753e13 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.replies @@ -3431,7 +3431,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies b/tests/qe= mucapabilitiesdata/caps_3.1.0.ppc64.replies index 88fd2619e2..ca8c176dd3 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.replies @@ -4619,7 +4619,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_3.1.0.x86_64.replies index 3357ae44e5..358e2a0bdf 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.replies @@ -3464,7 +3464,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.0.0.x86_64.replies index 75817bf7ed..f39f047f1f 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies @@ -3607,7 +3607,7 @@ { "execute": "device-list-properties", "arguments": { - "typename": "ide-drive" + "typename": "ide-hd" }, "id": "libvirt-16" } --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692364565474.1425296459091; Mon, 28 Jan 2019 08:19:24 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 075A08AE6E; Mon, 28 Jan 2019 16:19:20 +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 A7F6F36FB; Mon, 28 Jan 2019 16:19:19 +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 5940E18033A4; Mon, 28 Jan 2019 16:19:19 +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 x0SGJ9Ep017984 for ; Mon, 28 Jan 2019 11:19:09 -0500 Received: by smtp.corp.redhat.com (Postfix) id 8001F17CCB; Mon, 28 Jan 2019 16:19:09 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 06F72611D0 for ; Mon, 28 Jan 2019 16:19:08 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:33 +0100 Message-Id: <39a9bcba18c20064c9e89c1cad6e623e13ad71a0.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 04/32] tests: qemuxml: Add a common test file for the 'virtio-scsi' controller 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 28 Jan 2019 16:19:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Add a file to agregate testing for 'virtio-scsi' based on the modern framework. Signed-off-by: Peter Krempa --- .../controller-virtio-scsi.x86_64-latest.args | 34 ++++++++++++++++++ .../controller-virtio-scsi.xml | 29 +++++++++++++++ tests/qemuxml2argvtest.c | 1 + .../controller-virtio-scsi.xml | 36 +++++++++++++++++++ tests/qemuxml2xmltest.c | 1 + 5 files changed, 101 insertions(+) create mode 100644 tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-la= test.args create mode 100644 tests/qemuxml2argvdata/controller-virtio-scsi.xml create mode 100644 tests/qemuxml2xmloutdata/controller-virtio-scsi.xml diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args new file mode 100644 index 0000000000..e6f640f50f --- /dev/null +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -0,0 +1,34 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/home/test \ +USER=3Dtest \ +LOGNAME=3Dtest \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-i686 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ +-S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ +-machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ +-m 214 \ +-realtime mlock=3Doff \ +-smp 8,sockets=3D8,cores=3D1,threads=3D1 \ +-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ +-drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ +id=3Dscsi0-0-0-0,bootindex=3D1 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.xml b/tests/qemu= xml2argvdata/controller-virtio-scsi.xml new file mode 100644 index 0000000000..4e24debed0 --- /dev/null +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.xml @@ -0,0 +1,29 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 8 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + +
+ + + + + + + + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index ba6fd4db35..9efa3cc8c9 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1191,6 +1191,7 @@ mymain(void) QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", QEMU_CAPS_VIRTIO_IOEVENTFD, QEMU_CAPS_VIRTIO_SCSI); + DO_TEST_CAPS_LATEST("controller-virtio-scsi"); DO_TEST("disk-scsi-megasas", QEMU_CAPS_SCSI_MEGASAS); DO_TEST("disk-scsi-mptsas1068", diff --git a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml b/tests/qe= muxml2xmloutdata/controller-virtio-scsi.xml new file mode 100644 index 0000000000..3c1552d3a7 --- /dev/null +++ b/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml @@ -0,0 +1,36 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 8 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + +
+ + +
+ + +
+ + + + + +
+ + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index b2c0c8505d..7131c35721 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -379,6 +379,7 @@ mymain(void) QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", QEMU_CAPS_VIRTIO_SCSI); + DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-s390-zpci", QEMU_CAPS_DEVICE_ZPCI, QEMU_CAPS_CCW); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692358393742.50591995358; Mon, 28 Jan 2019 08:19:18 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4E9BEC0C0FA6; Mon, 28 Jan 2019 16:19:15 +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 0173A61786; Mon, 28 Jan 2019 16:19:14 +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 7738C3F606; Mon, 28 Jan 2019 16:19:14 +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 x0SGJAt2017993 for ; Mon, 28 Jan 2019 11:19:10 -0500 Received: by smtp.corp.redhat.com (Postfix) id 524882E040; Mon, 28 Jan 2019 16:19:10 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD656611D0 for ; Mon, 28 Jan 2019 16:19:09 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:34 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 05/32] tests: qemu: Remove 'disk-scsi-virtio-scsi' test 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 28 Jan 2019 16:19:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Now that we have a specific test for testing the 'virtio-scsi' controller and other tests which test a combination of scsi and non-scsi devices this test no longer makes sense. Signed-off-by: Peter Krempa --- .../disk-scsi-virtio-scsi.args | 31 ------------- .../disk-scsi-virtio-scsi.xml | 35 --------------- tests/qemuxml2argvtest.c | 2 - .../disk-scsi-virtio-scsi.xml | 45 ------------------- tests/qemuxml2xmltest.c | 2 - 5 files changed, 115 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-scsi-virtio-scsi.args delete mode 100644 tests/qemuxml2argvdata/disk-scsi-virtio-scsi.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml diff --git a/tests/qemuxml2argvdata/disk-scsi-virtio-scsi.args b/tests/qemu= xml2argvdata/disk-scsi-virtio-scsi.args deleted file mode 100644 index 60760831ab..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-virtio-scsi.args +++ /dev/null @@ -1,31 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 4-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D0,\ -drive=3Ddrive-scsi0-0-4-0,id=3Dscsi0-0-4-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-scsi-virtio-scsi.xml b/tests/qemux= ml2argvdata/disk-scsi-virtio-scsi.xml deleted file mode 100644 index 842c03d1ce..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-virtio-scsi.xml +++ /dev/null @@ -1,35 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - -
- - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 9efa3cc8c9..52e861373a 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1181,8 +1181,6 @@ mymain(void) QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-scsi-virtio-scsi", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-num_queues", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-cmd_per_lun", diff --git a/tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml b/tests/qem= uxml2xmloutdata/disk-scsi-virtio-scsi.xml deleted file mode 100644 index 069a35f27c..0000000000 --- a/tests/qemuxml2xmloutdata/disk-scsi-virtio-scsi.xml +++ /dev/null @@ -1,45 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - - - - -
- - -
- - -
- - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 7131c35721..f43b74db04 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -367,8 +367,6 @@ mymain(void) DO_TEST("disk-scsi-device", QEMU_CAPS_SCSI_LSI); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-scsi-virtio-scsi", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-num_queues", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-reservations", --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692362662214.25364743831233; Mon, 28 Jan 2019 08:19:22 -0800 (PST) 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 mx1.redhat.com (Postfix) with ESMTPS id AFCBAAB42E; Mon, 28 Jan 2019 16:19:19 +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 69A7017CCB; Mon, 28 Jan 2019 16:19:19 +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 ECBD118033A1; Mon, 28 Jan 2019 16:19:18 +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 x0SGJBeS018003 for ; Mon, 28 Jan 2019 11:19:11 -0500 Received: by smtp.corp.redhat.com (Postfix) id 25E2F2E040; Mon, 28 Jan 2019 16:19:11 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id A05F217CCB for ; Mon, 28 Jan 2019 16:19:10 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:35 +0100 Message-Id: <7c8833f522ac463101b16202f2c90960e70a9f9e.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 06/32] tests: qemuxml: Merge 'num-queues' variant of 'virtio-scsi' test into the common file 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 28 Jan 2019 16:19:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We don't need separate files for this test. Also modernize it in the process. Signed-off-by: Peter Krempa --- .../controller-virtio-scsi.x86_64-latest.args | 6 ++- .../controller-virtio-scsi.xml | 8 ++++ .../disk-virtio-scsi-num_queues.args | 28 -------------- .../disk-virtio-scsi-num_queues.xml | 31 ---------------- tests/qemuxml2argvtest.c | 2 - .../controller-virtio-scsi.xml | 12 +++++- .../disk-virtio-scsi-num_queues.xml | 37 ------------------- tests/qemuxml2xmltest.c | 2 - 8 files changed, 24 insertions(+), 102 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.args delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args index e6f640f50f..7552f09019 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -25,10 +25,14 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -boot strict=3Don \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ +-device virtio-scsi-pci,id=3Dscsi1,num_queues=3D8,bus=3Dpci.0,addr=3D0x3 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ -device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ id=3Dscsi0-0-0-0,bootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-scs= i1-0-0-0 \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ +id=3Dscsi1-0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.xml b/tests/qemu= xml2argvdata/controller-virtio-scsi.xml index 4e24debed0..ec27166386 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.xml @@ -19,8 +19,16 @@
+ + + +
+ + + + diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.args b/test= s/qemuxml2argvdata/disk-virtio-scsi-num_queues.args deleted file mode 100644 index b0db76e09b..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.args +++ /dev/null @@ -1,28 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 8,sockets=3D8,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,num_queues=3D8,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.xml b/tests= /qemuxml2argvdata/disk-virtio-scsi-num_queues.xml deleted file mode 100644 index 4618271e74..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-num_queues.xml +++ /dev/null @@ -1,31 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 52e861373a..c70dcddafd 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1181,8 +1181,6 @@ mymain(void) QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-virtio-scsi-num_queues", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-cmd_per_lun", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-max_sectors", diff --git a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml b/tests/qe= muxml2xmloutdata/controller-virtio-scsi.xml index 3c1552d3a7..14498222de 100644 --- a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml @@ -20,17 +20,27 @@
+ + + + +
+
+ + +
+ -
+
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml b/tes= ts/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml deleted file mode 100644 index f0776b6b71..0000000000 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-num_queues.xml +++ /dev/null @@ -1,37 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - -
- - - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index f43b74db04..22e9bc1f27 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -367,8 +367,6 @@ mymain(void) DO_TEST("disk-scsi-device", QEMU_CAPS_SCSI_LSI); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-virtio-scsi-num_queues", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); DO_TEST("disk-virtio-scsi-cmd_per_lun", --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692362224720.9104546310213; Mon, 28 Jan 2019 08:19:22 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 29417DC917; Mon, 28 Jan 2019 16:19:19 +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 AECB86179D; Mon, 28 Jan 2019 16:19:18 +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 5480D18033CB; Mon, 28 Jan 2019 16:19:18 +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 x0SGJB0W018013 for ; Mon, 28 Jan 2019 11:19:11 -0500 Received: by smtp.corp.redhat.com (Postfix) id EC29517CCB; Mon, 28 Jan 2019 16:19:11 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 73F22611D0 for ; Mon, 28 Jan 2019 16:19:11 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:36 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 07/32] tests: qemuxml: Merge 'cmd_per_lun' variant of 'virtio-scsi' test into the common file 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Jan 2019 16:19:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We don't need separate files for this test. Also modernize it in the process. Signed-off-by: Peter Krempa --- .../controller-virtio-scsi.x86_64-latest.args | 6 ++- .../controller-virtio-scsi.xml | 8 ++++ .../disk-virtio-scsi-cmd_per_lun.args | 28 -------------- .../disk-virtio-scsi-cmd_per_lun.xml | 31 ---------------- tests/qemuxml2argvtest.c | 2 - .../controller-virtio-scsi.xml | 12 +++++- .../disk-virtio-scsi-cmd_per_lun.xml | 37 ------------------- tests/qemuxml2xmltest.c | 2 - 8 files changed, 24 insertions(+), 102 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.args delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.x= ml diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args index 7552f09019..954553e6d7 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -26,13 +26,17 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -device virtio-scsi-pci,id=3Dscsi1,num_queues=3D8,bus=3Dpci.0,addr=3D0x3 \ +-device virtio-scsi-pci,id=3Dscsi2,cmd_per_lun=3D50,bus=3Dpci.0,addr=3D0x4= \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ -device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ id=3Dscsi0-0-0-0,bootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-scs= i1-0-0-0 \ -device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ id=3Dscsi1-0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ +-drive file=3D/dev/HostVG/QEMUGuest3,format=3Draw,if=3Dnone,id=3Ddrive-scs= i2-0-0-0 \ +-device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ +id=3Dscsi2-0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.xml b/tests/qemu= xml2argvdata/controller-virtio-scsi.xml index ec27166386..64d34b0fb2 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.xml @@ -24,11 +24,19 @@
+ + + +
+ + + + diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.args b/tes= ts/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.args deleted file mode 100644 index d8318b4c29..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.args +++ /dev/null @@ -1,28 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 8,sockets=3D8,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,cmd_per_lun=3D50,bus=3Dpci.0,addr=3D0x3= \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.xml b/test= s/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.xml deleted file mode 100644 index 7c44beaabe..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-cmd_per_lun.xml +++ /dev/null @@ -1,31 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index c70dcddafd..78e3dded8f 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1181,8 +1181,6 @@ mymain(void) QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-virtio-scsi-cmd_per_lun", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-max_sectors", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", diff --git a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml b/tests/qe= muxml2xmloutdata/controller-virtio-scsi.xml index 14498222de..7db0d0c114 100644 --- a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml @@ -26,6 +26,12 @@
+ + + + +
+
@@ -36,11 +42,15 @@
+ + +
+ -
+
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml b/te= sts/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml deleted file mode 100644 index f50a668625..0000000000 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-cmd_per_lun.xml +++ /dev/null @@ -1,37 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - -
- - - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 22e9bc1f27..44d9b3e7f9 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -369,8 +369,6 @@ mymain(void) DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); - DO_TEST("disk-virtio-scsi-cmd_per_lun", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-max_sectors", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692368918672.0896078807845; Mon, 28 Jan 2019 08:19:28 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0195C89AE4; Mon, 28 Jan 2019 16:19:25 +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 8414B5E1BC; Mon, 28 Jan 2019 16:19:24 +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 181AB3F603; Mon, 28 Jan 2019 16:19:24 +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 x0SGJCmS018020 for ; Mon, 28 Jan 2019 11:19:12 -0500 Received: by smtp.corp.redhat.com (Postfix) id C06392E040; Mon, 28 Jan 2019 16:19:12 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 46D3017CCB for ; Mon, 28 Jan 2019 16:19:12 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:37 +0100 Message-Id: <6c8a0658dc86ee380e605e09500893c56abff8ac.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 08/32] tests: qemuxml: Merge 'max_sectors' variant of 'virtio-scsi' test into the common file 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 28 Jan 2019 16:19:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We don't need separate files for this test. Also modernize it in the process. Signed-off-by: Peter Krempa --- .../controller-virtio-scsi.x86_64-latest.args | 6 ++- .../controller-virtio-scsi.xml | 8 ++++ .../disk-virtio-scsi-max_sectors.args | 28 -------------- .../disk-virtio-scsi-max_sectors.xml | 31 ---------------- tests/qemuxml2argvtest.c | 2 - .../controller-virtio-scsi.xml | 12 +++++- .../disk-virtio-scsi-max_sectors.xml | 37 ------------------- tests/qemuxml2xmltest.c | 2 - 8 files changed, 24 insertions(+), 102 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.args delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.x= ml diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args index 954553e6d7..3779e892b6 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -27,6 +27,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -device virtio-scsi-pci,id=3Dscsi1,num_queues=3D8,bus=3Dpci.0,addr=3D0x3 \ -device virtio-scsi-pci,id=3Dscsi2,cmd_per_lun=3D50,bus=3Dpci.0,addr=3D0x4= \ +-device virtio-scsi-pci,id=3Dscsi3,max_sectors=3D512,bus=3Dpci.0,addr=3D0x= 5 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ -device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ id=3Dscsi0-0-0-0,bootindex=3D1 \ @@ -36,7 +37,10 @@ id=3Dscsi1-0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest3,format=3Draw,if=3Dnone,id=3Ddrive-scs= i2-0-0-0 \ -device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ id=3Dscsi2-0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ +-drive file=3D/dev/HostVG/QEMUGuest4,format=3Draw,if=3Dnone,id=3Ddrive-scs= i3-0-0-0 \ +-device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi3-0-0-0,\ +id=3Dscsi3-0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x6 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.xml b/tests/qemu= xml2argvdata/controller-virtio-scsi.xml index 64d34b0fb2..ebf608d1fd 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.xml @@ -29,6 +29,11 @@
+ + + +
+ @@ -37,6 +42,9 @@ + + + diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.args b/tes= ts/qemuxml2argvdata/disk-virtio-scsi-max_sectors.args deleted file mode 100644 index 071ae542f4..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.args +++ /dev/null @@ -1,28 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 8,sockets=3D8,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,max_sectors=3D512,bus=3Dpci.0,addr=3D0x= 3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.xml b/test= s/qemuxml2argvdata/disk-virtio-scsi-max_sectors.xml deleted file mode 100644 index 838e4844b4..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-max_sectors.xml +++ /dev/null @@ -1,31 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 78e3dded8f..57e58ee6ec 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1181,8 +1181,6 @@ mymain(void) QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-virtio-scsi-max_sectors", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", QEMU_CAPS_VIRTIO_IOEVENTFD, QEMU_CAPS_VIRTIO_SCSI); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); diff --git a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml b/tests/qe= muxml2xmloutdata/controller-virtio-scsi.xml index 7db0d0c114..b108e4a0db 100644 --- a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml @@ -32,6 +32,12 @@
+ + + + +
+
@@ -46,11 +52,15 @@
+ + +
+ -
+
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml b/te= sts/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml deleted file mode 100644 index 07f4012fd0..0000000000 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-max_sectors.xml +++ /dev/null @@ -1,37 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - -
- - - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 44d9b3e7f9..8541c69190 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -369,8 +369,6 @@ mymain(void) DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); - DO_TEST("disk-virtio-scsi-max_sectors", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-scsi-ioeventfd", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692369063498.4429795912614; Mon, 28 Jan 2019 08:19:29 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0C502804FF; Mon, 28 Jan 2019 16:19:25 +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 9F83E5E1CF; Mon, 28 Jan 2019 16:19:24 +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 4394318033A3; Mon, 28 Jan 2019 16:19:24 +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 x0SGJD0f018031 for ; Mon, 28 Jan 2019 11:19:13 -0500 Received: by smtp.corp.redhat.com (Postfix) id 928AA614C2; Mon, 28 Jan 2019 16:19:13 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 199E1611D0 for ; Mon, 28 Jan 2019 16:19:12 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:38 +0100 Message-Id: <6bc6397d1d403f242492c188f4816f60fd19aef6.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 09/32] tests: qemuxml: Merge 'ioeventfd' variant of 'virtio-scsi' test into the common file 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 28 Jan 2019 16:19:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We don't need separate files for this test. Also modernize it in the process. Signed-off-by: Peter Krempa --- .../controller-virtio-scsi.x86_64-latest.args | 6 ++- .../controller-virtio-scsi.xml | 8 ++++ .../disk-virtio-scsi-ioeventfd.args | 28 -------------- .../disk-virtio-scsi-ioeventfd.xml | 31 ---------------- tests/qemuxml2argvtest.c | 2 - .../controller-virtio-scsi.xml | 12 +++++- .../disk-virtio-scsi-ioeventfd.xml | 37 ------------------- tests/qemuxml2xmltest.c | 2 - 8 files changed, 24 insertions(+), 102 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.args delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args index 3779e892b6..cf8a497eb7 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -28,6 +28,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device virtio-scsi-pci,id=3Dscsi1,num_queues=3D8,bus=3Dpci.0,addr=3D0x3 \ -device virtio-scsi-pci,id=3Dscsi2,cmd_per_lun=3D50,bus=3Dpci.0,addr=3D0x4= \ -device virtio-scsi-pci,id=3Dscsi3,max_sectors=3D512,bus=3Dpci.0,addr=3D0x= 5 \ +-device virtio-scsi-pci,id=3Dscsi4,ioeventfd=3Don,bus=3Dpci.0,addr=3D0x6 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ -device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ id=3Dscsi0-0-0-0,bootindex=3D1 \ @@ -40,7 +41,10 @@ id=3Dscsi2-0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest4,format=3Draw,if=3Dnone,id=3Ddrive-scs= i3-0-0-0 \ -device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi3-0-0-0,\ id=3Dscsi3-0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x6 \ +-drive file=3D/dev/HostVG/QEMUGuest5,format=3Draw,if=3Dnone,id=3Ddrive-scs= i4-0-0-0 \ +-device scsi-hd,bus=3Dscsi4.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi4-0-0-0,\ +id=3Dscsi4-0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x7 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.xml b/tests/qemu= xml2argvdata/controller-virtio-scsi.xml index ebf608d1fd..844e4ad397 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.xml @@ -34,6 +34,11 @@
+ + + +
+ @@ -45,6 +50,9 @@ + + + diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.args b/tests= /qemuxml2argvdata/disk-virtio-scsi-ioeventfd.args deleted file mode 100644 index aa7652aa9b..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.args +++ /dev/null @@ -1,28 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 8,sockets=3D8,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,ioeventfd=3Don,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.xml b/tests/= qemuxml2argvdata/disk-virtio-scsi-ioeventfd.xml deleted file mode 100644 index f6fd345595..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-ioeventfd.xml +++ /dev/null @@ -1,31 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - - - - - - - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 57e58ee6ec..3712b84c12 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1181,8 +1181,6 @@ mymain(void) QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); - DO_TEST("disk-virtio-scsi-ioeventfd", - QEMU_CAPS_VIRTIO_IOEVENTFD, QEMU_CAPS_VIRTIO_SCSI); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); DO_TEST("disk-scsi-megasas", QEMU_CAPS_SCSI_MEGASAS); diff --git a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml b/tests/qe= muxml2xmloutdata/controller-virtio-scsi.xml index b108e4a0db..f810a70baf 100644 --- a/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml +++ b/tests/qemuxml2xmloutdata/controller-virtio-scsi.xml @@ -38,6 +38,12 @@
+ + + + +
+
@@ -56,11 +62,15 @@
+ + +
+ -
+
diff --git a/tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml b/test= s/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml deleted file mode 100644 index f2c0b47731..0000000000 --- a/tests/qemuxml2xmloutdata/disk-virtio-scsi-ioeventfd.xml +++ /dev/null @@ -1,37 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 8 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - -
- - - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 8541c69190..0bcbbef3fc 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -369,8 +369,6 @@ mymain(void) DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); - DO_TEST("disk-virtio-scsi-ioeventfd", - QEMU_CAPS_VIRTIO_SCSI); DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-virtio-s390-zpci", QEMU_CAPS_DEVICE_ZPCI, --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692373826587.1077491398662; Mon, 28 Jan 2019 08:19:33 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2D271C0C8CC5; Mon, 28 Jan 2019 16:19:30 +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 8359F6F427; Mon, 28 Jan 2019 16:19: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 DECA418033A7; Mon, 28 Jan 2019 16:19: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 x0SGJEoj018042 for ; Mon, 28 Jan 2019 11:19:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6740617CCB; Mon, 28 Jan 2019 16:19:14 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id DFF7D611D0 for ; Mon, 28 Jan 2019 16:19:13 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:39 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 10/32] tests: qemuxml2argv: Use real caps when auto-generating SCSI controller type 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Mon, 28 Jan 2019 16:19:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Using an old strict set of capabilities is not of much use if a code path would select a more modern controller on accident. Signed-off-by: Peter Krempa --- ...> disk-scsi-device-auto.x86_64-1.5.3.args} | 11 +++--- .../disk-scsi-device-auto.x86_64-latest.args | 35 +++++++++++++++++++ tests/qemuxml2argvtest.c | 4 +-- 3 files changed, 43 insertions(+), 7 deletions(-) rename tests/qemuxml2argvdata/{disk-scsi-device-auto.args =3D> disk-scsi-d= evice-auto.x86_64-1.5.3.args} (69%) create mode 100644 tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-lat= est.args diff --git a/tests/qemuxml2argvdata/disk-scsi-device-auto.args b/tests/qemu= xml2argvdata/disk-scsi-device-auto.x86_64-1.5.3.args similarity index 69% rename from tests/qemuxml2argvdata/disk-scsi-device-auto.args rename to tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-1.5.3.args index c28a7b87be..e2ff678c4e 100644 --- a/tests/qemuxml2argvdata/disk-scsi-device-auto.args +++ b/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-1.5.3.args @@ -7,8 +7,9 @@ QEMU_AUDIO_DRV=3Dnone \ /usr/bin/qemu-system-i686 \ -name QEMUGuest1 \ -S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ +-machine pc-i440fx-1.5,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ -m 214 \ +-realtime mlock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ -display none \ @@ -20,11 +21,11 @@ server,nowait \ -rtc base=3Dutc \ -no-shutdown \ -no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ --device scsi-disk,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Ds= csi0-0-0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.arg= s b/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args new file mode 100644 index 0000000000..549a162808 --- /dev/null +++ b/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args @@ -0,0 +1,35 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/home/test \ +USER=3Dtest \ +LOGNAME=3Dtest \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-i686 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ +-S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ +-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-9455-926a-d65c16db1809 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ +-drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 3712b84c12..1de2a4e5d4 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1167,8 +1167,8 @@ mymain(void) QEMU_CAPS_DEVICE_USB_STORAGE); DO_TEST("disk-scsi-device", QEMU_CAPS_SCSI_LSI); - DO_TEST("disk-scsi-device-auto", - QEMU_CAPS_SCSI_LSI); + DO_TEST_CAPS_VER("disk-scsi-device-auto", "1.5.3"); + DO_TEST_CAPS_LATEST("disk-scsi-device-auto"); DO_TEST("disk-scsi-disk-split", QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-scsi-disk-wwn", --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692377596147.15727519917607; Mon, 28 Jan 2019 08:19:37 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9F60AB400; Mon, 28 Jan 2019 16:19:34 +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 6763AC95CB; Mon, 28 Jan 2019 16:19:34 +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 1CF1B3F603; Mon, 28 Jan 2019 16:19:34 +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 x0SGJFeV018052 for ; Mon, 28 Jan 2019 11:19:15 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3A6E617CCB; Mon, 28 Jan 2019 16:19:15 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id B567B611D0 for ; Mon, 28 Jan 2019 16:19:14 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:40 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 11/32] tests: qemuxml2argv: Remove testing of post startup change to 'cachemode' for shared disks 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: , 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.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 28 Jan 2019 16:19:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Testing that the cachemode is properly recorded to the configuration after startup does not add much value and overcomplicates the xml2argv test. Remove the 'disk-shared' test with old capabilities, which would be done along as well as the test with real capabilities covers it sufficiently. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/disk-shared.args | 31 ---------- tests/qemuxml2argvtest.c | 1 - .../qemuxml2startupxmloutdata/disk-shared.xml | 56 ------------------- 3 files changed, 88 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-shared.args delete mode 100644 tests/qemuxml2startupxmloutdata/disk-shared.xml diff --git a/tests/qemuxml2argvdata/disk-shared.args b/tests/qemuxml2argvda= ta/disk-shared.args deleted file mode 100644 index 550708c3b3..0000000000 --- a/tests/qemuxml2argvdata/disk-shared.args +++ /dev/null @@ -1,31 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0,\ -cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1,serial=3DXYZXYZXYZYXXYZYZYXYZY \ --drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 1de2a4e5d4..c2992dd524 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1105,7 +1105,6 @@ mymain(void) DO_TEST_PARSE_ERROR("disk-fmt-cow", NONE); DO_TEST_PARSE_ERROR("disk-fmt-dir", NONE); DO_TEST_PARSE_ERROR("disk-fmt-iso", NONE); - DO_TEST_WITH_STARTUP("disk-shared", NONE); DO_TEST_CAPS_VER("disk-shared", "2.12.0"); DO_TEST_CAPS_LATEST("disk-shared"); DO_TEST_PARSE_ERROR("disk-shared-qcow", NONE); diff --git a/tests/qemuxml2startupxmloutdata/disk-shared.xml b/tests/qemuxm= l2startupxmloutdata/disk-shared.xml deleted file mode 100644 index 60b7eca788..0000000000 --- a/tests/qemuxml2startupxmloutdata/disk-shared.xml +++ /dev/null @@ -1,56 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - - - XYZXYZXYZYXXYZYZYXYZY - -
- - - - - - - -
- - - -
- - - -
- - - - - - - - - - - - -
- - - --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692375114596.0544217568928; Mon, 28 Jan 2019 08:19:35 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4258C3F72C; Mon, 28 Jan 2019 16:19:30 +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 B0DC269217; Mon, 28 Jan 2019 16:19: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 0E7B03F600; Mon, 28 Jan 2019 16:19:29 +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 x0SGJGHj018062 for ; Mon, 28 Jan 2019 11:19:16 -0500 Received: by smtp.corp.redhat.com (Postfix) id 0CE9917CCB; Mon, 28 Jan 2019 16:19:16 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 885D0614C2 for ; Mon, 28 Jan 2019 16:19:15 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:41 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 12/32] tests: qemuxml2argv: Remove the 'after startup XML' testing machinery 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 28 Jan 2019 16:19:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" A lot of code with no real impact and popularity. Remove all the helpers now that the only test case is gone. Signed-off-by: Peter Krempa --- tests/Makefile.am | 1 - tests/qemuxml2argvtest.c | 54 +++------------------------------------- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index f74d8463b6..3ee6a5cfae 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -129,7 +129,6 @@ EXTRA_DIST =3D \ qemumigparamsdata \ qemumonitorjsondata \ qemuxml2argvdata \ - qemuxml2startupxmloutdata \ qemuxml2xmloutdata \ qemustatusxml2xmldata \ qemumemlockdata \ diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index c2992dd524..d1d3cfaca4 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -291,9 +291,8 @@ typedef enum { FLAG_EXPECT_FAILURE =3D 1 << 0, FLAG_EXPECT_PARSE_ERROR =3D 1 << 1, FLAG_FIPS =3D 1 << 2, - FLAG_STEAL_VM =3D 1 << 3, - FLAG_REAL_CAPS =3D 1 << 4, - FLAG_SKIP_LEGACY_CPUS =3D 1 << 5, + FLAG_REAL_CAPS =3D 1 << 3, + FLAG_SKIP_LEGACY_CPUS =3D 1 << 4, } virQemuXML2ArgvTestFlags; struct testInfo { @@ -304,7 +303,6 @@ struct testInfo { int migrateFd; unsigned int flags; unsigned int parseFlags; - virDomainObjPtr vm; }; @@ -428,49 +426,16 @@ testUpdateQEMUCaps(const struct testInfo *info, } -static int -testCompareXMLToStartupXML(const void *data) -{ - const struct testInfo *info =3D data; - unsigned int format_flags =3D VIR_DOMAIN_DEF_FORMAT_SECURE; - char *xml =3D NULL; - char *actual =3D NULL; - int ret =3D -1; - - if (!info->vm) { - VIR_TEST_DEBUG("VM object missing. Did the args conversion succeed= ?"); - return -1; - } - - if (virAsprintf(&xml, "%s/qemuxml2startupxmloutdata/%s.xml", - abs_srcdir, info->name) < 0) - goto cleanup; - - if (!(actual =3D virDomainDefFormat(info->vm->def, NULL, format_flags)= )) - goto cleanup; - - ret =3D virTestCompareToFile(actual, xml); - - cleanup: - VIR_FREE(xml); - VIR_FREE(actual); - return ret; -} - - static int testCheckExclusiveFlags(int flags) { virCheckFlags(FLAG_EXPECT_FAILURE | FLAG_EXPECT_PARSE_ERROR | FLAG_FIPS | - FLAG_STEAL_VM | FLAG_REAL_CAPS | FLAG_SKIP_LEGACY_CPUS | 0, -1); - VIR_EXCLUSIVE_FLAGS_RET(FLAG_STEAL_VM, FLAG_EXPECT_FAILURE, -1); - VIR_EXCLUSIVE_FLAGS_RET(FLAG_STEAL_VM, FLAG_EXPECT_PARSE_ERROR, -1); VIR_EXCLUSIVE_FLAGS_RET(FLAG_REAL_CAPS, FLAG_SKIP_LEGACY_CPUS, -1); return 0; } @@ -643,9 +608,6 @@ testCompareXMLToArgv(const void *data) ret =3D 0; } - if (flags & FLAG_STEAL_VM) - VIR_STEAL_PTR(info->vm, vm); - cleanup: VIR_FREE(log); VIR_FREE(actualargv); @@ -781,7 +743,7 @@ mymain(void) do { \ static struct testInfo info =3D { \ name, "." suffix, NULL, migrateFrom, migrateFrom ? 7 : -1,\ - (flags | FLAG_REAL_CAPS), parseFlags, NULL \ + (flags | FLAG_REAL_CAPS), parseFlags, \ }; \ if (!(info.qemuCaps =3D qemuTestParseCapabilitiesArch(virArchFromS= tring(arch), \ capsfile))) \ @@ -792,7 +754,6 @@ mymain(void) testCompareXMLToArgv, &info) < 0) \ ret =3D -1; \ virObjectUnref(info.qemuCaps); \ - virObjectUnref(info.vm); \ } while (0) # define TEST_CAPS_PATH abs_srcdir "/qemucapabilitiesdata/caps_" @@ -838,7 +799,6 @@ mymain(void) do { \ static struct testInfo info =3D { \ name, NULL, NULL, migrateFrom, migrateFd, (flags), parseFlags,= \ - NULL \ }; \ if (testInitQEMUCaps(&info, gic) < 0) \ return EXIT_FAILURE; \ @@ -846,12 +806,7 @@ mymain(void) if (virTestRun("QEMU XML-2-ARGV " name, \ testCompareXMLToArgv, &info) < 0) \ ret =3D -1; \ - if (((flags) & FLAG_STEAL_VM) && \ - virTestRun("QEMU XML-2-startup-XML " name, \ - testCompareXMLToStartupXML, &info) < 0) \ - ret =3D -1; \ virObjectUnref(info.qemuCaps); \ - virObjectUnref(info.vm); \ } while (0) # define DO_TEST(name, ...) \ @@ -860,9 +815,6 @@ mymain(void) # define DO_TEST_GIC(name, gic, ...) \ DO_TEST_FULL(name, NULL, -1, 0, 0, gic, __VA_ARGS__) -# define DO_TEST_WITH_STARTUP(name, ...) \ - DO_TEST_FULL(name, NULL, -1, FLAG_STEAL_VM, 0, GIC_NONE, __VA_ARGS__) - # define DO_TEST_FAILURE(name, ...) \ DO_TEST_FULL(name, NULL, -1, FLAG_EXPECT_FAILURE, \ 0, GIC_NONE, __VA_ARGS__) --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692382680879.7295417297412; Mon, 28 Jan 2019 08:19:42 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65539793ED; Mon, 28 Jan 2019 16:19:40 +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 0BD8677DC1; Mon, 28 Jan 2019 16:19:40 +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 87FCF18033A5; Mon, 28 Jan 2019 16:19:39 +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 x0SGJGrB018069 for ; Mon, 28 Jan 2019 11:19:16 -0500 Received: by smtp.corp.redhat.com (Postfix) id D54E82E040; Mon, 28 Jan 2019 16:19:16 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5BFB8614C2 for ; Mon, 28 Jan 2019 16:19:16 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:42 +0100 Message-Id: <435cf1f25053bd255452f209e957ebee3683ef8a.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 13/32] tests: qemuxml2argv: Move cases from 'disk-shared-locking' into 'disk-shared' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 28 Jan 2019 16:19:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The tests are for the same feature. Move all the cases to 'disk-shared' case as it's already using DO_TEST_CAPS_LATEST Signed-off-by: Peter Krempa --- .../qemuxml2argvdata/disk-shared-locking.args | 34 --------------- .../qemuxml2argvdata/disk-shared-locking.xml | 42 ------------------- .../disk-shared.x86_64-2.12.0.args | 9 +++- .../disk-shared.x86_64-latest.args | 9 +++- tests/qemuxml2argvdata/disk-shared.xml | 14 +++++++ tests/qemuxml2argvtest.c | 2 - 6 files changed, 30 insertions(+), 80 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-shared-locking.args delete mode 100644 tests/qemuxml2argvdata/disk-shared-locking.xml diff --git a/tests/qemuxml2argvdata/disk-shared-locking.args b/tests/qemuxm= l2argvdata/disk-shared-locking.args deleted file mode 100644 index 9ced336ec4..0000000000 --- a/tests/qemuxml2argvdata/disk-shared-locking.args +++ /dev/null @@ -1,34 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/ide,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-0,cache=3D= none \ --device ide-drive,bus=3Dide.0,unit=3D0,share-rw=3Don,drive=3Ddrive-ide0-0-= 0,\ -id=3Dide0-0-0,bootindex=3D1 \ --drive file=3D/dev/scsi,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-0-0,cach= e=3Dnone \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,share-rw= =3Don,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0 \ --drive file=3D/dev/virtio,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0,c= ache=3Dnone \ --device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,share-rw=3Don,drive=3Ddrive-= virtio-disk0,\ -id=3Dvirtio-disk0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 diff --git a/tests/qemuxml2argvdata/disk-shared-locking.xml b/tests/qemuxml= 2argvdata/disk-shared-locking.xml deleted file mode 100644 index dd48857a30..0000000000 --- a/tests/qemuxml2argvdata/disk-shared-locking.xml +++ /dev/null @@ -1,42 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - - -
- - - - - - -
- - - - - - - - - - - - - diff --git a/tests/qemuxml2argvdata/disk-shared.x86_64-2.12.0.args b/tests/= qemuxml2argvdata/disk-shared.x86_64-2.12.0.args index 96d8063abb..15c3b75df1 100644 --- a/tests/qemuxml2argvdata/disk-shared.x86_64-2.12.0.args +++ b/tests/qemuxml2argvdata/disk-shared.x86_64-2.12.0.args @@ -24,6 +24,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -no-acpi \ -boot strict=3Don \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0,\ cache=3Dnone \ -device ide-hd,bus=3Dide.0,unit=3D0,share-rw=3Don,drive=3Ddrive-ide0-0-0,i= d=3Dide0-0-0,\ @@ -31,7 +32,13 @@ bootindex=3D1,write-cache=3Don,serial=3DXYZXYZXYZYXXYZYZ= YXYZY \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ readonly=3Don \ -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x2 \ +-drive file=3D/dev/scsi,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-0-0,cach= e=3Dnone \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,share-rw=3Do= n,\ +drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,write-cache=3Don \ +-drive file=3D/dev/virtio,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0,c= ache=3Dnone \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,share-rw=3Don,\ +drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,write-cache=3Don \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args b/tests/= qemuxml2argvdata/disk-shared.x86_64-latest.args index 15f8c6b3d7..4913d1ed20 100644 --- a/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args @@ -24,6 +24,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -no-acpi \ -boot strict=3Don \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0,\ cache=3Dnone \ -device ide-hd,bus=3Dide.0,unit=3D0,share-rw=3Don,drive=3Ddrive-ide0-0-0,i= d=3Dide0-0-0,\ @@ -31,7 +32,13 @@ bootindex=3D1,write-cache=3Don,serial=3DXYZXYZXYZYXXYZYZ= YXYZY \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ readonly=3Don \ -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x2 \ +-drive file=3D/dev/scsi,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-0-0,cach= e=3Dnone \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,share-rw=3Do= n,\ +drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,write-cache=3Don \ +-drive file=3D/dev/virtio,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0,c= ache=3Dnone \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,share-rw=3Don,\ +drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,write-cache=3Don \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/disk-shared.xml b/tests/qemuxml2argvdat= a/disk-shared.xml index 677c2b0b7d..ec351ee1ae 100644 --- a/tests/qemuxml2argvdata/disk-shared.xml +++ b/tests/qemuxml2argvdata/disk-shared.xml @@ -29,8 +29,22 @@
+ + + + + +
+ + + + + + + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index d1d3cfaca4..df48e341fb 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1060,8 +1060,6 @@ mymain(void) DO_TEST_CAPS_VER("disk-shared", "2.12.0"); DO_TEST_CAPS_LATEST("disk-shared"); DO_TEST_PARSE_ERROR("disk-shared-qcow", NONE); - DO_TEST("disk-shared-locking", - QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_DISK_SHARE_RW); DO_TEST("disk-error-policy", NONE); DO_TEST_CAPS_VER("disk-error-policy", "2.12.0"); DO_TEST_CAPS_LATEST("disk-error-policy"); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692368910400.85287478412863; Mon, 28 Jan 2019 08:19:28 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0DB32144044; Mon, 28 Jan 2019 16:19:25 +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 BCFFD19745; Mon, 28 Jan 2019 16:19:24 +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 64E8418033A1; Mon, 28 Jan 2019 16:19:24 +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 x0SGJHm5018078 for ; Mon, 28 Jan 2019 11:19:17 -0500 Received: by smtp.corp.redhat.com (Postfix) id A7B7817CCB; Mon, 28 Jan 2019 16:19:17 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F34E6608B for ; Mon, 28 Jan 2019 16:19:17 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:43 +0100 Message-Id: <51bb2975768c3b1ca3ceb7c0fd3bfdb75d48afeb.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 14/32] tests: qemu: Rename 'disk-scsi-device' to 'disk-scsi' 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: , 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.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Jan 2019 16:19:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Drop the 'device' suffix which is quite pointless. Signed-off-by: Peter Krempa --- .../qemuxml2argvdata/{disk-scsi-device.args =3D> disk-scsi.args} | 0 tests/qemuxml2argvdata/{disk-scsi-device.xml =3D> disk-scsi.xml} | 0 tests/qemuxml2argvtest.c | 2 +- .../qemuxml2xmloutdata/{disk-scsi-device.xml =3D> disk-scsi.xml} | 0 tests/qemuxml2xmltest.c | 3 +-- 5 files changed, 2 insertions(+), 3 deletions(-) rename tests/qemuxml2argvdata/{disk-scsi-device.args =3D> disk-scsi.args} = (100%) rename tests/qemuxml2argvdata/{disk-scsi-device.xml =3D> disk-scsi.xml} (1= 00%) rename tests/qemuxml2xmloutdata/{disk-scsi-device.xml =3D> disk-scsi.xml} = (100%) diff --git a/tests/qemuxml2argvdata/disk-scsi-device.args b/tests/qemuxml2a= rgvdata/disk-scsi.args similarity index 100% rename from tests/qemuxml2argvdata/disk-scsi-device.args rename to tests/qemuxml2argvdata/disk-scsi.args diff --git a/tests/qemuxml2argvdata/disk-scsi-device.xml b/tests/qemuxml2ar= gvdata/disk-scsi.xml similarity index 100% rename from tests/qemuxml2argvdata/disk-scsi-device.xml rename to tests/qemuxml2argvdata/disk-scsi.xml diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index df48e341fb..6480693407 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1114,7 +1114,7 @@ mymain(void) QEMU_CAPS_USB_STORAGE_REMOVABLE); DO_TEST_FAILURE("disk-usb-pci", QEMU_CAPS_DEVICE_USB_STORAGE); - DO_TEST("disk-scsi-device", + DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI); DO_TEST_CAPS_VER("disk-scsi-device-auto", "1.5.3"); DO_TEST_CAPS_LATEST("disk-scsi-device-auto"); diff --git a/tests/qemuxml2xmloutdata/disk-scsi-device.xml b/tests/qemuxml2= xmloutdata/disk-scsi.xml similarity index 100% rename from tests/qemuxml2xmloutdata/disk-scsi-device.xml rename to tests/qemuxml2xmloutdata/disk-scsi.xml diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 0bcbbef3fc..9eec08add5 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -364,8 +364,7 @@ mymain(void) DO_TEST("disk-network-sheepdog", NONE); DO_TEST("disk-network-vxhs", NONE); DO_TEST("disk-network-tlsx509", NONE); - DO_TEST("disk-scsi-device", - QEMU_CAPS_SCSI_LSI); + DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI); DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692388960222.13509539201027; Mon, 28 Jan 2019 08:19:48 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2E563C7E8D; Mon, 28 Jan 2019 16:19:45 +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 C0519C95C9; Mon, 28 Jan 2019 16:19:44 +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 47E753F606; Mon, 28 Jan 2019 16:19:44 +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 x0SGJLWC018109 for ; Mon, 28 Jan 2019 11:19:21 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6B0B917CCB; Mon, 28 Jan 2019 16:19:21 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id E5B316608B for ; Mon, 28 Jan 2019 16:19:17 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:44 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 15/32] tests: qemuxml2argv: Modernize 'disk-scsi' test 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: , 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.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 28 Jan 2019 16:19:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Use DO_TEST_CAPS_LATEST rather than a predetermined set of caps. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/disk-scsi.args | 30 ---------------- .../disk-scsi.x86_64-latest.args | 35 +++++++++++++++++++ tests/qemuxml2argvtest.c | 3 +- 3 files changed, 36 insertions(+), 32 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-scsi.args create mode 100644 tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args diff --git a/tests/qemuxml2argvdata/disk-scsi.args b/tests/qemuxml2argvdata= /disk-scsi.args deleted file mode 100644 index c28a7b87be..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi.args +++ /dev/null @@ -1,30 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/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/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ --device scsi-disk,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Ds= csi0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args new file mode 100644 index 0000000000..549a162808 --- /dev/null +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -0,0 +1,35 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/home/test \ +USER=3Dtest \ +LOGNAME=3Dtest \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-i686 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ +-S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ +-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-9455-926a-d65c16db1809 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ +-drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 6480693407..be8ab3edbd 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1114,8 +1114,7 @@ mymain(void) QEMU_CAPS_USB_STORAGE_REMOVABLE); DO_TEST_FAILURE("disk-usb-pci", QEMU_CAPS_DEVICE_USB_STORAGE); - DO_TEST("disk-scsi", - QEMU_CAPS_SCSI_LSI); + DO_TEST_CAPS_LATEST("disk-scsi"); DO_TEST_CAPS_VER("disk-scsi-device-auto", "1.5.3"); DO_TEST_CAPS_LATEST("disk-scsi-device-auto"); DO_TEST("disk-scsi-disk-split", --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692392362813.0897244828626; Mon, 28 Jan 2019 08:19:52 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8415C9D518; Mon, 28 Jan 2019 16:19:49 +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 382DA6247D; Mon, 28 Jan 2019 16:19:49 +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 E48B73F609; Mon, 28 Jan 2019 16:19:48 +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 x0SGJPNt018134 for ; Mon, 28 Jan 2019 11:19:25 -0500 Received: by smtp.corp.redhat.com (Postfix) id D62946608B; Mon, 28 Jan 2019 16:19:25 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D6736B8E1 for ; Mon, 28 Jan 2019 16:19:21 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:45 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 16/32] tests: qemu: Merge 'disk-scsi-megasas' test into 'disk-scsi' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 28 Jan 2019 16:19:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" As we support multiple scsi controllers there's no need to have a special test for this controller. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/disk-scsi-megasas.args | 31 ------------- tests/qemuxml2argvdata/disk-scsi-megasas.xml | 35 --------------- .../disk-scsi.x86_64-latest.args | 6 ++- tests/qemuxml2argvdata/disk-scsi.xml | 6 +++ tests/qemuxml2argvtest.c | 2 - .../qemuxml2xmloutdata/disk-scsi-megasas.xml | 45 ------------------- tests/qemuxml2xmloutdata/disk-scsi.xml | 11 ++++- tests/qemuxml2xmltest.c | 4 +- 8 files changed, 22 insertions(+), 118 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-scsi-megasas.args delete mode 100644 tests/qemuxml2argvdata/disk-scsi-megasas.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-scsi-megasas.xml diff --git a/tests/qemuxml2argvdata/disk-scsi-megasas.args b/tests/qemuxml2= argvdata/disk-scsi-megasas.args deleted file mode 100644 index e2d580827f..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-megasas.args +++ /dev/null @@ -1,31 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device megasas,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 4-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D0,\ -drive=3Ddrive-scsi0-0-4-0,id=3Dscsi0-0-4-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-scsi-megasas.xml b/tests/qemuxml2a= rgvdata/disk-scsi-megasas.xml deleted file mode 100644 index 2ada09f51c..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-megasas.xml +++ /dev/null @@ -1,35 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - -
- - - - - - - - - - diff --git a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args index 549a162808..65ff7979eb 100644 --- a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -25,11 +25,15 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -boot strict=3Don \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ +-device megasas,id=3Dscsi1,bus=3Dpci.0,addr=3D0x3 \ -drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ -device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ +-drive file=3D/tmp/scsidisk2.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0= -0-0 \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ +id=3Dscsi1-0-0-0 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/disk-scsi.xml b/tests/qemuxml2argvdata/= disk-scsi.xml index 4d17952fae..3318dc277c 100644 --- a/tests/qemuxml2argvdata/disk-scsi.xml +++ b/tests/qemuxml2argvdata/disk-scsi.xml @@ -24,9 +24,15 @@
+ + + +
+ + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index be8ab3edbd..01dc69bdc0 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1130,8 +1130,6 @@ mymain(void) QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); - DO_TEST("disk-scsi-megasas", - QEMU_CAPS_SCSI_MEGASAS); DO_TEST("disk-scsi-mptsas1068", QEMU_CAPS_SCSI_MPTSAS1068, QEMU_CAPS_SCSI_DISK_WWN); diff --git a/tests/qemuxml2xmloutdata/disk-scsi-megasas.xml b/tests/qemuxml= 2xmloutdata/disk-scsi-megasas.xml deleted file mode 100644 index 3453f1f750..0000000000 --- a/tests/qemuxml2xmloutdata/disk-scsi-megasas.xml +++ /dev/null @@ -1,45 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - - - - -
- - -
- - -
- - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmloutdata/disk-scsi.xml b/tests/qemuxml2xmloutd= ata/disk-scsi.xml index c1b44a54a1..315f1cbf14 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi.xml @@ -26,6 +26,12 @@
+ + + + +
+
@@ -35,11 +41,14 @@
+ +
+ -
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 9eec08add5..691f9ba5ce 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -364,7 +364,7 @@ mymain(void) DO_TEST("disk-network-sheepdog", NONE); DO_TEST("disk-network-vxhs", NONE); DO_TEST("disk-network-tlsx509", NONE); - DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI); + DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI, QEMU_CAPS_SCSI_MEGASAS); DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); @@ -372,8 +372,6 @@ mymain(void) DO_TEST("disk-virtio-s390-zpci", QEMU_CAPS_DEVICE_ZPCI, QEMU_CAPS_CCW); - DO_TEST("disk-scsi-megasas", - QEMU_CAPS_SCSI_MEGASAS); DO_TEST("disk-scsi-mptsas1068", QEMU_CAPS_SCSI_MPTSAS1068, QEMU_CAPS_SCSI_DISK_WWN); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692374563630.8345594201036; Mon, 28 Jan 2019 08:19:34 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2BB63148814; Mon, 28 Jan 2019 16:19:31 +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 960188279E; Mon, 28 Jan 2019 16:19:30 +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 2153318033A7; Mon, 28 Jan 2019 16:19:30 +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 x0SGJQdC018142 for ; Mon, 28 Jan 2019 11:19:26 -0500 Received: by smtp.corp.redhat.com (Postfix) id AA1A37C83A; Mon, 28 Jan 2019 16:19:26 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 300976B8E1 for ; Mon, 28 Jan 2019 16:19:26 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:46 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 17/32] tests: qemu: Merge 'disk-scsi-mptsas1068' test into 'disk-scsi' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Jan 2019 16:19:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" As we support multiple scsi controllers there's no need to have a special test for this controller. Signed-off-by: Peter Krempa --- .../disk-scsi-mptsas1068.args | 31 ------------- .../qemuxml2argvdata/disk-scsi-mptsas1068.xml | 36 --------------- .../disk-scsi.x86_64-latest.args | 6 ++- tests/qemuxml2argvdata/disk-scsi.xml | 7 +++ tests/qemuxml2argvtest.c | 3 -- .../disk-scsi-mptsas1068.xml | 46 ------------------- tests/qemuxml2xmloutdata/disk-scsi.xml | 12 ++++- tests/qemuxml2xmltest.c | 6 +-- 8 files changed, 25 insertions(+), 122 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-scsi-mptsas1068.args delete mode 100644 tests/qemuxml2argvdata/disk-scsi-mptsas1068.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml diff --git a/tests/qemuxml2argvdata/disk-scsi-mptsas1068.args b/tests/qemux= ml2argvdata/disk-scsi-mptsas1068.args deleted file mode 100644 index 0ceddb4d46..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-mptsas1068.args +++ /dev/null @@ -1,31 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device mptsas1068,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 4-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D0,\ -drive=3Ddrive-scsi0-0-4-0,id=3Dscsi0-0-4-0,wwn=3D0x5000c50015ea71ac \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-scsi-mptsas1068.xml b/tests/qemuxm= l2argvdata/disk-scsi-mptsas1068.xml deleted file mode 100644 index 496f2343de..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-mptsas1068.xml +++ /dev/null @@ -1,36 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - -
- 5000c50015ea71ac - - - - - - - - - - diff --git a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args index 65ff7979eb..1b22e18a18 100644 --- a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -26,6 +26,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -device megasas,id=3Dscsi1,bus=3Dpci.0,addr=3D0x3 \ +-device mptsas1068,id=3Dscsi2,bus=3Dpci.0,addr=3D0x4 \ -drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ @@ -33,7 +34,10 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -drive file=3D/tmp/scsidisk2.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0= -0-0 \ -device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ id=3Dscsi1-0-0-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 \ +-drive file=3D/tmp/scsidisk3.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi2-0= -0-0 \ +-device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ +id=3Dscsi2-0-0-0,wwn=3D0x5000c50015ea71ac \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/disk-scsi.xml b/tests/qemuxml2argvdata/= disk-scsi.xml index 3318dc277c..6049ea2069 100644 --- a/tests/qemuxml2argvdata/disk-scsi.xml +++ b/tests/qemuxml2argvdata/disk-scsi.xml @@ -29,10 +29,17 @@
+ + + +
+ 5000c50015ea71ac + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 01dc69bdc0..00085098b8 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1130,9 +1130,6 @@ mymain(void) QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); - DO_TEST("disk-scsi-mptsas1068", - QEMU_CAPS_SCSI_MPTSAS1068, - QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-sata-device", QEMU_CAPS_ICH9_AHCI); DO_TEST("disk-aio", NONE); diff --git a/tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml b/tests/qemu= xml2xmloutdata/disk-scsi-mptsas1068.xml deleted file mode 100644 index e4f4b9e3b1..0000000000 --- a/tests/qemuxml2xmloutdata/disk-scsi-mptsas1068.xml +++ /dev/null @@ -1,46 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - - - - - 5000c50015ea71ac -
- - -
- - -
- - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmloutdata/disk-scsi.xml b/tests/qemuxml2xmloutd= ata/disk-scsi.xml index 315f1cbf14..17602b9543 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi.xml @@ -32,6 +32,13 @@
+ + + + + 5000c50015ea71ac +
+
@@ -44,11 +51,14 @@
+ +
+ -
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 691f9ba5ce..64b1f7be0e 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -364,7 +364,8 @@ mymain(void) DO_TEST("disk-network-sheepdog", NONE); DO_TEST("disk-network-vxhs", NONE); DO_TEST("disk-network-tlsx509", NONE); - DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI, QEMU_CAPS_SCSI_MEGASAS); + DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI, QEMU_CAPS_SCSI_MEGASAS, + QEMU_CAPS_SCSI_MPTSAS1068, QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); @@ -372,9 +373,6 @@ mymain(void) DO_TEST("disk-virtio-s390-zpci", QEMU_CAPS_DEVICE_ZPCI, QEMU_CAPS_CCW); - DO_TEST("disk-scsi-mptsas1068", - QEMU_CAPS_SCSI_MPTSAS1068, - QEMU_CAPS_SCSI_DISK_WWN); DO_TEST("disk-mirror-old", NONE); DO_TEST("disk-mirror", NONE); DO_TEST_FULL("disk-active-commit", WHEN_ACTIVE, GIC_NONE, NONE); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692380899302.51911923222315; Mon, 28 Jan 2019 08:19:40 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8A12F1455E6; Mon, 28 Jan 2019 16:19:35 +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 3B0AA87A1; Mon, 28 Jan 2019 16:19:35 +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 E09C43F605; Mon, 28 Jan 2019 16:19:34 +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 x0SGJRKl018159 for ; Mon, 28 Jan 2019 11:19:27 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7E2C57C83A; Mon, 28 Jan 2019 16:19:27 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 046B36B8E1 for ; Mon, 28 Jan 2019 16:19:26 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:47 +0100 Message-Id: <71cc418816bffc710bd1e223fabb05d7525deb59.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 18/32] tests: qemu: Merge 'disk-scsi-mptsas1068' test into 'disk-scsi' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Jan 2019 16:19:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" As we support multiple scsi controllers there's no need to have a special test for this controller. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/disk-scsi-vscsi.args | 31 ------------- tests/qemuxml2argvdata/disk-scsi-vscsi.xml | 35 --------------- .../disk-scsi.x86_64-latest.args | 4 ++ tests/qemuxml2argvdata/disk-scsi.xml | 6 +++ tests/qemuxml2argvtest.c | 1 - tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml | 45 ------------------- tests/qemuxml2xmloutdata/disk-scsi.xml | 9 ++++ tests/qemuxml2xmltest.c | 1 - 8 files changed, 19 insertions(+), 113 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-scsi-vscsi.args delete mode 100644 tests/qemuxml2argvdata/disk-scsi-vscsi.xml delete mode 100644 tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml diff --git a/tests/qemuxml2argvdata/disk-scsi-vscsi.args b/tests/qemuxml2ar= gvdata/disk-scsi-vscsi.args deleted file mode 100644 index b733f0ebf3..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-vscsi.args +++ /dev/null @@ -1,31 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ --S \ --machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --no-acpi \ --device spapr-vscsi,id=3Dscsi0,reg=3D0x2000 \ --usb \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 3-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D3,lun=3D0,\ -drive=3Ddrive-scsi0-0-3-0,id=3Dscsi0-0-3-0 \ --device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-scsi-vscsi.xml b/tests/qemuxml2arg= vdata/disk-scsi-vscsi.xml deleted file mode 100644 index 3cb74d4725..0000000000 --- a/tests/qemuxml2argvdata/disk-scsi-vscsi.xml +++ /dev/null @@ -1,35 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - -
- - - - -
- - - - - - - - - - diff --git a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args index 1b22e18a18..ac9f3ff02e 100644 --- a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -27,6 +27,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x2 \ -device megasas,id=3Dscsi1,bus=3Dpci.0,addr=3D0x3 \ -device mptsas1068,id=3Dscsi2,bus=3Dpci.0,addr=3D0x4 \ +-device spapr-vscsi,id=3Dscsi3,reg=3D0x2000 \ -drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ @@ -37,6 +38,9 @@ id=3Dscsi1-0-0-0 \ -drive file=3D/tmp/scsidisk3.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi2-0= -0-0 \ -device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ id=3Dscsi2-0-0-0,wwn=3D0x5000c50015ea71ac \ +-drive file=3D/tmp/scsidisk4.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi3-0= -0-0 \ +-device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi3-0-0-0,\ +id=3Dscsi3-0-0-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ diff --git a/tests/qemuxml2argvdata/disk-scsi.xml b/tests/qemuxml2argvdata/= disk-scsi.xml index 6049ea2069..496d8cab39 100644 --- a/tests/qemuxml2argvdata/disk-scsi.xml +++ b/tests/qemuxml2argvdata/disk-scsi.xml @@ -35,11 +35,17 @@
5000c50015ea71ac + + + +
+ + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 00085098b8..3bfbd8339f 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1128,7 +1128,6 @@ mymain(void) DO_TEST_FAILURE("disk-scsi-disk-vpd-build-error", QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); - DO_TEST("disk-scsi-vscsi", NONE); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); DO_TEST("disk-sata-device", QEMU_CAPS_ICH9_AHCI); diff --git a/tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml b/tests/qemuxml2x= mloutdata/disk-scsi-vscsi.xml deleted file mode 100644 index 5f0cc50674..0000000000 --- a/tests/qemuxml2xmloutdata/disk-scsi-vscsi.xml +++ /dev/null @@ -1,45 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-i686 - - - - -
- - - - - -
- - -
- - -
- - -
- - - - - -
- - - diff --git a/tests/qemuxml2xmloutdata/disk-scsi.xml b/tests/qemuxml2xmloutd= ata/disk-scsi.xml index 17602b9543..96c0cfec74 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi.xml @@ -39,6 +39,12 @@ 5000c50015ea71ac
+ + + + +
+
@@ -54,6 +60,9 @@
+ +
+ diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 64b1f7be0e..668bdb96aa 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -366,7 +366,6 @@ mymain(void) DO_TEST("disk-network-tlsx509", NONE); DO_TEST("disk-scsi", QEMU_CAPS_SCSI_LSI, QEMU_CAPS_SCSI_MEGASAS, QEMU_CAPS_SCSI_MPTSAS1068, QEMU_CAPS_SCSI_DISK_WWN); - DO_TEST("disk-scsi-vscsi", NONE); DO_TEST("disk-virtio-scsi-reservations", QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_PR_MANAGER_HELPER); DO_TEST("controller-virtio-scsi", QEMU_CAPS_VIRTIO_SCSI); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692383004657.4435919533421; Mon, 28 Jan 2019 08:19:43 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9E32C40F14; Mon, 28 Jan 2019 16:19:40 +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 5E1307CE2B; Mon, 28 Jan 2019 16:19:40 +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 E6C953F609; Mon, 28 Jan 2019 16:19:39 +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 x0SGJSKm018167 for ; Mon, 28 Jan 2019 11:19:28 -0500 Received: by smtp.corp.redhat.com (Postfix) id 50E986B8E1; Mon, 28 Jan 2019 16:19:28 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id CB8EF611D0 for ; Mon, 28 Jan 2019 16:19:27 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:48 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 19/32] tests: qemuxml2argv: Use 1.5.3 version for very old state in 'disk-cache' 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 28 Jan 2019 16:19:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Rather than testing random set of flags add a case also for the oldest supported qemu. Signed-off-by: Peter Krempa --- ...k-cache.args =3D> disk-cache.x86_64-1.5.3.args} | 16 +++++++++------- tests/qemuxml2argvtest.c | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) rename tests/qemuxml2argvdata/{disk-cache.args =3D> disk-cache.x86_64-1.5.= 3.args} (72%) diff --git a/tests/qemuxml2argvdata/disk-cache.args b/tests/qemuxml2argvdat= a/disk-cache.x86_64-1.5.3.args similarity index 72% rename from tests/qemuxml2argvdata/disk-cache.args rename to tests/qemuxml2argvdata/disk-cache.x86_64-1.5.3.args index a136201ffd..288d0aa43c 100644 --- a/tests/qemuxml2argvdata/disk-cache.args +++ b/tests/qemuxml2argvdata/disk-cache.x86_64-1.5.3.args @@ -9,6 +9,7 @@ QEMU_AUDIO_DRV=3Dnone \ -S \ -machine pc-i440fx-2.6,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ -m 214 \ +-realtime mlock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ -display none \ @@ -20,22 +21,23 @@ server,nowait \ -rtc base=3Dutc \ -no-shutdown \ -no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device lsi,id=3Dscsi0,bus=3Dpci.0,addr=3D0x3 \ --usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0,\ cache=3Dwriteback \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-1,\ cache=3Dunsafe \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-s= csi0-0-0,\ cache=3Dnone \ --device scsi-disk,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Ds= csi0-0-0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-v= irtio-disk0,\ cache=3Dwritethrough \ --device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,\ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-vir= tio-disk0,\ id=3Dvirtio-disk0 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-u= sb-disk1,\ cache=3Ddirectsync \ --device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk1,id=3Dusb-= disk1 +-device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk1,id=3Dusb-= disk1,\ +removable=3Doff diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 3bfbd8339f..fd889d8128 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1063,7 +1063,7 @@ mymain(void) DO_TEST("disk-error-policy", NONE); DO_TEST_CAPS_VER("disk-error-policy", "2.12.0"); DO_TEST_CAPS_LATEST("disk-error-policy"); - DO_TEST("disk-cache", QEMU_CAPS_SCSI_LSI, QEMU_CAPS_DEVICE_USB_STORAGE= ); + DO_TEST_CAPS_VER("disk-cache", "1.5.3"); DO_TEST_CAPS_VER("disk-cache", "2.6.0"); DO_TEST_CAPS_VER("disk-cache", "2.7.0"); DO_TEST_CAPS_VER("disk-cache", "2.12.0"); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692379620601.6815162646411; Mon, 28 Jan 2019 08:19:39 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E2F58AC604; Mon, 28 Jan 2019 16:19:35 +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 A4E7C10D7066; Mon, 28 Jan 2019 16:19:35 +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 4F9883F609; Mon, 28 Jan 2019 16:19:35 +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 x0SGJT97018177 for ; Mon, 28 Jan 2019 11:19:29 -0500 Received: by smtp.corp.redhat.com (Postfix) id 258C381635; Mon, 28 Jan 2019 16:19:29 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9E44F7C83A for ; Mon, 28 Jan 2019 16:19:28 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:49 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 20/32] tests: qemuxml2argv: Modernize virtio-scsi iothread tests 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: , 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.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 28 Jan 2019 16:19:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Use DO_TEST_CAPS_LATEST to obtain actual results. Signed-off-by: Peter Krempa --- ...threads-virtio-scsi-ccw.s390x-latest.args} | 20 ++++++++++------ ...hreads-virtio-scsi-pci.x86_64-latest.args} | 23 +++++++++++-------- tests/qemuxml2argvtest.c | 8 ++----- 3 files changed, 29 insertions(+), 22 deletions(-) rename tests/qemuxml2argvdata/{iothreads-virtio-scsi-ccw.args =3D> iothrea= ds-virtio-scsi-ccw.s390x-latest.args} (58%) rename tests/qemuxml2argvdata/{iothreads-virtio-scsi-pci.args =3D> iothrea= ds-virtio-scsi-pci.x86_64-latest.args} (57%) diff --git a/tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.args b/tests/= qemuxml2argvdata/iothreads-virtio-scsi-ccw.s390x-latest.args similarity index 58% rename from tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.args rename to tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.s390x-latest.args index 08d38942f6..1c5be88a47 100644 --- a/tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.args +++ b/tests/qemuxml2argvdata/iothreads-virtio-scsi-ccw.s390x-latest.args @@ -5,10 +5,13 @@ USER=3Dtest \ LOGNAME=3Dtest \ QEMU_AUDIO_DRV=3Dnone \ /usr/bin/qemu-system-s390x \ --name QEMUGuest1 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ -S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -machine s390-ccw,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ -m 214 \ +-realtime mlock=3Doff \ -smp 1,sockets=3D1,cores=3D1,threads=3D1 \ -object iothread,id=3Diothread1 \ -object iothread,id=3Diothread2 \ @@ -16,16 +19,19 @@ QEMU_AUDIO_DRV=3Dnone \ -display none \ -no-user-config \ -nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ -rtc base=3Dutc \ -no-shutdown \ +-boot strict=3Don \ -device virtio-scsi-ccw,iothread=3Diothread2,id=3Dscsi0,devno=3Dfe.0.0001 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-vir= tio-disk0 \ --device virtio-blk-ccw,iothread=3Diothread1,devno=3Dfe.0.0000,\ +-device virtio-blk-ccw,iothread=3Diothread1,scsi=3Doff,devno=3Dfe.0.0000,\ drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,bootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-2-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D2,lun=3D0,\ -drive=3Ddrive-scsi0-0-2-0,id=3Dscsi0-0-2-0 \ --device virtio-balloon-ccw,id=3Dballoon0,devno=3Dfe.0.000a +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D2,lun=3D0,drive=3Ddriv= e-scsi0-0-2-0,\ +id=3Dscsi0-0-2-0 \ +-device virtio-balloon-ccw,id=3Dballoon0,devno=3Dfe.0.000a \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.args b/tests/= qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args similarity index 57% rename from tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.args rename to tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.ar= gs index ee346516cb..4513edcdd0 100644 --- a/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.args +++ b/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args @@ -5,10 +5,13 @@ USER=3Dtest \ LOGNAME=3Dtest \ QEMU_AUDIO_DRV=3Dnone \ /usr/bin/qemu-system-i686 \ --name QEMUGuest1 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ -S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ -m 214 \ +-realtime mlock=3Doff \ -smp 2,sockets=3D2,cores=3D1,threads=3D1 \ -object iothread,id=3Diothread1 \ -object iothread,id=3Diothread2 \ @@ -16,22 +19,24 @@ QEMU_AUDIO_DRV=3Dnone \ -display none \ -no-user-config \ -nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ -rtc base=3Dutc \ -no-shutdown \ -no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ -device virtio-scsi-pci,iothread=3Diothread2,id=3Dscsi0,bus=3Dpci.0,addr= =3D0xb \ --usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/var/lib/libvirt/images/iothrtest1.img,format=3Draw,if=3Dnon= e,\ id=3Ddrive-virtio-disk1 \ --device virtio-blk-pci,iothread=3Diothread1,bus=3Dpci.0,addr=3D0x4,\ +-device virtio-blk-pci,iothread=3Diothread1,scsi=3Doff,bus=3Dpci.0,addr=3D= 0x4,\ drive=3Ddrive-virtio-disk1,id=3Dvirtio-disk1 \ -drive file=3D/var/lib/libvirt/images/iothrtest2.img,format=3Draw,if=3Dnon= e,\ id=3Ddrive-scsi0-0-0-3 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D3,\ -drive=3Ddrive-scsi0-0-0-3,id=3Dscsi0-0-0-3 +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D3,drive=3Ddriv= e-scsi0-0-0-3,\ +id=3Dscsi0-0-0-3 \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index fd889d8128..6a87b46b33 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1691,12 +1691,8 @@ mymain(void) DO_TEST("iothreads-disk", QEMU_CAPS_OBJECT_IOTHREAD); DO_TEST("iothreads-disk-virtio-ccw", QEMU_CAPS_OBJECT_IOTHREAD, QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); - DO_TEST("iothreads-virtio-scsi-pci", QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_OBJECT_IOTHREAD, - QEMU_CAPS_VIRTIO_SCSI_IOTHREAD); - DO_TEST("iothreads-virtio-scsi-ccw", QEMU_CAPS_OBJECT_IOTHREAD, - QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_VIRTIO_SCSI_IOTHREAD, - QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); + DO_TEST_CAPS_LATEST("iothreads-virtio-scsi-pci"); + DO_TEST_CAPS_ARCH_LATEST("iothreads-virtio-scsi-ccw", "s390x"); DO_TEST("cpu-topology1", NONE); DO_TEST("cpu-topology2", NONE); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692383495187.9921334382916; Mon, 28 Jan 2019 08:19:43 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 57915AAA77; Mon, 28 Jan 2019 16:19:41 +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 09FF65C5BB; Mon, 28 Jan 2019 16:19:41 +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 9BBBF18033CC; Mon, 28 Jan 2019 16:19:40 +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 x0SGJT2v018191 for ; Mon, 28 Jan 2019 11:19:29 -0500 Received: by smtp.corp.redhat.com (Postfix) id ED09B6608B; Mon, 28 Jan 2019 16:19:29 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 72D7A82EDD for ; Mon, 28 Jan 2019 16:19:29 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:50 +0100 Message-Id: <98c5848dafbb45d84be96643173f7ccfd9fad821.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 21/32] tests: qemuxml2argv: Remove 'disk-virtio-scsi-ccw' test 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 28 Jan 2019 16:19:42 +0000 (UTC) Content-Type: text/plain; charset="utf-8" It's a subset of 'iothreads-virtio-scsi-ccw'. Signed-off-by: Peter Krempa --- .../disk-virtio-scsi-ccw.args | 29 ----------------- .../qemuxml2argvdata/disk-virtio-scsi-ccw.xml | 31 ------------------- tests/qemuxml2argvtest.c | 2 -- 3 files changed, 62 deletions(-) delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-ccw.args delete mode 100644 tests/qemuxml2argvdata/disk-virtio-scsi-ccw.xml diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-ccw.args b/tests/qemux= ml2argvdata/disk-virtio-scsi-ccw.args deleted file mode 100644 index 66d3cbf47a..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-ccw.args +++ /dev/null @@ -1,29 +0,0 @@ -LC_ALL=3DC \ -PATH=3D/bin \ -HOME=3D/home/test \ -USER=3Dtest \ -LOGNAME=3Dtest \ -QEMU_AUDIO_DRV=3Dnone \ -/usr/bin/qemu-system-s390x \ --name QEMUGuest1 \ --S \ --machine s390-ccw,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \ --m 214 \ --smp 1,sockets=3D1,cores=3D1,threads=3D1 \ --uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \ --display none \ --no-user-config \ --nodefaults \ --chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni= tor.sock,\ -server,nowait \ --mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ --rtc base=3Dutc \ --no-shutdown \ --device virtio-scsi-ccw,id=3Dscsi0,devno=3Dfe.0.0001 \ --drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-vir= tio-disk0 \ --device virtio-blk-ccw,devno=3Dfe.0.0000,drive=3Ddrive-virtio-disk0,\ -id=3Dvirtio-disk0,bootindex=3D1 \ --drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-4-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D0,\ -drive=3Ddrive-scsi0-0-4-0,id=3Dscsi0-0-4-0 \ --device virtio-balloon-ccw,id=3Dballoon0,devno=3Dfe.0.000a diff --git a/tests/qemuxml2argvdata/disk-virtio-scsi-ccw.xml b/tests/qemuxm= l2argvdata/disk-virtio-scsi-ccw.xml deleted file mode 100644 index 1938b3eaab..0000000000 --- a/tests/qemuxml2argvdata/disk-virtio-scsi-ccw.xml +++ /dev/null @@ -1,31 +0,0 @@ - - QEMUGuest1 - c7a5fdbd-edaf-9455-926a-d65c16db1809 - 219136 - 219136 - 1 - - hvm - - - - destroy - restart - destroy - - /usr/bin/qemu-system-s390x - - - - - - - -
- - - -
- - - diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 6a87b46b33..d76e803c97 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1036,8 +1036,6 @@ mymain(void) QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); DO_TEST("disk-virtio-ccw-many", QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); - DO_TEST("disk-virtio-scsi-ccw", QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_CCW, QEMU_CAPS_VIRTIO_S390); DO_TEST("disk-virtio-s390-zpci", QEMU_CAPS_DEVICE_ZPCI, QEMU_CAPS_CCW, --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692389473339.3543656182966; Mon, 28 Jan 2019 08:19:49 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5C2F5C7E9E; Mon, 28 Jan 2019 16:19:45 +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 1E5857CE3A; Mon, 28 Jan 2019 16:19:45 +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 BF73218033A6; Mon, 28 Jan 2019 16:19:44 +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 x0SGJUZr018198 for ; Mon, 28 Jan 2019 11:19:30 -0500 Received: by smtp.corp.redhat.com (Postfix) id C1DD182ED8; Mon, 28 Jan 2019 16:19:30 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4786982ED3 for ; Mon, 28 Jan 2019 16:19:30 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:51 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 22/32] qemu: caps: Always assume presence of 'scsi-hd' and 'scsi-cd' device 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 28 Jan 2019 16:19:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The split of scsi-disk into the two separate devices was introduced by qemu commit b443ae67 released in qemu v0.15. All changes to test files are not really related to disk testing thanks to previous refactors. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 1 - src/qemu/qemu_capabilities.h | 2 +- src/qemu/qemu_command.c | 19 ++++++------------- .../caps_1.5.3.x86_64.xml | 1 - .../caps_1.6.0.x86_64.xml | 1 - .../caps_1.7.0.x86_64.xml | 1 - .../caps_2.1.1.x86_64.xml | 1 - .../caps_2.10.0.aarch64.xml | 1 - .../caps_2.10.0.ppc64.xml | 1 - .../caps_2.10.0.s390x.xml | 1 - .../caps_2.10.0.x86_64.xml | 1 - .../caps_2.11.0.s390x.xml | 1 - .../caps_2.11.0.x86_64.xml | 1 - .../caps_2.12.0.aarch64.xml | 1 - .../caps_2.12.0.ppc64.xml | 1 - .../caps_2.12.0.s390x.xml | 1 - .../caps_2.12.0.x86_64.xml | 1 - .../caps_2.4.0.x86_64.xml | 1 - .../caps_2.5.0.x86_64.xml | 1 - .../caps_2.6.0.aarch64.xml | 1 - .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml | 1 - .../caps_2.6.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_2.7.0.s390x.xml | 1 - .../caps_2.7.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_2.8.0.s390x.xml | 1 - .../caps_2.8.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml | 1 - .../qemucapabilitiesdata/caps_2.9.0.s390x.xml | 1 - .../caps_2.9.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 1 - .../caps_3.0.0.riscv32.xml | 1 - .../caps_3.0.0.riscv64.xml | 1 - .../qemucapabilitiesdata/caps_3.0.0.s390x.xml | 1 - .../caps_3.0.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 1 - .../caps_3.1.0.x86_64.xml | 1 - .../caps_4.0.0.x86_64.xml | 1 - .../aarch64-virtio-pci-manual-addresses.args | 4 ++-- tests/qemuxml2argvdata/bios-nvram-secure.args | 4 ++-- tests/qemuxml2argvdata/machine-smm-opt.args | 4 ++-- .../multifunction-pci-device.args | 2 +- .../pseries-vio-user-assigned.args | 4 ++-- tests/qemuxml2argvdata/pseries-vio.args | 4 ++-- tests/qemuxml2argvtest.c | 11 ++++------- tests/qemuxml2xmltest.c | 6 ++---- 45 files changed, 24 insertions(+), 71 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index caabcde466..94710f76cd 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1025,7 +1025,6 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[= ] =3D { { "qxl", QEMU_CAPS_DEVICE_QXL }, { "sga", QEMU_CAPS_SGA }, { "scsi-block", QEMU_CAPS_SCSI_BLOCK }, - { "scsi-cd", QEMU_CAPS_SCSI_CD }, { "ide-cd", QEMU_CAPS_IDE_CD }, { "VGA", QEMU_CAPS_DEVICE_VGA }, { "cirrus-vga", QEMU_CAPS_DEVICE_CIRRUS_VGA }, diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index 6d5ed8a3cc..f9810bee92 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -174,7 +174,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for = syntax-check */ /* 90 */ X_QEMU_CAPS_BLOCKJOB_SYNC, /* old block_job_cancel, block_stream */ QEMU_CAPS_BLOCKJOB_ASYNC, /* new block-job-cancel, block-stream */ - QEMU_CAPS_SCSI_CD, /* -device scsi-cd */ + X_QEMU_CAPS_SCSI_CD, /* -device scsi-cd */ QEMU_CAPS_IDE_CD, /* -device ide-cd */ X_QEMU_CAPS_NO_USER_CONFIG, /* -no-user-config */ diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 3e46f3ced3..bcd6d82555 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1753,13 +1753,10 @@ qemuBuildDriveStr(virDomainDiskDefPtr disk, * legacy -drive is used. In modern qemu the 'ide-cd' or 'scsi-cd' are= used. * virtio and other just ignore the attribute anyways */ if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) { - if (disk->bus =3D=3D VIR_DOMAIN_DISK_BUS_SCSI) { - if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_CD)) - virBufferAddLit(&opt, ",media=3Dcdrom"); - } else if (disk->bus =3D=3D VIR_DOMAIN_DISK_BUS_IDE) { + if (disk->bus =3D=3D VIR_DOMAIN_DISK_BUS_IDE) { if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_IDE_CD)) virBufferAddLit(&opt, ",media=3Dcdrom"); - } else { + } else if (disk->bus !=3D VIR_DOMAIN_DISK_BUS_SCSI) { virBufferAddLit(&opt, ",media=3Dcdrom"); } } @@ -1978,14 +1975,10 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_LUN) { virBufferAddLit(&opt, "scsi-block"); } else { - if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_CD)) { - if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) - virBufferAddLit(&opt, "scsi-cd"); - else - virBufferAddLit(&opt, "scsi-hd"); - } else { - virBufferAddLit(&opt, "scsi-disk"); - } + if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) + virBufferAddLit(&opt, "scsi-cd"); + else + virBufferAddLit(&opt, "scsi-hd"); } if (!(contAlias =3D virDomainControllerAliasFind(def, VIR_DOMAIN_C= ONTROLLER_TYPE_SCSI, diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.5.3.x86_64.xml index 3c9a474b5b..848bc44625 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.6.0.x86_64.xml index 528af43a6d..7bc2e6a204 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.7.0.x86_64.xml index ddc06959ca..3fd785ca2e 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.1.1.x86_64.xml index 7c65353ba5..3a72b58427 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.10.0.aarch64.xml index 9f6676a2b8..a351802e27 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml @@ -23,7 +23,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.ppc64.xml index d4cc446d0b..b470336ac0 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.s390x.xml index 9c88b919a4..7347eff579 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.10.0.x86_64.xml index 2941743f94..f92c84d5a8 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.11.0.s390x.xml index 60d902f1ac..d26506bc62 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.11.0.x86_64.xml index e1584f99d4..cb4d2381d0 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.12.0.aarch64.xml index f58979716d..16c4acfc45 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml @@ -23,7 +23,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.ppc64.xml index e58df048c4..575ed88371 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.s390x.xml index 60385cc505..154fb44532 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.12.0.x86_64.xml index 3d12aba2e8..7e6a8ea264 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.4.0.x86_64.xml index c95f34559b..1f69d1ee71 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.5.0.x86_64.xml index 240abd299c..bb30aec3e6 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_2.6.0.aarch64.xml index 801a2e62ad..6f2b8e9a91 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml @@ -25,7 +25,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.6.0.ppc64.xml index 949f9305c3..2d9cd34e9f 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.6.0.x86_64.xml index f5bca878be..43b9f022e4 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.7.0.s390x.xml index a667aa7673..e50c83950f 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.7.0.x86_64.xml index 5d8ba4ee68..cf880a0a88 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.8.0.s390x.xml index 00c3ff5133..6b975be02f 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.8.0.x86_64.xml index 5a6e26cba1..acfcbd673e 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.ppc64.xml index 87f24e2e41..bdf69680ad 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.s390x.xml index e197848e4e..7101f155ff 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml @@ -13,7 +13,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.9.0.x86_64.xml index 871018364f..d2a0d1a8ff 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.ppc64.xml index 971c0665be..1ef7a911fe 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.xml b/tests/qemu= capabilitiesdata/caps_3.0.0.riscv32.xml index 1b5d8e6e12..3c2028323f 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv32.xml @@ -7,7 +7,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.xml b/tests/qemu= capabilitiesdata/caps_3.0.0.riscv64.xml index 3c76f6355d..dc5a0fd42a 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.riscv64.xml @@ -7,7 +7,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.s390x.xml index bf889145a0..ecbdbdc716 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.s390x.xml @@ -14,7 +14,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.0.0.x86_64.xml index b787bd9acd..a8c17fd4b9 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.1.0.ppc64.xml index d55eb5d981..37c7e3424f 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.1.0.x86_64.xml index db72e873c5..4f74ae70f4 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index b8da376b2c..205446ed0e 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemuxml2argvdata/aarch64-virtio-pci-manual-addresses.arg= s b/tests/qemuxml2argvdata/aarch64-virtio-pci-manual-addresses.args index 3e7ab481af..c7218a50ed 100644 --- a/tests/qemuxml2argvdata/aarch64-virtio-pci-manual-addresses.args +++ b/tests/qemuxml2argvdata/aarch64-virtio-pci-manual-addresses.args @@ -30,8 +30,8 @@ path=3D/tmp/lib/domain--1-aarch64test/monitor.sock,server= ,nowait \ -device pci-bridge,chassis_nr=3D3,id=3Dpci.3,bus=3Dpci.1,addr=3D0x1 \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.3,addr=3D0x1 \ -drive file=3D/aarch64.raw,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ +id=3Dscsi0-0-0-0,bootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:09:a4:37= ,bus=3Dpci.3,\ addr=3D0x2 \ diff --git a/tests/qemuxml2argvdata/bios-nvram-secure.args b/tests/qemuxml2= argvdata/bios-nvram-secure.args index 9ae30a0708..6d1789aa05 100644 --- a/tests/qemuxml2argvdata/bios-nvram-secure.args +++ b/tests/qemuxml2argvdata/bios-nvram-secure.args @@ -29,6 +29,6 @@ server,nowait \ -device ioh3420,port=3D0x10,chassis=3D3,id=3Dpci.3,bus=3Dpcie.0,addr=3D0x2= \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.2,addr=3D0x1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ +id=3Dscsi0-0-0-0,bootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.2,addr=3D0x2 diff --git a/tests/qemuxml2argvdata/machine-smm-opt.args b/tests/qemuxml2ar= gvdata/machine-smm-opt.args index 25e7ab6372..e4dea21a7c 100644 --- a/tests/qemuxml2argvdata/machine-smm-opt.args +++ b/tests/qemuxml2argvdata/machine-smm-opt.args @@ -25,6 +25,6 @@ server,nowait \ -device ioh3420,port=3D0x10,chassis=3D3,id=3Dpci.3,bus=3Dpcie.0,addr=3D0x2= \ -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.2,addr=3D0x1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-disk,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ +id=3Dscsi0-0-0-0,bootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.2,addr=3D0x2 diff --git a/tests/qemuxml2argvdata/multifunction-pci-device.args b/tests/q= emuxml2argvdata/multifunction-pci-device.args index e314068699..94e89c411f 100644 --- a/tests/qemuxml2argvdata/multifunction-pci-device.args +++ b/tests/qemuxml2argvdata/multifunction-pci-device.args @@ -31,6 +31,6 @@ server,nowait \ -device lsi,id=3Dscsi8,bus=3Dpci.0,addr=3D0x4.0x7 \ -usb \ -drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ --device scsi-disk,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Ds= csi0-0-0,\ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0,\ bootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 diff --git a/tests/qemuxml2argvdata/pseries-vio-user-assigned.args b/tests/= qemuxml2argvdata/pseries-vio-user-assigned.args index 5de2646e21..62b98363ef 100644 --- a/tests/qemuxml2argvdata/pseries-vio-user-assigned.args +++ b/tests/qemuxml2argvdata/pseries-vio-user-assigned.args @@ -23,8 +23,8 @@ server,nowait \ -device spapr-vscsi,id=3Dscsi1,reg=3D0x30000000 \ -usb \ -drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0-= 0-0 \ --device scsi-disk,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi1-0-0-0,id=3Dscsi1-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ +id=3Dscsi1-0-0-0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x20000000 \ -chardev pty,id=3Dcharserial1 \ diff --git a/tests/qemuxml2argvdata/pseries-vio.args b/tests/qemuxml2argvda= ta/pseries-vio.args index 454f6cffa9..d55272e85b 100644 --- a/tests/qemuxml2argvdata/pseries-vio.args +++ b/tests/qemuxml2argvdata/pseries-vio.args @@ -23,8 +23,8 @@ server,nowait \ -device spapr-vscsi,id=3Dscsi1,reg=3D0x3000 \ -usb \ -drive file=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0-= 0-0 \ --device scsi-disk,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,\ -drive=3Ddrive-scsi1-0-0-0,id=3Dscsi1-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ +id=3Dscsi1-0-0-0,bootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device spapr-vty,chardev=3Dcharserial0,id=3Dserial0,reg=3D0x30000000 \ -chardev pty,id=3Dcharserial1 \ diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index d76e803c97..6d87b49190 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1116,16 +1116,13 @@ mymain(void) DO_TEST_CAPS_VER("disk-scsi-device-auto", "1.5.3"); DO_TEST_CAPS_LATEST("disk-scsi-device-auto"); DO_TEST("disk-scsi-disk-split", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI); DO_TEST("disk-scsi-disk-wwn", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_SCSI_DISK_WWN); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK= _WWN); DO_TEST("disk-scsi-disk-vpd", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_SCSI_DISK_WWN); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK= _WWN); DO_TEST_FAILURE("disk-scsi-disk-vpd-build-error", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, - QEMU_CAPS_SCSI_DISK_WWN); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK= _WWN); DO_TEST_CAPS_LATEST("controller-virtio-scsi"); DO_TEST("disk-sata-device", QEMU_CAPS_ICH9_AHCI); diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 668bdb96aa..899afead51 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -557,11 +557,9 @@ mymain(void) DO_TEST("numad-static-vcpu-no-numatune", NONE); DO_TEST("disk-scsi-lun-passthrough-sgio", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, - QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK= _WWN); DO_TEST("disk-scsi-disk-vpd", - QEMU_CAPS_SCSI_CD, QEMU_CAPS_SCSI_LSI, - QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK_WWN); + QEMU_CAPS_SCSI_LSI, QEMU_CAPS_VIRTIO_SCSI, QEMU_CAPS_SCSI_DISK= _WWN); DO_TEST("disk-source-pool", NONE); DO_TEST("disk-source-pool-mode", NONE); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692397344653.6249786874884; Mon, 28 Jan 2019 08:19:57 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AB8912C9715; Mon, 28 Jan 2019 16:19:54 +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 728A37CE2B; Mon, 28 Jan 2019 16:19:54 +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 1CC3D3F60C; Mon, 28 Jan 2019 16:19:54 +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 x0SGJWhh018216 for ; Mon, 28 Jan 2019 11:19:32 -0500 Received: by smtp.corp.redhat.com (Postfix) id 2190E82ED3; Mon, 28 Jan 2019 16:19:32 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 245C482EDD for ; Mon, 28 Jan 2019 16:19:30 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:52 +0100 Message-Id: <579a6d1a7d43f151b70d3fbaf3589dd6ecae27c0.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 23/32] qemu: caps: Always assume presence of 'ide-hd' and 'ide-cd' devices 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 28 Jan 2019 16:19:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The split of scsi-disk into the two separate devices was introduced by qemu commit 1f56e32a7f4b3 released in qemu v0.15. Note that when compared to the previous commit which made sure that no disk related tests were touched, in this case it's not as careful. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 1 - src/qemu/qemu_capabilities.h | 2 +- src/qemu/qemu_command.c | 36 +++++++------------ .../caps_1.5.3.x86_64.xml | 1 - .../caps_1.6.0.x86_64.xml | 1 - .../caps_1.7.0.x86_64.xml | 1 - .../caps_2.1.1.x86_64.xml | 1 - .../caps_2.10.0.aarch64.xml | 1 - .../caps_2.10.0.ppc64.xml | 1 - .../caps_2.10.0.x86_64.xml | 1 - .../caps_2.11.0.x86_64.xml | 1 - .../caps_2.12.0.aarch64.xml | 1 - .../caps_2.12.0.ppc64.xml | 1 - .../caps_2.12.0.x86_64.xml | 1 - .../caps_2.4.0.x86_64.xml | 1 - .../caps_2.5.0.x86_64.xml | 1 - .../caps_2.6.0.aarch64.xml | 1 - .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml | 1 - .../caps_2.6.0.x86_64.xml | 1 - .../caps_2.7.0.x86_64.xml | 1 - .../caps_2.8.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml | 1 - .../caps_2.9.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml | 1 - .../caps_3.0.0.x86_64.xml | 1 - .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml | 1 - .../caps_3.1.0.x86_64.xml | 1 - .../caps_4.0.0.x86_64.xml | 1 - tests/qemuxml2argvdata/autoindex.args | 2 +- .../qemuxml2argvdata/balloon-device-auto.args | 3 +- .../balloon-device-deflate-off.args | 3 +- .../balloon-device-deflate.args | 3 +- .../balloon-device-period.args | 3 +- tests/qemuxml2argvdata/balloon-device.args | 3 +- tests/qemuxml2argvdata/bios-nvram.args | 3 +- tests/qemuxml2argvdata/bios.args | 3 +- .../blkdeviotune-group-num.args | 5 ++- .../blkdeviotune-max-length.args | 5 ++- tests/qemuxml2argvdata/blkdeviotune-max.args | 5 ++- tests/qemuxml2argvdata/blkiotune-device.args | 3 +- tests/qemuxml2argvdata/blkiotune.args | 3 +- tests/qemuxml2argvdata/boot-cdrom.args | 6 ++-- tests/qemuxml2argvdata/boot-complex.args | 10 +++--- tests/qemuxml2argvdata/boot-floppy.args | 2 +- .../boot-menu-disable-drive.args | 6 ++-- tests/qemuxml2argvdata/boot-menu-disable.args | 6 ++-- .../boot-menu-enable-with-timeout.args | 6 ++-- tests/qemuxml2argvdata/boot-menu-enable.args | 6 ++-- tests/qemuxml2argvdata/boot-multi.args | 6 ++-- tests/qemuxml2argvdata/boot-network.args | 2 +- tests/qemuxml2argvdata/boot-order.args | 8 ++--- tests/qemuxml2argvdata/boot-strict.args | 10 +++--- tests/qemuxml2argvdata/channel-guestfwd.args | 3 +- tests/qemuxml2argvdata/channel-spicevmc.args | 3 +- .../qemuxml2argvdata/channel-virtio-auto.args | 3 +- .../channel-virtio-autoadd.args | 3 +- .../channel-virtio-autoassign.args | 3 +- .../channel-virtio-default.args | 3 +- .../channel-virtio-state.args | 3 +- .../qemuxml2argvdata/channel-virtio-unix.args | 3 +- tests/qemuxml2argvdata/channel-virtio.args | 3 +- tests/qemuxml2argvdata/clock-catchup.args | 3 +- tests/qemuxml2argvdata/clock-france.args | 3 +- tests/qemuxml2argvdata/clock-hpet-off.args | 3 +- .../clock-localtime-basis-localtime.args | 3 +- tests/qemuxml2argvdata/clock-localtime.args | 3 +- tests/qemuxml2argvdata/clock-utc.args | 3 +- tests/qemuxml2argvdata/clock-variable.args | 3 +- .../qemuxml2argvdata/console-compat-auto.args | 3 +- .../console-compat-chardev.args | 3 +- tests/qemuxml2argvdata/console-compat.args | 3 +- .../qemuxml2argvdata/console-virtio-many.args | 3 +- tests/qemuxml2argvdata/console-virtio.args | 3 +- tests/qemuxml2argvdata/controller-order.args | 4 +-- .../cpu-host-passthrough-features.args | 3 +- .../qemuxml2argvdata/cputune-zero-shares.args | 3 +- tests/qemuxml2argvdata/cputune.args | 3 +- tests/qemuxml2argvdata/debug-threads.args | 3 +- tests/qemuxml2argvdata/disk-aio.args | 7 ++-- tests/qemuxml2argvdata/disk-boot-cdrom.args | 7 ++-- tests/qemuxml2argvdata/disk-boot-disk.args | 7 ++-- .../qemuxml2argvdata/disk-cdrom-network.args | 17 +++++---- tests/qemuxml2argvdata/disk-cdrom-tray.args | 9 +++-- tests/qemuxml2argvdata/disk-cdrom.args | 16 ++++----- tests/qemuxml2argvdata/disk-copy_on_read.args | 5 ++- .../qemuxml2argvdata/disk-detect-zeroes.args | 5 ++- tests/qemuxml2argvdata/disk-discard.args | 5 ++- tests/qemuxml2argvdata/disk-error-policy.args | 7 ++-- tests/qemuxml2argvdata/disk-floppy-tray.args | 3 +- tests/qemuxml2argvdata/disk-floppy.args | 3 +- tests/qemuxml2argvdata/disk-fmt-qcow.args | 7 ++-- tests/qemuxml2argvdata/disk-geometry.args | 4 +-- tests/qemuxml2argvdata/disk-ioeventfd.args | 5 ++- tests/qemuxml2argvdata/disk-iscsi.args | 3 +- .../disk-network-sheepdog.args | 3 +- tests/qemuxml2argvdata/disk-no-boot.args | 8 ++--- tests/qemuxml2argvdata/disk-order.args | 7 ++-- .../qemuxml2argvdata/disk-readonly-disk.args | 8 ++--- tests/qemuxml2argvdata/disk-sata-device.args | 2 +- tests/qemuxml2argvdata/disk-serial.args | 6 ++-- tests/qemuxml2argvdata/disk-snapshot.args | 9 +++-- .../disk-source-pool-mode.args | 15 ++++---- tests/qemuxml2argvdata/disk-source-pool.args | 12 +++---- .../disk-usb-device-removable.args | 3 +- tests/qemuxml2argvdata/disk-usb-device.args | 3 +- tests/qemuxml2argvdata/disk-virtio.args | 7 ++-- tests/qemuxml2argvdata/event_idx.args | 5 ++- tests/qemuxml2argvdata/fips-enabled.args | 3 +- tests/qemuxml2argvdata/fs9p.args | 3 +- .../graphics-egl-headless.args | 3 +- .../graphics-sdl-fullscreen.args | 3 +- tests/qemuxml2argvdata/graphics-sdl.args | 3 +- .../graphics-spice-agent-file-xfer.args | 3 +- .../graphics-spice-agentmouse.args | 3 +- .../graphics-spice-compression.args | 3 +- .../graphics-spice-egl-headless.args | 3 +- .../graphics-spice-qxl-vga.args | 3 +- .../qemuxml2argvdata/graphics-spice-sasl.args | 3 +- .../graphics-spice-timeout.args | 5 ++- tests/qemuxml2argvdata/graphics-spice.args | 3 +- .../graphics-vnc-auto-socket-cfg.args | 3 +- .../graphics-vnc-egl-headless.args | 3 +- .../graphics-vnc-no-listen-attr.args | 3 +- .../qemuxml2argvdata/graphics-vnc-policy.args | 3 +- .../graphics-vnc-remove-generated-socket.args | 3 +- tests/qemuxml2argvdata/graphics-vnc-sasl.args | 3 +- tests/qemuxml2argvdata/graphics-vnc.args | 3 +- .../hostdev-pci-address-device.args | 3 +- .../qemuxml2argvdata/hostdev-pci-address.args | 3 +- .../hostdev-scsi-lsi-iscsi-auth.args | 3 +- .../hostdev-scsi-lsi-iscsi.args | 3 +- tests/qemuxml2argvdata/hostdev-scsi-lsi.args | 3 +- .../hostdev-scsi-readonly.args | 3 +- .../hostdev-scsi-vhost-scsi-pci.args | 3 +- .../hostdev-scsi-virtio-iscsi-auth.args | 3 +- .../hostdev-scsi-virtio-iscsi.args | 3 +- .../hostdev-scsi-virtio-scsi.args | 3 +- .../hostdev-usb-address-device-boot.args | 2 +- .../hostdev-usb-address-device.args | 3 +- .../qemuxml2argvdata/hostdev-usb-address.args | 3 +- .../hostdev-vfio-multidomain.args | 3 +- tests/qemuxml2argvdata/hostdev-vfio.args | 3 +- .../qemuxml2argvdata/hugepages-memaccess.args | 3 +- .../hugepages-memaccess2.args | 3 +- tests/qemuxml2argvdata/hugepages-shared.args | 3 +- .../qemuxml2argvdata/input-usbmouse-addr.args | 3 +- tests/qemuxml2argvdata/input-usbmouse.args | 3 +- tests/qemuxml2argvdata/input-usbtablet.args | 3 +- tests/qemuxml2argvdata/iothreads-disk.args | 3 +- .../iothreads-ids-partial.args | 3 +- tests/qemuxml2argvdata/iothreads-ids.args | 3 +- tests/qemuxml2argvdata/iothreads.args | 3 +- tests/qemuxml2argvdata/kvm-pit-delay.args | 3 +- tests/qemuxml2argvdata/kvm-pit-discard.args | 3 +- tests/qemuxml2argvdata/machine-aliases1.args | 3 +- tests/qemuxml2argvdata/machine-aliases2.args | 3 +- tests/qemuxml2argvdata/machine-core-off.args | 3 +- tests/qemuxml2argvdata/machine-core-on.args | 3 +- .../qemuxml2argvdata/machine-vmport-opt.args | 3 +- tests/qemuxml2argvdata/master-key.args | 3 +- .../memory-hotplug-dimm-addr.args | 3 +- .../qemuxml2argvdata/memory-hotplug-dimm.args | 3 +- tests/qemuxml2argvdata/memory-hotplug.args | 3 +- tests/qemuxml2argvdata/memtune-unlimited.args | 3 +- tests/qemuxml2argvdata/memtune.args | 3 +- tests/qemuxml2argvdata/migrate.args | 3 +- .../minimal-msg-timestamp.args | 3 +- tests/qemuxml2argvdata/minimal-sandbox.args | 3 +- tests/qemuxml2argvdata/minimal.args | 3 +- tests/qemuxml2argvdata/misc-acpi.args | 3 +- tests/qemuxml2argvdata/misc-disable-s3.args | 3 +- .../misc-disable-suspends.args | 3 +- tests/qemuxml2argvdata/misc-enable-s4.args | 3 +- tests/qemuxml2argvdata/misc-no-reboot.args | 3 +- tests/qemuxml2argvdata/misc-uuid.args | 3 +- tests/qemuxml2argvdata/monitor-json.args | 3 +- tests/qemuxml2argvdata/name-escape.args | 3 +- tests/qemuxml2argvdata/net-client.args | 3 +- tests/qemuxml2argvdata/net-eth-hostip.args | 3 +- tests/qemuxml2argvdata/net-eth-ifname.args | 3 +- tests/qemuxml2argvdata/net-eth-names.args | 3 +- tests/qemuxml2argvdata/net-eth.args | 3 +- .../net-hostdev-bootorder.args | 3 +- .../net-hostdev-multidomain.args | 3 +- .../net-hostdev-vfio-multidomain.args | 3 +- tests/qemuxml2argvdata/net-hostdev-vfio.args | 3 +- tests/qemuxml2argvdata/net-hostdev.args | 3 +- tests/qemuxml2argvdata/net-mcast.args | 3 +- tests/qemuxml2argvdata/net-server.args | 3 +- tests/qemuxml2argvdata/net-udp.args | 3 +- tests/qemuxml2argvdata/net-user-addr.args | 3 +- tests/qemuxml2argvdata/net-user.args | 3 +- .../net-vhostuser-multiq.args | 3 +- tests/qemuxml2argvdata/net-virtio-device.args | 3 +- .../net-virtio-disable-offloads.args | 3 +- tests/qemuxml2argvdata/net-virtio-netdev.args | 3 +- .../net-virtio-rxtxqueuesize.args | 3 +- tests/qemuxml2argvdata/net-virtio.args | 3 +- tests/qemuxml2argvdata/nosharepages.args | 3 +- .../numad-auto-memory-vcpu-cpuset.args | 3 +- ...o-memory-vcpu-no-cpuset-and-placement.args | 3 +- .../numad-auto-vcpu-static-numatune.args | 3 +- .../numad-static-memory-auto-vcpu.args | 3 +- tests/qemuxml2argvdata/numad.args | 3 +- .../numatune-auto-nodeset-invalid.args | 3 +- tests/qemuxml2argvdata/numatune-memory.args | 3 +- tests/qemuxml2argvdata/panic-no-address.args | 3 +- tests/qemuxml2argvdata/panic.args | 3 +- .../parallel-parport-chardev.args | 3 +- .../parallel-tcp-chardev.args | 3 +- tests/qemuxml2argvdata/pci-autoadd-addr.args | 4 +-- tests/qemuxml2argvdata/pci-autoadd-idx.args | 4 +-- tests/qemuxml2argvdata/pci-bridge.args | 4 +-- tests/qemuxml2argvdata/pci-many.args | 4 +-- tests/qemuxml2argvdata/pci-rom.args | 3 +- .../pci-serial-dev-chardev.args | 3 +- tests/qemuxml2argvdata/pcie-expander-bus.args | 2 +- tests/qemuxml2argvdata/pcie-root-port.args | 2 +- .../pcie-switch-downstream-port.args | 2 +- .../pcie-switch-upstream-port.args | 2 +- tests/qemuxml2argvdata/pcihole64-q35.args | 2 +- tests/qemuxml2argvdata/q35-usb2-multi.args | 2 +- tests/qemuxml2argvdata/q35-usb2-reorder.args | 2 +- tests/qemuxml2argvdata/q35-usb2.args | 2 +- tests/qemuxml2argvdata/q35.args | 2 +- tests/qemuxml2argvdata/qemu-ns-alt.args | 3 +- .../qemu-ns-commandline-ns0.args | 3 +- .../qemu-ns-commandline-ns1.args | 3 +- .../qemuxml2argvdata/qemu-ns-commandline.args | 3 +- .../qemu-ns-domain-commandline-ns0.args | 3 +- .../qemu-ns-domain-commandline.args | 3 +- .../qemuxml2argvdata/qemu-ns-domain-ns0.args | 3 +- tests/qemuxml2argvdata/qemu-ns-no-env.args | 3 +- tests/qemuxml2argvdata/qemu-ns.args | 3 +- tests/qemuxml2argvdata/restore-v2-fd.args | 3 +- tests/qemuxml2argvdata/restore-v2.args | 3 +- tests/qemuxml2argvdata/seclabel-dac-none.args | 3 +- .../seclabel-dynamic-baselabel.args | 3 +- .../seclabel-dynamic-labelskip.args | 3 +- .../seclabel-dynamic-override.args | 5 ++- .../seclabel-dynamic-relabel.args | 3 +- tests/qemuxml2argvdata/seclabel-dynamic.args | 3 +- tests/qemuxml2argvdata/seclabel-none.args | 3 +- .../seclabel-static-labelskip.args | 3 +- .../seclabel-static-relabel.args | 3 +- tests/qemuxml2argvdata/seclabel-static.args | 3 +- .../serial-dev-chardev-iobase.args | 3 +- .../qemuxml2argvdata/serial-dev-chardev.args | 3 +- .../qemuxml2argvdata/serial-file-chardev.args | 3 +- tests/qemuxml2argvdata/serial-file-log.args | 3 +- .../qemuxml2argvdata/serial-many-chardev.args | 3 +- .../qemuxml2argvdata/serial-pty-chardev.args | 3 +- .../serial-spiceport-nospice.args | 3 +- tests/qemuxml2argvdata/serial-spiceport.args | 3 +- .../qemuxml2argvdata/serial-tcp-chardev.args | 3 +- .../serial-tcp-telnet-chardev.args | 3 +- .../serial-tcp-tlsx509-chardev-notls.args | 3 +- .../serial-tcp-tlsx509-chardev-verify.args | 3 +- .../serial-tcp-tlsx509-chardev.args | 3 +- .../serial-tcp-tlsx509-secret-chardev.args | 3 +- .../qemuxml2argvdata/serial-udp-chardev.args | 3 +- tests/qemuxml2argvdata/serial-vc-chardev.args | 3 +- tests/qemuxml2argvdata/smbios.args | 3 +- tests/qemuxml2argvdata/smp.args | 3 +- tests/qemuxml2argvdata/sound-device.args | 3 +- tests/qemuxml2argvdata/sound.args | 3 +- tests/qemuxml2argvdata/user-aliases.args | 4 +-- .../video-device-pciaddr-default.args | 3 +- tests/qemuxml2argvdata/video-none-device.args | 3 +- .../video-qxl-device-vgamem.args | 3 +- tests/qemuxml2argvdata/video-qxl-device.args | 3 +- tests/qemuxml2argvdata/video-qxl-heads.args | 3 +- .../qemuxml2argvdata/video-qxl-nodevice.args | 3 +- tests/qemuxml2argvdata/video-qxl-noheads.args | 3 +- .../video-qxl-sec-device-vgamem.args | 3 +- .../video-qxl-sec-device.args | 3 +- .../video-vga-device-vgamem.args | 3 +- tests/qemuxml2argvdata/video-vga-device.args | 3 +- .../qemuxml2argvdata/video-vga-nodevice.args | 3 +- .../qemuxml2argvdata/video-vga-qxl-heads.args | 3 +- .../video-virtio-gpu-device.args | 3 +- .../video-virtio-gpu-sdl-gl.args | 3 +- .../video-virtio-gpu-spice-gl.args | 3 +- .../video-virtio-gpu-virgl.args | 3 +- tests/qemuxml2argvdata/video-virtio-vga.args | 3 +- tests/qemuxml2argvdata/vmcoreinfo.args | 3 +- tests/qemuxml2argvdata/watchdog-device.args | 3 +- tests/qemuxml2argvdata/watchdog-dump.args | 3 +- .../qemuxml2argvdata/watchdog-injectnmi.args | 3 +- tests/qemuxml2argvdata/watchdog.args | 3 +- tests/qemuxml2argvtest.c | 10 ++---- 291 files changed, 358 insertions(+), 653 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 94710f76cd..901c0bca40 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -1025,7 +1025,6 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[= ] =3D { { "qxl", QEMU_CAPS_DEVICE_QXL }, { "sga", QEMU_CAPS_SGA }, { "scsi-block", QEMU_CAPS_SCSI_BLOCK }, - { "ide-cd", QEMU_CAPS_IDE_CD }, { "VGA", QEMU_CAPS_DEVICE_VGA }, { "cirrus-vga", QEMU_CAPS_DEVICE_CIRRUS_VGA }, { "vmware-svga", QEMU_CAPS_DEVICE_VMWARE_SVGA }, diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index f9810bee92..18abd555f4 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -175,7 +175,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for = syntax-check */ X_QEMU_CAPS_BLOCKJOB_SYNC, /* old block_job_cancel, block_stream */ QEMU_CAPS_BLOCKJOB_ASYNC, /* new block-job-cancel, block-stream */ X_QEMU_CAPS_SCSI_CD, /* -device scsi-cd */ - QEMU_CAPS_IDE_CD, /* -device ide-cd */ + X_QEMU_CAPS_IDE_CD, /* -device ide-cd */ X_QEMU_CAPS_NO_USER_CONFIG, /* -no-user-config */ /* 95 */ diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index bcd6d82555..352e474d90 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1752,14 +1752,10 @@ qemuBuildDriveStr(virDomainDiskDefPtr disk, /* While this is a frontend attribute, it only makes sense to be used = when * legacy -drive is used. In modern qemu the 'ide-cd' or 'scsi-cd' are= used. * virtio and other just ignore the attribute anyways */ - if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) { - if (disk->bus =3D=3D VIR_DOMAIN_DISK_BUS_IDE) { - if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_IDE_CD)) - virBufferAddLit(&opt, ",media=3Dcdrom"); - } else if (disk->bus !=3D VIR_DOMAIN_DISK_BUS_SCSI) { - virBufferAddLit(&opt, ",media=3Dcdrom"); - } - } + if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM && + disk->bus !=3D VIR_DOMAIN_DISK_BUS_SCSI && + disk->bus !=3D VIR_DOMAIN_DISK_BUS_IDE) + virBufferAddLit(&opt, ",media=3Dcdrom"); if (!virStorageSourceIsEmpty(disk->src)) { if (disk->src->readonly) @@ -1913,14 +1909,10 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, goto error; } - if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_IDE_CD)) { - if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) - virBufferAddLit(&opt, "ide-cd"); - else - virBufferAddLit(&opt, "ide-hd"); - } else { - virBufferAddLit(&opt, "ide-drive"); - } + if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) + virBufferAddLit(&opt, "ide-cd"); + else + virBufferAddLit(&opt, "ide-hd"); /* When domain has builtin IDE controller we don't put it onto cmd * line. Therefore we can't set its alias. In that case, use the @@ -2035,14 +2027,10 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, goto error; } - if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_IDE_CD)) { - if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) - virBufferAddLit(&opt, "ide-cd"); - else - virBufferAddLit(&opt, "ide-hd"); - } else { - virBufferAddLit(&opt, "ide-drive"); - } + if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM) + virBufferAddLit(&opt, "ide-cd"); + else + virBufferAddLit(&opt, "ide-hd"); /* When domain has builtin SATA controller we don't put it onto cmd * line. Therefore we can't set its alias. In that case, use the diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.5.3.x86_64.xml index 848bc44625..6a0b123993 100644 --- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.6.0.x86_64.xml index 7bc2e6a204..5a91592653 100644 --- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_1.7.0.x86_64.xml index 3fd785ca2e..0507e02cc6 100644 --- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.1.1.x86_64.xml index 3a72b58427..3c268f8d7a 100644 --- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.10.0.aarch64.xml index a351802e27..30eafac64f 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml @@ -23,7 +23,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.10.0.ppc64.xml index b470336ac0..1c8b5f4237 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.10.0.x86_64.xml index f92c84d5a8..a5b9eecf17 100644 --- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.11.0.x86_64.xml index cb4d2381d0..38ef7207e8 100644 --- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml b/tests/qem= ucapabilitiesdata/caps_2.12.0.aarch64.xml index 16c4acfc45..67f320cc71 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml @@ -23,7 +23,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml b/tests/qemuc= apabilitiesdata/caps_2.12.0.ppc64.xml index 575ed88371..e07c1fa6d6 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml b/tests/qemu= capabilitiesdata/caps_2.12.0.x86_64.xml index 7e6a8ea264..94e8c877a2 100644 --- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.4.0.x86_64.xml index 1f69d1ee71..5dff12e745 100644 --- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.5.0.x86_64.xml index bb30aec3e6..e3e1ca3cad 100644 --- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml b/tests/qemu= capabilitiesdata/caps_2.6.0.aarch64.xml index 6f2b8e9a91..0371991523 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml @@ -25,7 +25,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.6.0.ppc64.xml index 2d9cd34e9f..9494a72e3e 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.6.0.x86_64.xml index 43b9f022e4..89bdcb116c 100644 --- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.7.0.x86_64.xml index cf880a0a88..cc555fb48a 100644 --- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.8.0.x86_64.xml index acfcbd673e..f2dbfe3cde 100644 --- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_2.9.0.ppc64.xml index bdf69680ad..cea056f313 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_2.9.0.x86_64.xml index d2a0d1a8ff..fe900edd92 100644 --- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.0.0.ppc64.xml index 1ef7a911fe..226023a8b2 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.0.0.x86_64.xml index a8c17fd4b9..01703f125c 100644 --- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml b/tests/qemuca= pabilitiesdata/caps_3.1.0.ppc64.xml index 37c7e3424f..29ff06581a 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml @@ -22,7 +22,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_3.1.0.x86_64.xml index 4f74ae70f4..c3bb278c5a 100644 --- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index 205446ed0e..3d4d53023e 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -29,7 +29,6 @@ - diff --git a/tests/qemuxml2argvdata/autoindex.args b/tests/qemuxml2argvdata= /autoindex.args index 6a262422f6..56be2d23d4 100644 --- a/tests/qemuxml2argvdata/autoindex.args +++ b/tests/qemuxml2argvdata/autoindex.args @@ -54,4 +54,4 @@ addr=3D0x2 \ -device ich9-usb-uhci3,masterbus=3Dusb4.0,firstport=3D4,bus=3Dpci.2,addr= =3D0x2.0x2 \ -device ich9-usb-ehci1,id=3Dusb4,bus=3Dpci.2,addr=3D0x2.0x7 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 diff --git a/tests/qemuxml2argvdata/balloon-device-auto.args b/tests/qemuxm= l2argvdata/balloon-device-auto.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/balloon-device-auto.args +++ b/tests/qemuxml2argvdata/balloon-device-auto.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/balloon-device-deflate-off.args b/tests= /qemuxml2argvdata/balloon-device-deflate-off.args index 2b0469972f..896bb47afe 100644 --- a/tests/qemuxml2argvdata/balloon-device-deflate-off.args +++ b/tests/qemuxml2argvdata/balloon-device-deflate-off.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x12,deflate-o= n-oom=3Doff diff --git a/tests/qemuxml2argvdata/balloon-device-deflate.args b/tests/qem= uxml2argvdata/balloon-device-deflate.args index 53f467981b..37304d23b1 100644 --- a/tests/qemuxml2argvdata/balloon-device-deflate.args +++ b/tests/qemuxml2argvdata/balloon-device-deflate.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x12,deflate-o= n-oom=3Don diff --git a/tests/qemuxml2argvdata/balloon-device-period.args b/tests/qemu= xml2argvdata/balloon-device-period.args index 9d659f6d43..c703c011f4 100644 --- a/tests/qemuxml2argvdata/balloon-device-period.args +++ b/tests/qemuxml2argvdata/balloon-device-period.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x12 diff --git a/tests/qemuxml2argvdata/balloon-device.args b/tests/qemuxml2arg= vdata/balloon-device.args index 9d659f6d43..c703c011f4 100644 --- a/tests/qemuxml2argvdata/balloon-device.args +++ b/tests/qemuxml2argvdata/balloon-device.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x12 diff --git a/tests/qemuxml2argvdata/bios-nvram.args b/tests/qemuxml2argvdat= a/bios-nvram.args index 7435192a02..731675ae63 100644 --- a/tests/qemuxml2argvdata/bios-nvram.args +++ b/tests/qemuxml2argvdata/bios-nvram.args @@ -25,7 +25,6 @@ server,nowait \ -boot menu=3Don \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-tablet,id=3Dinput0,bus=3Dusb.0,port=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/bios.args b/tests/qemuxml2argvdata/bios= .args index 4d5cea9f24..8ecc696194 100644 --- a/tests/qemuxml2argvdata/bios.args +++ b/tests/qemuxml2argvdata/bios.args @@ -25,8 +25,7 @@ server,nowait \ -boot menu=3Don \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device usb-tablet,id=3Dinput0,bus=3Dusb.0,port=3D1 \ diff --git a/tests/qemuxml2argvdata/blkdeviotune-group-num.args b/tests/qem= uxml2argvdata/blkdeviotune-group-num.args index 1ef0934e51..a9e66c430e 100644 --- a/tests/qemuxml2argvdata/blkdeviotune-group-num.args +++ b/tests/qemuxml2argvdata/blkdeviotune-group-num.args @@ -25,13 +25,12 @@ server,nowait \ cache=3Dnone,throttling.bps-total=3D5000,throttling.iops-total=3D6000,\ throttling.bps-total-max=3D10000,throttling.iops-total-max=3D11000,\ throttling.group=3Dlibvirt_iotune_group1 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-1,\ cache=3Dnone,throttling.bps-read=3D5000,throttling.bps-write=3D5500,\ throttling.iops-read=3D3500,throttling.iops-write=3D4000,\ throttling.bps-read-max=3D6000,throttling.bps-write-max=3D6500,\ throttling.iops-read-max=3D7000,throttling.iops-write-max=3D7500,\ throttling.iops-size=3D2000,throttling.group=3Dlibvirt_iotune_group2 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/blkdeviotune-max-length.args b/tests/qe= muxml2argvdata/blkdeviotune-max-length.args index 295fa84825..482220705c 100644 --- a/tests/qemuxml2argvdata/blkdeviotune-max-length.args +++ b/tests/qemuxml2argvdata/blkdeviotune-max-length.args @@ -25,8 +25,7 @@ server,nowait \ cache=3Dnone,throttling.bps-total=3D5000,throttling.iops-total=3D6000,\ throttling.bps-total-max=3D10000,throttling.iops-total-max=3D11000,\ throttling.bps-total-max-length=3D3,throttling.iops-total-max-length=3D5 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-1,\ cache=3Dnone,throttling.bps-read=3D5000,throttling.bps-write=3D5500,\ throttling.iops-read=3D3500,throttling.iops-write=3D4000,\ @@ -35,5 +34,5 @@ throttling.iops-read-max=3D7000,throttling.iops-write-max= =3D7500,\ throttling.iops-size=3D2000,throttling.bps-read-max-length=3D3,\ throttling.bps-write-max-length=3D5,throttling.iops-read-max-length=3D7,\ throttling.iops-write-max-length=3D9 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/blkdeviotune-max.args b/tests/qemuxml2a= rgvdata/blkdeviotune-max.args index 031a9cc626..c9cd42708b 100644 --- a/tests/qemuxml2argvdata/blkdeviotune-max.args +++ b/tests/qemuxml2argvdata/blkdeviotune-max.args @@ -24,13 +24,12 @@ server,nowait \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0,\ cache=3Dnone,throttling.bps-total=3D5000,throttling.iops-total=3D6000,\ throttling.bps-total-max=3D10000,throttling.iops-total-max=3D11000 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-1,\ cache=3Dnone,throttling.bps-read=3D5000,throttling.bps-write=3D5500,\ throttling.iops-read=3D3500,throttling.iops-write=3D4000,\ throttling.bps-read-max=3D6000,throttling.bps-write-max=3D6500,\ throttling.iops-read-max=3D7000,throttling.iops-write-max=3D7500,\ throttling.iops-size=3D2000 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/blkiotune-device.args b/tests/qemuxml2a= rgvdata/blkiotune-device.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/blkiotune-device.args +++ b/tests/qemuxml2argvdata/blkiotune-device.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/blkiotune.args b/tests/qemuxml2argvdata= /blkiotune.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/blkiotune.args +++ b/tests/qemuxml2argvdata/blkiotune.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-cdrom.args b/tests/qemuxml2argvdat= a/boot-cdrom.args index df4cf6e387..3b15374ee9 100644 --- a/tests/qemuxml2argvdata/boot-cdrom.args +++ b/tests/qemuxml2argvdata/boot-cdrom.args @@ -21,7 +21,5 @@ server,nowait \ -no-shutdown \ -no-acpi \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/boot-complex.args b/tests/qemuxml2argvd= ata/boot-complex.args index 56cefb60a5..4cdb1452cd 100644 --- a/tests/qemuxml2argvdata/boot-complex.args +++ b/tests/qemuxml2argvdata/boot-complex.args @@ -28,13 +28,11 @@ id=3Dvirtio-disk0,bootindex=3D3 \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-vir= tio-disk1,\ id=3Dvirtio-disk1 \ -drive file=3D/dev/HostVG/hda,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ -drive file=3D/dev/HostVG/hdb,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-1 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ --drive file=3D/dev/HostVG/hdc,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,m= edia=3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ +-drive file=3D/dev/HostVG/hdc,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,r= eadonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -drive file=3D/dev/fd0,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0 \ -drive file=3D/dev/fd1,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-1 \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ diff --git a/tests/qemuxml2argvdata/boot-floppy.args b/tests/qemuxml2argvda= ta/boot-floppy.args index eac04dc7df..3211106512 100644 --- a/tests/qemuxml2argvdata/boot-floppy.args +++ b/tests/qemuxml2argvdata/boot-floppy.args @@ -22,7 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ -drive file=3D/tmp/firmware.img,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0= \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ -global isa-fdc.bootindexA=3D1 diff --git a/tests/qemuxml2argvdata/boot-menu-disable-drive.args b/tests/qe= muxml2argvdata/boot-menu-disable-drive.args index f4c37fb31d..0cf54a786f 100644 --- a/tests/qemuxml2argvdata/boot-menu-disable-drive.args +++ b/tests/qemuxml2argvdata/boot-menu-disable-drive.args @@ -22,8 +22,6 @@ server,nowait \ -no-acpi \ -boot menu=3Doff \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-menu-disable.args b/tests/qemuxml2= argvdata/boot-menu-disable.args index f4c37fb31d..0cf54a786f 100644 --- a/tests/qemuxml2argvdata/boot-menu-disable.args +++ b/tests/qemuxml2argvdata/boot-menu-disable.args @@ -22,8 +22,6 @@ server,nowait \ -no-acpi \ -boot menu=3Doff \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-menu-enable-with-timeout.args b/te= sts/qemuxml2argvdata/boot-menu-enable-with-timeout.args index 0f44ce5b43..1fd9977142 100644 --- a/tests/qemuxml2argvdata/boot-menu-enable-with-timeout.args +++ b/tests/qemuxml2argvdata/boot-menu-enable-with-timeout.args @@ -22,8 +22,6 @@ server,nowait \ -no-acpi \ -boot menu=3Don,splash-time=3D3000 \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-menu-enable.args b/tests/qemuxml2a= rgvdata/boot-menu-enable.args index 91f73213b7..46494445cc 100644 --- a/tests/qemuxml2argvdata/boot-menu-enable.args +++ b/tests/qemuxml2argvdata/boot-menu-enable.args @@ -22,8 +22,6 @@ server,nowait \ -no-acpi \ -boot menu=3Don \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-multi.args b/tests/qemuxml2argvdat= a/boot-multi.args index 91f73213b7..46494445cc 100644 --- a/tests/qemuxml2argvdata/boot-multi.args +++ b/tests/qemuxml2argvdata/boot-multi.args @@ -22,8 +22,6 @@ server,nowait \ -no-acpi \ -boot menu=3Don \ -usb \ --drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-drive file=3D/dev/cdrom,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readon= ly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/boot-network.args b/tests/qemuxml2argvd= ata/boot-network.args index 713e1f1c85..6b441dd6b4 100644 --- a/tests/qemuxml2argvdata/boot-network.args +++ b/tests/qemuxml2argvdata/boot-network.args @@ -22,4 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 diff --git a/tests/qemuxml2argvdata/boot-order.args b/tests/qemuxml2argvdat= a/boot-order.args index eda63fc3a2..c22ee6fdd4 100644 --- a/tests/qemuxml2argvdata/boot-order.args +++ b/tests/qemuxml2argvdata/boot-order.args @@ -22,11 +22,9 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ --drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,me= dia=3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ +-drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,re= adonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -drive file=3Dsheepdog:example.org:6000:image,format=3Draw,if=3Dnone,\ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-vir= tio-disk0,\ diff --git a/tests/qemuxml2argvdata/boot-strict.args b/tests/qemuxml2argvda= ta/boot-strict.args index 9dc90454fd..b062c0d1df 100644 --- a/tests/qemuxml2argvdata/boot-strict.args +++ b/tests/qemuxml2argvdata/boot-strict.args @@ -29,13 +29,11 @@ id=3Dvirtio-disk0,bootindex=3D3 \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-vir= tio-disk1,\ id=3Dvirtio-disk1 \ -drive file=3D/dev/HostVG/hda,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ -drive file=3D/dev/HostVG/hdb,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-1 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ --drive file=3D/dev/HostVG/hdc,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,m= edia=3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ +-drive file=3D/dev/HostVG/hdc,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,r= eadonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -drive file=3D/dev/fd0,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0 \ -drive file=3D/dev/fd1,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-1 \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ diff --git a/tests/qemuxml2argvdata/channel-guestfwd.args b/tests/qemuxml2a= rgvdata/channel-guestfwd.args index 392e5dd8d7..a82d5b6d4e 100644 --- a/tests/qemuxml2argvdata/channel-guestfwd.args +++ b/tests/qemuxml2argvdata/channel-guestfwd.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pipe,id=3Dcharchannel0,path=3D/tmp/guestfwd \ -netdev user,guestfwd=3Dtcp:10.0.2.1:4600-chardev:charchannel0,id=3Duser-c= hannel0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/channel-spicevmc.args b/tests/qemuxml2a= rgvdata/channel-spicevmc.args index 4baeda8165..f4ae7f6ef6 100644 --- a/tests/qemuxml2argvdata/channel-spicevmc.args +++ b/tests/qemuxml2argvdata/channel-spicevmc.args @@ -22,8 +22,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev spicevmc,id=3Dcharchannel0,name=3Dvdagent \ -device virtserialport,bus=3Dvirtio-serial1.0,nr=3D3,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dcom.redhat.spice.0 \ diff --git a/tests/qemuxml2argvdata/channel-virtio-auto.args b/tests/qemuxm= l2argvdata/channel-virtio-auto.args index 045b691b7e..14c7da0577 100644 --- a/tests/qemuxml2argvdata/channel-virtio-auto.args +++ b/tests/qemuxml2argvdata/channel-virtio-auto.args @@ -26,8 +26,7 @@ addr=3D0x3 \ -device virtio-serial-pci,id=3Dvirtio-serial2,bus=3Dpci.0,addr=3D0x4 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dorg.linux-kvm.port.0 \ diff --git a/tests/qemuxml2argvdata/channel-virtio-autoadd.args b/tests/qem= uxml2argvdata/channel-virtio-autoadd.args index 0bec138d58..a0cde544b7 100644 --- a/tests/qemuxml2argvdata/channel-virtio-autoadd.args +++ b/tests/qemuxml2argvdata/channel-virtio-autoadd.args @@ -25,8 +25,7 @@ addr=3D0x3 \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0x4 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dorg.linux-kvm.port.0 \ diff --git a/tests/qemuxml2argvdata/channel-virtio-autoassign.args b/tests/= qemuxml2argvdata/channel-virtio-autoassign.args index ab511564e2..497f6b09d7 100644 --- a/tests/qemuxml2argvdata/channel-virtio-autoassign.args +++ b/tests/qemuxml2argvdata/channel-virtio-autoassign.args @@ -25,8 +25,7 @@ addr=3D0x3 \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dorg.linux-kvm.port.0 \ diff --git a/tests/qemuxml2argvdata/channel-virtio-default.args b/tests/qem= uxml2argvdata/channel-virtio-default.args index fa964bf60a..88f2a78a55 100644 --- a/tests/qemuxml2argvdata/channel-virtio-default.args +++ b/tests/qemuxml2argvdata/channel-virtio-default.args @@ -24,8 +24,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.0,addr=3D0x3 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel= 0,\ id=3Dchannel0 \ diff --git a/tests/qemuxml2argvdata/channel-virtio-state.args b/tests/qemux= ml2argvdata/channel-virtio-state.args index 7814464fc0..2e820dda05 100644 --- a/tests/qemuxml2argvdata/channel-virtio-state.args +++ b/tests/qemuxml2argvdata/channel-virtio-state.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial1.0,nr=3D3,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dorg.linux-kvm.port.foo \ diff --git a/tests/qemuxml2argvdata/channel-virtio-unix.args b/tests/qemuxm= l2argvdata/channel-virtio-unix.args index b95b770530..63658e9e87 100644 --- a/tests/qemuxml2argvdata/channel-virtio-unix.args +++ b/tests/qemuxml2argvdata/channel-virtio-unix.args @@ -24,8 +24,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.0,addr=3D0x3 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev socket,id=3Dcharchannel0,\ path=3D/tmp/channel/domain--1-QEMUGuest1/org.qemu.guest_agent.0,server,now= ait \ -device virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel= 0,\ diff --git a/tests/qemuxml2argvdata/channel-virtio.args b/tests/qemuxml2arg= vdata/channel-virtio.args index 0b899b4d88..4207b6929b 100644 --- a/tests/qemuxml2argvdata/channel-virtio.args +++ b/tests/qemuxml2argvdata/channel-virtio.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharchannel0 \ -device virtserialport,bus=3Dvirtio-serial1.0,nr=3D3,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dorg.linux-kvm.port.foo \ diff --git a/tests/qemuxml2argvdata/clock-catchup.args b/tests/qemuxml2argv= data/clock-catchup.args index 878198627a..849ad3a57b 100644 --- a/tests/qemuxml2argvdata/clock-catchup.args +++ b/tests/qemuxml2argvdata/clock-catchup.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/clock-france.args b/tests/qemuxml2argvd= ata/clock-france.args index a7948dad81..c177501f1a 100644 --- a/tests/qemuxml2argvdata/clock-france.args +++ b/tests/qemuxml2argvdata/clock-france.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/clock-hpet-off.args b/tests/qemuxml2arg= vdata/clock-hpet-off.args index bd367dea2f..ffb24321da 100644 --- a/tests/qemuxml2argvdata/clock-hpet-off.args +++ b/tests/qemuxml2argvdata/clock-hpet-off.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/clock-localtime-basis-localtime.args b/= tests/qemuxml2argvdata/clock-localtime-basis-localtime.args index 888f7a42da..7bf5261f52 100644 --- a/tests/qemuxml2argvdata/clock-localtime-basis-localtime.args +++ b/tests/qemuxml2argvdata/clock-localtime-basis-localtime.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/clock-localtime.args b/tests/qemuxml2ar= gvdata/clock-localtime.args index 33bd4477f8..6880264ded 100644 --- a/tests/qemuxml2argvdata/clock-localtime.args +++ b/tests/qemuxml2argvdata/clock-localtime.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/clock-utc.args b/tests/qemuxml2argvdata= /clock-utc.args index 6757d848a3..44ba322eb1 100644 --- a/tests/qemuxml2argvdata/clock-utc.args +++ b/tests/qemuxml2argvdata/clock-utc.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/clock-variable.args b/tests/qemuxml2arg= vdata/clock-variable.args index ae49fc2325..643b74d6bf 100644 --- a/tests/qemuxml2argvdata/clock-variable.args +++ b/tests/qemuxml2argvdata/clock-variable.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/console-compat-auto.args b/tests/qemuxm= l2argvdata/console-compat-auto.args index cac821d5b9..40f70e5c9d 100644 --- a/tests/qemuxml2argvdata/console-compat-auto.args +++ b/tests/qemuxml2argvdata/console-compat-auto.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/console-compat-chardev.args b/tests/qem= uxml2argvdata/console-compat-chardev.args index cac821d5b9..40f70e5c9d 100644 --- a/tests/qemuxml2argvdata/console-compat-chardev.args +++ b/tests/qemuxml2argvdata/console-compat-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/console-compat.args b/tests/qemuxml2arg= vdata/console-compat.args index 101811a732..dc9a254997 100644 --- a/tests/qemuxml2argvdata/console-compat.args +++ b/tests/qemuxml2argvdata/console-compat.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 diff --git a/tests/qemuxml2argvdata/console-virtio-many.args b/tests/qemuxm= l2argvdata/console-virtio-many.args index 20af473dca..3e0ee28863 100644 --- a/tests/qemuxml2argvdata/console-virtio-many.args +++ b/tests/qemuxml2argvdata/console-virtio-many.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.0,addr=3D0x3 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -chardev pty,id=3Dcharconsole1 \ diff --git a/tests/qemuxml2argvdata/console-virtio.args b/tests/qemuxml2arg= vdata/console-virtio.args index 63741346e9..5fb562a7f3 100644 --- a/tests/qemuxml2argvdata/console-virtio.args +++ b/tests/qemuxml2argvdata/console-virtio.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.0,addr=3D0x3 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharconsole0 \ -device virtconsole,chardev=3Dcharconsole0,id=3Dconsole0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/controller-order.args b/tests/qemuxml2a= rgvdata/controller-order.args index 6bb4942223..f151ef1637 100644 --- a/tests/qemuxml2argvdata/controller-order.args +++ b/tests/qemuxml2argvdata/controller-order.args @@ -28,8 +28,8 @@ aio=3Dnative \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x5,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0,bootindex=3D1 \ -drive file=3D/tmp/Fedora-17-x86_64-Live-Desktop.iso,format=3Draw,if=3Dnon= e,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:4d:4b:19= ,bus=3Dpci.0,\ addr=3D0x3,bootindex=3D2 \ diff --git a/tests/qemuxml2argvdata/cpu-host-passthrough-features.args b/te= sts/qemuxml2argvdata/cpu-host-passthrough-features.args index 65248988e6..dc88596025 100644 --- a/tests/qemuxml2argvdata/cpu-host-passthrough-features.args +++ b/tests/qemuxml2argvdata/cpu-host-passthrough-features.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/cputune-zero-shares.args b/tests/qemuxm= l2argvdata/cputune-zero-shares.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/cputune-zero-shares.args +++ b/tests/qemuxml2argvdata/cputune-zero-shares.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/cputune.args b/tests/qemuxml2argvdata/c= putune.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/cputune.args +++ b/tests/qemuxml2argvdata/cputune.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/debug-threads.args b/tests/qemuxml2argv= data/debug-threads.args index e01dda1e40..03bb5b57b9 100644 --- a/tests/qemuxml2argvdata/debug-threads.args +++ b/tests/qemuxml2argvdata/debug-threads.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-aio.args b/tests/qemuxml2argvdata/= disk-aio.args index d256b1fecc..bab4191125 100644 --- a/tests/qemuxml2argvdata/disk-aio.args +++ b/tests/qemuxml2argvdata/disk-aio.args @@ -23,9 +23,8 @@ server,nowait \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0,\ cache=3Dnone,aio=3Dnative \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don,aio=3Dthreads \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don,aio=3Dthreads \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-boot-cdrom.args b/tests/qemuxml2ar= gvdata/disk-boot-cdrom.args index 92e0fcd03c..5ad698eb27 100644 --- a/tests/qemuxml2argvdata/disk-boot-cdrom.args +++ b/tests/qemuxml2argvdata/disk-boot-cdrom.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/disk-boot-disk.args b/tests/qemuxml2arg= vdata/disk-boot-disk.args index 853acfd44c..e912203945 100644 --- a/tests/qemuxml2argvdata/disk-boot-disk.args +++ b/tests/qemuxml2argvdata/disk-boot-disk.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 diff --git a/tests/qemuxml2argvdata/disk-cdrom-network.args b/tests/qemuxml= 2argvdata/disk-cdrom-network.args index 2b5186d12c..f8803754e0 100644 --- a/tests/qemuxml2argvdata/disk-cdrom-network.args +++ b/tests/qemuxml2argvdata/disk-cdrom-network.args @@ -21,16 +21,15 @@ server,nowait \ -no-shutdown \ -usb \ -drive file=3Dftp://host.name:21/url/path/file.iso,format=3Draw,if=3Dnone,\ -id=3Ddrive-ide0-0-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-0-0,readonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3Dftps://host.name:990/url/path/file.iso,format=3Draw,if=3Dnon= e,\ -id=3Ddrive-ide0-0-1,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +id=3Ddrive-ide0-0-1,readonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -drive file=3Dhttps://host.name:443/url/path/file.iso,format=3Draw,if=3Dno= ne,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3Dtftp://host.name:69/url/path/file.iso,format=3Draw,if=3Dnone= ,\ -id=3Ddrive-ide0-1-1,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-= 1 \ +id=3Ddrive-ide0-1-1,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-cdrom-tray.args b/tests/qemuxml2ar= gvdata/disk-cdrom-tray.args index 15bbeb4a60..a928de4cbe 100644 --- a/tests/qemuxml2argvdata/disk-cdrom-tray.args +++ b/tests/qemuxml2argvdata/disk-cdrom-tray.args @@ -27,9 +27,8 @@ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ --drive if=3Dnone,id=3Ddrive-ide0-1-1,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-= 1 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ +-drive if=3Dnone,id=3Ddrive-ide0-1-1,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-cdrom.args b/tests/qemuxml2argvdat= a/disk-cdrom.args index a9f60aa477..5c5620b99f 100644 --- a/tests/qemuxml2argvdata/disk-cdrom.args +++ b/tests/qemuxml2argvdata/disk-cdrom.args @@ -22,12 +22,10 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-1,me= dia=3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ --drive if=3Dnone,id=3Ddrive-ide0-1-0,media=3Dcdrom \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ --drive if=3Dnone,id=3Ddrive-ide0-1-1,media=3Dcdrom \ --device ide-drive,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ +-drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-1,re= adonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ +-drive if=3Dnone,id=3Ddrive-ide0-1-0 \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ +-drive if=3Dnone,id=3Ddrive-ide0-1-1 \ +-device ide-cd,bus=3Dide.1,unit=3D1,drive=3Ddrive-ide0-1-1,id=3Dide0-1-1 diff --git a/tests/qemuxml2argvdata/disk-copy_on_read.args b/tests/qemuxml2= argvdata/disk-copy_on_read.args index 1af7725579..f5e62e99b5 100644 --- a/tests/qemuxml2argvdata/disk-copy_on_read.args +++ b/tests/qemuxml2argvdata/disk-copy_on_read.args @@ -28,9 +28,8 @@ id=3Ddrive-virtio-disk0,copy-on-read=3Don \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-vir= tio-disk0,\ id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,tx=3Dbh,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:= e5:48:58,\ bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/disk-detect-zeroes.args b/tests/qemuxml= 2argvdata/disk-detect-zeroes.args index 72e28c18d9..3541d2100f 100644 --- a/tests/qemuxml2argvdata/disk-detect-zeroes.args +++ b/tests/qemuxml2argvdata/disk-detect-zeroes.args @@ -27,7 +27,6 @@ id=3Ddrive-virtio-disk0,discard=3Dunmap,detect-zeroes=3Du= nmap \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don,discard=3Dignore,detect-ze= roes=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don,discard=3Dignore,detect-zeroes=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-discard.args b/tests/qemuxml2argvd= ata/disk-discard.args index 8e1422b50f..b093c2a694 100644 --- a/tests/qemuxml2argvdata/disk-discard.args +++ b/tests/qemuxml2argvdata/disk-discard.args @@ -27,7 +27,6 @@ id=3Ddrive-virtio-disk0,discard=3Dunmap \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don,discard=3Dignore \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don,discard=3Dignore \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-error-policy.args b/tests/qemuxml2= argvdata/disk-error-policy.args index c4e1d9a68b..66ccf09f9c 100644 --- a/tests/qemuxml2argvdata/disk-error-policy.args +++ b/tests/qemuxml2argvdata/disk-error-policy.args @@ -23,11 +23,10 @@ server,nowait \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0,\ werror=3Dstop,rerror=3Dstop,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-1,\ werror=3Denospc,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -drive file=3D/dev/HostVG/QEMUGuest3,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-1-0,\ werror=3Dreport,rerror=3Dignore,cache=3Dnone \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 +-device ide-hd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 diff --git a/tests/qemuxml2argvdata/disk-floppy-tray.args b/tests/qemuxml2a= rgvdata/disk-floppy-tray.args index 25138661e2..cc64a09e74 100644 --- a/tests/qemuxml2argvdata/disk-floppy-tray.args +++ b/tests/qemuxml2argvdata/disk-floppy-tray.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/fd0,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0 \ -drive if=3Dnone,id=3Ddrive-fdc0-0-1 \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ diff --git a/tests/qemuxml2argvdata/disk-floppy.args b/tests/qemuxml2argvda= ta/disk-floppy.args index a7cd66af42..432549b85f 100644 --- a/tests/qemuxml2argvdata/disk-floppy.args +++ b/tests/qemuxml2argvdata/disk-floppy.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/fd0,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0 \ -drive file=3D/tmp/firmware.img,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-1= \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ diff --git a/tests/qemuxml2argvdata/disk-fmt-qcow.args b/tests/qemuxml2argv= data/disk-fmt-qcow.args index c627d284ee..154f7c15e6 100644 --- a/tests/qemuxml2argvdata/disk-fmt-qcow.args +++ b/tests/qemuxml2argvdata/disk-fmt-qcow.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 diff --git a/tests/qemuxml2argvdata/disk-geometry.args b/tests/qemuxml2argv= data/disk-geometry.args index be864f15b1..e377244cde 100644 --- a/tests/qemuxml2argvdata/disk-geometry.args +++ b/tests/qemuxml2argvdata/disk-geometry.args @@ -22,6 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1,cyls=3D16383,heads=3D16,secs=3D63,bios-chs-trans=3Dlba \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1,\ +cyls=3D16383,heads=3D16,secs=3D63,bios-chs-trans=3Dlba \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-ioeventfd.args b/tests/qemuxml2arg= vdata/disk-ioeventfd.args index d51b972a5f..c7a028006c 100644 --- a/tests/qemuxml2argvdata/disk-ioeventfd.args +++ b/tests/qemuxml2argvdata/disk-ioeventfd.args @@ -28,9 +28,8 @@ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,ioeventfd=3Don,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,\ drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,tx=3Dbh,ioeventfd=3Doff,netdev=3Dhostnet0,id=3Dnet0= ,\ mac=3D52:54:00:e5:48:58,bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/disk-iscsi.args b/tests/qemuxml2argvdat= a/disk-iscsi.args index 036f2b47ac..2b889c8f9a 100644 --- a/tests/qemuxml2argvdata/disk-iscsi.args +++ b/tests/qemuxml2argvdata/disk-iscsi.args @@ -24,5 +24,4 @@ server,nowait \ -drive file=3D/dev/disk/by-path/ip-192.168.44.1:\ 3260-iscsi-iqn.2011-02.lan.hdserver:hydrar-desktop.win7vm-lun-0,format=3Dr= aw,\ if=3Dnone,id=3Ddrive-ide0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/disk-network-sheepdog.args b/tests/qemu= xml2argvdata/disk-network-sheepdog.args index 0a848147a5..da42030f79 100644 --- a/tests/qemuxml2argvdata/disk-network-sheepdog.args +++ b/tests/qemuxml2argvdata/disk-network-sheepdog.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMU,,Guest,,,,1,format=3Draw,if=3Dnone,id=3Ddri= ve-ide0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3Dsheepdog:example.org:6000:image,,with,,commas,format=3Draw,i= f=3Dnone,\ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-virtio-disk0,\ diff --git a/tests/qemuxml2argvdata/disk-no-boot.args b/tests/qemuxml2argvd= ata/disk-no-boot.args index 048dc71337..f461a19091 100644 --- a/tests/qemuxml2argvdata/disk-no-boot.args +++ b/tests/qemuxml2argvdata/disk-no-boot.args @@ -22,12 +22,10 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D2 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D2 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -drive file=3D/dev/fd0,format=3Draw,if=3Dnone,id=3Ddrive-fdc0-0-0 \ -global isa-fdc.driveA=3Ddrive-fdc0-0-0 \ -global isa-fdc.bootindexA=3D3 diff --git a/tests/qemuxml2argvdata/disk-order.args b/tests/qemuxml2argvdat= a/disk-order.args index 4a811ed87a..f798280a57 100644 --- a/tests/qemuxml2argvdata/disk-order.args +++ b/tests/qemuxml2argvdata/disk-order.args @@ -22,11 +22,10 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3D/tmp/data.img,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0= \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-vir= tio-disk0,\ id=3Dvirtio-disk0 \ diff --git a/tests/qemuxml2argvdata/disk-readonly-disk.args b/tests/qemuxml= 2argvdata/disk-readonly-disk.args index dcc3c01b0e..75c215e95a 100644 --- a/tests/qemuxml2argvdata/disk-readonly-disk.args +++ b/tests/qemuxml2argvdata/disk-readonly-disk.args @@ -22,9 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ --drive file=3D/dev/sr0,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,media=3D= cdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ +-drive file=3D/dev/sr0,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1-0,readonly= =3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-sata-device.args b/tests/qemuxml2a= rgvdata/disk-sata-device.args index 5d99b16ac1..a081ef1e69 100644 --- a/tests/qemuxml2argvdata/disk-sata-device.args +++ b/tests/qemuxml2argvdata/disk-sata-device.args @@ -23,5 +23,5 @@ server,nowait \ -device ahci,id=3Dsata0,bus=3Dpci.0,addr=3D0x3 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dsata0.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,boo= tindex=3D1 \ +-device ide-hd,bus=3Dsata0.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootin= dex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/disk-serial.args b/tests/qemuxml2argvda= ta/disk-serial.args index 834cffab13..3455308d2a 100644 --- a/tests/qemuxml2argvdata/disk-serial.args +++ b/tests/qemuxml2argvdata/disk-serial.args @@ -22,10 +22,10 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-1 \ --device 'ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0= -1,\ -bootindex=3D1,serial=3D\ \ WD-WMAP9A966149' \ +-device 'ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1,= bootindex=3D1,\ +serial=3D\ \ WD-WMAP9A966149' \ -drive file=3D/dev/HostVG/AllSerialChars,format=3Draw,if=3Dnone,id=3Ddrive= -ide0-0-2 \ --device 'ide-drive,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0= -2,\ +-device 'ide-hd,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0-2,\ serial=3DabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_\= .+' \ -drive file=3D/some/file,format=3Draw,if=3Dsd,index=3D0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-snapshot.args b/tests/qemuxml2argv= data/disk-snapshot.args index 4ea0603c7c..b35d6b8cf5 100644 --- a/tests/qemuxml2argvdata/disk-snapshot.args +++ b/tests/qemuxml2argvdata/disk-snapshot.args @@ -23,12 +23,11 @@ server,nowait \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-0-0,\ cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest3,format=3Dqcow2,if=3Dnone,id=3Ddrive-i= de0-2-0,\ cache=3Dnone \ --device ide-drive,bus=3Dide.2,unit=3D0,drive=3Ddrive-ide0-2-0,id=3Dide0-2-= 0 \ +-device ide-hd,bus=3Dide.2,unit=3D0,drive=3Ddrive-ide0-2-0,id=3Dide0-2-0 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-source-pool-mode.args b/tests/qemu= xml2argvdata/disk-source-pool-mode.args index e8d9aacd77..90165087de 100644 --- a/tests/qemuxml2argvdata/disk-source-pool-mode.args +++ b/tests/qemuxml2argvdata/disk-source-pool-mode.args @@ -22,15 +22,14 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/some/block/device/unit:0:0:1,if=3Dnone,id=3Ddrive-ide0-0-1,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -drive file=3Discsi://iscsi.example.com:3260/demo-target/2,if=3Dnone,\ -id=3Ddrive-ide0-0-2,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0-= 2 \ +id=3Ddrive-ide0-0-2,readonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0-2 \ -drive file=3D/tmp/idedisk.img,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-3 \ --device ide-drive,bus=3Dide.0,unit=3D3,drive=3Ddrive-ide0-0-3,id=3Dide0-0-= 3,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D3,drive=3Ddrive-ide0-0-3,id=3Dide0-0-3,b= ootindex=3D1 \ -drive file=3Discsi://iscsi.example.com:3260/demo-target/3,if=3Dnone,\ -id=3Ddrive-ide0-0-4,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D4,drive=3Ddrive-ide0-0-4,id=3Dide0-0-= 4 \ +id=3Ddrive-ide0-0-4,readonly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D4,drive=3Ddrive-ide0-0-4,id=3Dide0-0-4 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-source-pool.args b/tests/qemuxml2a= rgvdata/disk-source-pool.args index 49dc853bcd..9dc71360c4 100644 --- a/tests/qemuxml2argvdata/disk-source-pool.args +++ b/tests/qemuxml2argvdata/disk-source-pool.args @@ -21,12 +21,10 @@ server,nowait \ -no-shutdown \ -no-acpi \ -usb \ --drive file=3D/some/block/device/cdrom,if=3Dnone,id=3Ddrive-ide0-0-1,media= =3Dcdrom,\ -readonly=3Don \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ --drive if=3Dnone,id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +-drive file=3D/some/block/device/cdrom,if=3Dnone,id=3Ddrive-ide0-0-1,reado= nly=3Don \ +-device ide-cd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ +-drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3D/tmp/idedisk.img,format=3Draw,if=3Dnone,id=3Ddrive-ide0-0-2 \ --device ide-drive,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0-= 2,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D2,drive=3Ddrive-ide0-0-2,id=3Dide0-0-2,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-usb-device-removable.args b/tests/= qemuxml2argvdata/disk-usb-device-removable.args index 9ead12b770..7c5347bcc0 100644 --- a/tests/qemuxml2argvdata/disk-usb-device-removable.args +++ b/tests/qemuxml2argvdata/disk-usb-device-removable.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/tmp/usbdisk.img,format=3Draw,if=3Dnone,id=3Ddrive-usb-disk0= \ -device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk0,id=3Dusb-= disk0,\ removable=3Don \ diff --git a/tests/qemuxml2argvdata/disk-usb-device.args b/tests/qemuxml2ar= gvdata/disk-usb-device.args index 2460426d08..724a75f8d1 100644 --- a/tests/qemuxml2argvdata/disk-usb-device.args +++ b/tests/qemuxml2argvdata/disk-usb-device.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/tmp/usbdisk.img,format=3Draw,if=3Dnone,id=3Ddrive-usb-disk0= \ -device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk0,id=3Dusb-= disk0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/disk-virtio.args b/tests/qemuxml2argvda= ta/disk-virtio.args index 66804a2025..901fe7acdf 100644 --- a/tests/qemuxml2argvdata/disk-virtio.args +++ b/tests/qemuxml2argvdata/disk-virtio.args @@ -22,11 +22,10 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-1-0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3D/tmp/data.img,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0= \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0 \ diff --git a/tests/qemuxml2argvdata/event_idx.args b/tests/qemuxml2argvdata= /event_idx.args index 12ce551014..f4c0304c15 100644 --- a/tests/qemuxml2argvdata/event_idx.args +++ b/tests/qemuxml2argvdata/event_idx.args @@ -28,9 +28,8 @@ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,event_idx=3Don,scsi=3Doff,bus=3Dpci.0,addr=3D0x4,\ drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,event_idx=3Doff,netdev=3Dhostnet0,id=3Dnet0,\ mac=3D52:54:00:e5:48:58,bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/fips-enabled.args b/tests/qemuxml2argvd= ata/fips-enabled.args index ae46e99825..1fcefbbf7f 100644 --- a/tests/qemuxml2argvdata/fips-enabled.args +++ b/tests/qemuxml2argvdata/fips-enabled.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/fs9p.args b/tests/qemuxml2argvdata/fs9p= .args index 0067225647..5d9e7d3ad0 100644 --- a/tests/qemuxml2argvdata/fs9p.args +++ b/tests/qemuxml2argvdata/fs9p.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -fsdev local,security_model=3Dpassthrough,id=3Dfsdev-fs0,path=3D/export/to= /guest \ -device virtio-9p-pci,id=3Dfs0,fsdev=3Dfsdev-fs0,mount_tag=3D/import/from/= host,\ bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/graphics-egl-headless.args b/tests/qemu= xml2argvdata/graphics-egl-headless.args index 6428dbb121..4a41ce33fe 100644 --- a/tests/qemuxml2argvdata/graphics-egl-headless.args +++ b/tests/qemuxml2argvdata/graphics-egl-headless.args @@ -20,7 +20,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -display egl-headless \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-sdl-fullscreen.args b/tests/qe= muxml2argvdata/graphics-sdl-fullscreen.args index f21e8bb88a..01833337dd 100644 --- a/tests/qemuxml2argvdata/graphics-sdl-fullscreen.args +++ b/tests/qemuxml2argvdata/graphics-sdl-fullscreen.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -full-screen \ -display sdl \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-sdl.args b/tests/qemuxml2argvd= ata/graphics-sdl.args index 718c1bdbb0..8896af8639 100644 --- a/tests/qemuxml2argvdata/graphics-sdl.args +++ b/tests/qemuxml2argvdata/graphics-sdl.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -display sdl \ -vga std diff --git a/tests/qemuxml2argvdata/graphics-spice-agent-file-xfer.args b/t= ests/qemuxml2argvdata/graphics-spice-agent-file-xfer.args index 7c428bd70b..1f6dac2431 100644 --- a/tests/qemuxml2argvdata/graphics-spice-agent-file-xfer.args +++ b/tests/qemuxml2argvdata/graphics-spice-agent-file-xfer.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,tls-port=3D5904,addr=3D127.0.0.1,x509-dir=3D/etc/pki/li= bvirt-spice,\ tls-channel=3Dmain,plaintext-channel=3Dinputs,disable-agent-file-xfer \ -vga qxl \ diff --git a/tests/qemuxml2argvdata/graphics-spice-agentmouse.args b/tests/= qemuxml2argvdata/graphics-spice-agentmouse.args index 4011133ca1..9eae477c85 100644 --- a/tests/qemuxml2argvdata/graphics-spice-agentmouse.args +++ b/tests/qemuxml2argvdata/graphics-spice-agentmouse.args @@ -22,8 +22,7 @@ server,nowait \ -device virtio-serial-pci,id=3Dvirtio-serial1,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev spicevmc,id=3Dcharchannel0,name=3Dvdagent \ -device virtserialport,bus=3Dvirtio-serial1.0,nr=3D3,chardev=3Dcharchannel= 0,\ id=3Dchannel0,name=3Dcom.redhat.spice.0 \ diff --git a/tests/qemuxml2argvdata/graphics-spice-compression.args b/tests= /qemuxml2argvdata/graphics-spice-compression.args index c3d0318695..5c81f55571 100644 --- a/tests/qemuxml2argvdata/graphics-spice-compression.args +++ b/tests/qemuxml2argvdata/graphics-spice-compression.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,tls-port=3D5904,addr=3D127.0.0.1,x509-dir=3D/etc/pki/li= bvirt-spice,\ image-compression=3Dauto_glz,jpeg-wan-compression=3Dauto,\ zlib-glz-wan-compression=3Dauto,playback-compression=3Don,streaming-video= =3Dfilter \ diff --git a/tests/qemuxml2argvdata/graphics-spice-egl-headless.args b/test= s/qemuxml2argvdata/graphics-spice-egl-headless.args index 60eba443f2..c2297bc6cc 100644 --- a/tests/qemuxml2argvdata/graphics-spice-egl-headless.args +++ b/tests/qemuxml2argvdata/graphics-spice-egl-headless.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,addr=3D127.0.0.1 \ -display egl-headless \ -vga qxl \ diff --git a/tests/qemuxml2argvdata/graphics-spice-qxl-vga.args b/tests/qem= uxml2argvdata/graphics-spice-qxl-vga.args index 250283dba7..bc12f64a54 100644 --- a/tests/qemuxml2argvdata/graphics-spice-qxl-vga.args +++ b/tests/qemuxml2argvdata/graphics-spice-qxl-vga.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,tls-port=3D5904,addr=3D127.0.0.1,x509-dir=3D/etc/pki/li= bvirt-spice,\ tls-channel=3Dmain,plaintext-channel=3Dinputs \ -vga qxl \ diff --git a/tests/qemuxml2argvdata/graphics-spice-sasl.args b/tests/qemuxm= l2argvdata/graphics-spice-sasl.args index eb6fd82563..95b41ab501 100644 --- a/tests/qemuxml2argvdata/graphics-spice-sasl.args +++ b/tests/qemuxml2argvdata/graphics-spice-sasl.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,tls-port=3D5904,addr=3D127.0.0.1,sasl,\ x509-dir=3D/etc/pki/libvirt-spice,tls-channel=3Ddefault \ -vga qxl \ diff --git a/tests/qemuxml2argvdata/graphics-spice-timeout.args b/tests/qem= uxml2argvdata/graphics-spice-timeout.args index 6d62584892..9e7bcd4e33 100644 --- a/tests/qemuxml2argvdata/graphics-spice-timeout.args +++ b/tests/qemuxml2argvdata/graphics-spice-timeout.args @@ -28,9 +28,8 @@ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x4,drive=3Ddrive-virtio-disk0,\ id=3Dvirtio-disk0,bootindex=3D2 \ -drive file=3D/var/lib/libvirt/Fedora-14-x86_64-Live-KDE.iso,format=3Draw,= if=3Dnone,\ -id=3Ddrive-ide0-1-0,media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0,\ -bootindex=3D1 \ +id=3Ddrive-ide0-1-0,readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0,b= ootindex=3D1 \ -netdev tap,fd=3D3,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:71:70:89,bus=3D= pci.0,\ addr=3D0x7 \ diff --git a/tests/qemuxml2argvdata/graphics-spice.args b/tests/qemuxml2arg= vdata/graphics-spice.args index 50fa4c2504..c2d31af8cd 100644 --- a/tests/qemuxml2argvdata/graphics-spice.args +++ b/tests/qemuxml2argvdata/graphics-spice.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D5903,tls-port=3D5904,addr=3D127.0.0.1,x509-dir=3D/etc/pki/li= bvirt-spice,\ tls-channel=3Ddefault,tls-channel=3Dmain,plaintext-channel=3Dinputs,\ image-compression=3Dauto_glz,jpeg-wan-compression=3Dauto,\ diff --git a/tests/qemuxml2argvdata/graphics-vnc-auto-socket-cfg.args b/tes= ts/qemuxml2argvdata/graphics-vnc-auto-socket-cfg.args index 87f80d428a..1a5e2b565c 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-auto-socket-cfg.args +++ b/tests/qemuxml2argvdata/graphics-vnc-auto-socket-cfg.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc unix:/tmp/lib/domain--1-QEMUGuest1/vnc.sock \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc-egl-headless.args b/tests/= qemuxml2argvdata/graphics-vnc-egl-headless.args index bb615da859..bb8fe4e0df 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-egl-headless.args +++ b/tests/qemuxml2argvdata/graphics-vnc-egl-headless.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc '[2001:1:2:3:4:5:1234:1234]:3' \ -display egl-headless \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc-no-listen-attr.args b/test= s/qemuxml2argvdata/graphics-vnc-no-listen-attr.args index 7dd2865305..122d973459 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-no-listen-attr.args +++ b/tests/qemuxml2argvdata/graphics-vnc-no-listen-attr.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc '[2001:1:2:3:4:5:1234:1234]:3' \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc-policy.args b/tests/qemuxm= l2argvdata/graphics-vnc-policy.args index 96bfca2315..9b0571c198 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-policy.args +++ b/tests/qemuxml2argvdata/graphics-vnc-policy.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc '[::]:59630,share=3Dallow-exclusive' \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc-remove-generated-socket.ar= gs b/tests/qemuxml2argvdata/graphics-vnc-remove-generated-socket.args index 1e2230af0d..f295c42d72 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-remove-generated-socket.args +++ b/tests/qemuxml2argvdata/graphics-vnc-remove-generated-socket.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc 127.0.0.1:0 \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc-sasl.args b/tests/qemuxml2= argvdata/graphics-vnc-sasl.args index 302bc5c636..9d41bea2bc 100644 --- a/tests/qemuxml2argvdata/graphics-vnc-sasl.args +++ b/tests/qemuxml2argvdata/graphics-vnc-sasl.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc 127.0.0.1:3,sasl \ -vga cirrus diff --git a/tests/qemuxml2argvdata/graphics-vnc.args b/tests/qemuxml2argvd= ata/graphics-vnc.args index 7dd2865305..122d973459 100644 --- a/tests/qemuxml2argvdata/graphics-vnc.args +++ b/tests/qemuxml2argvdata/graphics-vnc.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc '[2001:1:2:3:4:5:1234:1234]:3' \ -vga cirrus diff --git a/tests/qemuxml2argvdata/hostdev-pci-address-device.args b/tests= /qemuxml2argvdata/hostdev-pci-address-device.args index 149826d4c9..b72d7591bc 100644 --- a/tests/qemuxml2argvdata/hostdev-pci-address-device.args +++ b/tests/qemuxml2argvdata/hostdev-pci-address-device.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device pci-assign,host=3D06:12.5,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hostdev-pci-address.args b/tests/qemuxm= l2argvdata/hostdev-pci-address.args index 4060480e0b..8e50f2345e 100644 --- a/tests/qemuxml2argvdata/hostdev-pci-address.args +++ b/tests/qemuxml2argvdata/hostdev-pci-address.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device pci-assign,host=3D06:12.5,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi-auth.args b/test= s/qemuxml2argvdata/hostdev-scsi-lsi-iscsi-auth.args index 9b1610376d..01215efeb3 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi-auth.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi-auth.args @@ -23,8 +23,7 @@ server,nowait \ -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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3Discsi://myname:AQCVn5hO6HzFAhAAq0NCv8jtJcIcE+HOBlMQ1A@exampl= e.org:\ 3260/iqn.1992-01.com.example%3Astorage/1,if=3Dnone,format=3Draw,id=3Ddrive= -hostdev0 \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D4,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args b/tests/qem= uxml2argvdata/hostdev-scsi-lsi-iscsi.args index 8576041150..e7b89551e6 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi-iscsi.args @@ -23,8 +23,7 @@ server,nowait \ -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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-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 \ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-lsi.args b/tests/qemuxml2a= rgvdata/hostdev-scsi-lsi.args index f2048fe920..344a4b1b70 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-lsi.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-lsi.args @@ -23,8 +23,7 @@ server,nowait \ -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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev0 \ -device scsi-generic,bus=3Dscsi0.0,scsi-id=3D7,drive=3Ddrive-hostdev0,id= =3Dhostdev0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hostdev-scsi-readonly.args b/tests/qemu= xml2argvdata/hostdev-scsi-readonly.args index 0d5a0d327d..74899724cf 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-readonly.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-readonly.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-scsi-pci,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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev0,readonly= =3Don \ -device scsi-generic,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D8,\ drive=3Ddrive-hostdev0,id=3Dhostdev0 \ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci.args b/test= s/qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci.args index a3a63cf5e8..da53ef2b19 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-scsi-pci,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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device vhost-scsi-pci,wwpn=3Dnaa.5123456789abcde0,vhostfd=3D3,id=3Dhostde= v0,\ bus=3Dpci.0,addr=3D0x5 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi-auth.args b/t= ests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi-auth.args index c7b420bff9..8cdde3dcce 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi-auth.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi-auth.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-scsi-pci,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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3Discsi://myname:AQCVn5hO6HzFAhAAq0NCv8jtJcIcE+HOBlMQ1A@exampl= e.org:\ 3260/iqn.1992-01.com.example%3Astorage/1,if=3Dnone,format=3Draw,id=3Ddrive= -hostdev0 \ -device scsi-generic,bus=3Dscsi0.0,channel=3D0,scsi-id=3D2,lun=3D4,\ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi.args b/tests/= qemuxml2argvdata/hostdev-scsi-virtio-iscsi.args index 8e633a3170..c464fbea49 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-virtio-iscsi.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-scsi-pci,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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-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,channel=3D0,scsi-id=3D2,lun=3D4,\ diff --git a/tests/qemuxml2argvdata/hostdev-scsi-virtio-scsi.args b/tests/q= emuxml2argvdata/hostdev-scsi-virtio-scsi.args index 13a1e9fe95..2e36e6f87f 100644 --- a/tests/qemuxml2argvdata/hostdev-scsi-virtio-scsi.args +++ b/tests/qemuxml2argvdata/hostdev-scsi-virtio-scsi.args @@ -23,8 +23,7 @@ server,nowait \ -device virtio-scsi-pci,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-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/sg0,if=3Dnone,format=3Draw,id=3Ddrive-hostdev0 \ -device scsi-generic,bus=3Dscsi0.0,channel=3D0,scsi-id=3D4,lun=3D8,\ drive=3Ddrive-hostdev0,id=3Dhostdev0 \ diff --git a/tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args b/= tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args index 367446312b..d9c29aab75 100644 --- a/tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args +++ b/tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args @@ -22,7 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0 \ -device usb-host,hostbus=3D14,hostaddr=3D6,id=3Dhostdev0,bootindex=3D1,bus= =3Dusb.0,\ port=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/hostdev-usb-address-device.args b/tests= /qemuxml2argvdata/hostdev-usb-address-device.args index 1c8684aad8..43f03aa835 100644 --- a/tests/qemuxml2argvdata/hostdev-usb-address-device.args +++ b/tests/qemuxml2argvdata/hostdev-usb-address-device.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-host,hostbus=3D14,hostaddr=3D6,id=3Dhostdev0,bus=3Dusb.0,port= =3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/hostdev-usb-address.args b/tests/qemuxm= l2argvdata/hostdev-usb-address.args index bd78ad48d2..3a8cf42dac 100644 --- a/tests/qemuxml2argvdata/hostdev-usb-address.args +++ b/tests/qemuxml2argvdata/hostdev-usb-address.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-host,hostbus=3D14,hostaddr=3D6,id=3Dhostdev0,bus=3Dusb.0,port= =3D1 diff --git a/tests/qemuxml2argvdata/hostdev-vfio-multidomain.args b/tests/q= emuxml2argvdata/hostdev-vfio-multidomain.args index 2e5afccc03..a18945c0a9 100644 --- a/tests/qemuxml2argvdata/hostdev-vfio-multidomain.args +++ b/tests/qemuxml2argvdata/hostdev-vfio-multidomain.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device vfio-pci,host=3D55aa:20:0f.3,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hostdev-vfio.args b/tests/qemuxml2argvd= ata/hostdev-vfio.args index 1cadf610d4..92cc15eef8 100644 --- a/tests/qemuxml2argvdata/hostdev-vfio.args +++ b/tests/qemuxml2argvdata/hostdev-vfio.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device vfio-pci,host=3D06:12.5,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/hugepages-memaccess.args b/tests/qemuxm= l2argvdata/hugepages-memaccess.args index da1aaf3183..030e7f31ef 100644 --- a/tests/qemuxml2argvdata/hugepages-memaccess.args +++ b/tests/qemuxml2argvdata/hugepages-memaccess.args @@ -42,6 +42,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/hugepages-memaccess2.args b/tests/qemux= ml2argvdata/hugepages-memaccess2.args index 4e7a48bc34..03667f28de 100644 --- a/tests/qemuxml2argvdata/hugepages-memaccess2.args +++ b/tests/qemuxml2argvdata/hugepages-memaccess2.args @@ -42,6 +42,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/hugepages-shared.args b/tests/qemuxml2a= rgvdata/hugepages-shared.args index 8c31db5fe7..30f27682de 100644 --- a/tests/qemuxml2argvdata/hugepages-shared.args +++ b/tests/qemuxml2argvdata/hugepages-shared.args @@ -38,6 +38,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/input-usbmouse-addr.args b/tests/qemuxm= l2argvdata/input-usbmouse-addr.args index 8a41a67b6c..92eb6c88f1 100644 --- a/tests/qemuxml2argvdata/input-usbmouse-addr.args +++ b/tests/qemuxml2argvdata/input-usbmouse-addr.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-mouse,id=3Dinput0,bus=3Dusb.0,port=3D2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/input-usbmouse.args b/tests/qemuxml2arg= vdata/input-usbmouse.args index f0e8627d1a..ecd81c02c5 100644 --- a/tests/qemuxml2argvdata/input-usbmouse.args +++ b/tests/qemuxml2argvdata/input-usbmouse.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-mouse,id=3Dinput0,bus=3Dusb.0,port=3D1 diff --git a/tests/qemuxml2argvdata/input-usbtablet.args b/tests/qemuxml2ar= gvdata/input-usbtablet.args index 6762ded434..038e4a3e8f 100644 --- a/tests/qemuxml2argvdata/input-usbtablet.args +++ b/tests/qemuxml2argvdata/input-usbtablet.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device usb-tablet,id=3Dinput0,bus=3Dusb.0,port=3D1 diff --git a/tests/qemuxml2argvdata/iothreads-disk.args b/tests/qemuxml2arg= vdata/iothreads-disk.args index 9f24233c09..8ec1faedae 100644 --- a/tests/qemuxml2argvdata/iothreads-disk.args +++ b/tests/qemuxml2argvdata/iothreads-disk.args @@ -24,8 +24,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/var/lib/libvirt/images/iothrtest1.img,format=3Draw,if=3Dnon= e,\ id=3Ddrive-virtio-disk1 \ -device virtio-blk-pci,iothread=3Diothread1,bus=3Dpci.0,addr=3D0x4,\ diff --git a/tests/qemuxml2argvdata/iothreads-ids-partial.args b/tests/qemu= xml2argvdata/iothreads-ids-partial.args index 2181810bc0..8edf72fdbd 100644 --- a/tests/qemuxml2argvdata/iothreads-ids-partial.args +++ b/tests/qemuxml2argvdata/iothreads-ids-partial.args @@ -26,5 +26,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/iothreads-ids.args b/tests/qemuxml2argv= data/iothreads-ids.args index b2803df02b..3473050326 100644 --- a/tests/qemuxml2argvdata/iothreads-ids.args +++ b/tests/qemuxml2argvdata/iothreads-ids.args @@ -24,5 +24,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/iothreads.args b/tests/qemuxml2argvdata= /iothreads.args index 487c00bdc1..39c934ec80 100644 --- a/tests/qemuxml2argvdata/iothreads.args +++ b/tests/qemuxml2argvdata/iothreads.args @@ -24,5 +24,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/kvm-pit-delay.args b/tests/qemuxml2argv= data/kvm-pit-delay.args index 01588e26ed..f430ac7060 100644 --- a/tests/qemuxml2argvdata/kvm-pit-delay.args +++ b/tests/qemuxml2argvdata/kvm-pit-delay.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/kvm-pit-discard.args b/tests/qemuxml2ar= gvdata/kvm-pit-discard.args index 0633c36c6a..867e5c2d31 100644 --- a/tests/qemuxml2argvdata/kvm-pit-discard.args +++ b/tests/qemuxml2argvdata/kvm-pit-discard.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/machine-aliases1.args b/tests/qemuxml2a= rgvdata/machine-aliases1.args index 7f3b21a1b3..4570f4684c 100644 --- a/tests/qemuxml2argvdata/machine-aliases1.args +++ b/tests/qemuxml2argvdata/machine-aliases1.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/machine-aliases2.args b/tests/qemuxml2a= rgvdata/machine-aliases2.args index 4fa5208425..e952b8c28f 100644 --- a/tests/qemuxml2argvdata/machine-aliases2.args +++ b/tests/qemuxml2argvdata/machine-aliases2.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/machine-core-off.args b/tests/qemuxml2a= rgvdata/machine-core-off.args index 6757d848a3..44ba322eb1 100644 --- a/tests/qemuxml2argvdata/machine-core-off.args +++ b/tests/qemuxml2argvdata/machine-core-off.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/machine-core-on.args b/tests/qemuxml2ar= gvdata/machine-core-on.args index 34fa867553..b5f453533a 100644 --- a/tests/qemuxml2argvdata/machine-core-on.args +++ b/tests/qemuxml2argvdata/machine-core-on.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/machine-vmport-opt.args b/tests/qemuxml= 2argvdata/machine-vmport-opt.args index 0ffd6552f4..4830deea57 100644 --- a/tests/qemuxml2argvdata/machine-vmport-opt.args +++ b/tests/qemuxml2argvdata/machine-vmport-opt.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/master-key.args b/tests/qemuxml2argvdat= a/master-key.args index 9b9a14aedd..1b0f9e3d6f 100644 --- a/tests/qemuxml2argvdata/master-key.args +++ b/tests/qemuxml2argvdata/master-key.args @@ -24,5 +24,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/memory-hotplug-dimm-addr.args b/tests/q= emuxml2argvdata/memory-hotplug-dimm-addr.args index c60343c915..5fd90dabb0 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-dimm-addr.args +++ b/tests/qemuxml2argvdata/memory-hotplug-dimm-addr.args @@ -29,6 +29,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/memory-hotplug-dimm.args b/tests/qemuxm= l2argvdata/memory-hotplug-dimm.args index 5e8fdb8b6a..4dd6c2a0a9 100644 --- a/tests/qemuxml2argvdata/memory-hotplug-dimm.args +++ b/tests/qemuxml2argvdata/memory-hotplug-dimm.args @@ -29,6 +29,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/memory-hotplug.args b/tests/qemuxml2arg= vdata/memory-hotplug.args index 0420e3753f..4d95efc713 100644 --- a/tests/qemuxml2argvdata/memory-hotplug.args +++ b/tests/qemuxml2argvdata/memory-hotplug.args @@ -23,6 +23,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/memtune-unlimited.args b/tests/qemuxml2= argvdata/memtune-unlimited.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/memtune-unlimited.args +++ b/tests/qemuxml2argvdata/memtune-unlimited.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/memtune.args b/tests/qemuxml2argvdata/m= emtune.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/memtune.args +++ b/tests/qemuxml2argvdata/memtune.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/migrate.args b/tests/qemuxml2argvdata/m= igrate.args index 27e142cb84..f633031860 100644 --- a/tests/qemuxml2argvdata/migrate.args +++ b/tests/qemuxml2argvdata/migrate.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -incoming tcp:10.0.0.1:5000 diff --git a/tests/qemuxml2argvdata/minimal-msg-timestamp.args b/tests/qemu= xml2argvdata/minimal-msg-timestamp.args index 6a449b287d..36a1d27074 100644 --- a/tests/qemuxml2argvdata/minimal-msg-timestamp.args +++ b/tests/qemuxml2argvdata/minimal-msg-timestamp.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/minimal-sandbox.args b/tests/qemuxml2ar= gvdata/minimal-sandbox.args index ea74510d6f..373f91141e 100644 --- a/tests/qemuxml2argvdata/minimal-sandbox.args +++ b/tests/qemuxml2argvdata/minimal-sandbox.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -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/minimal.args b/tests/qemuxml2argvdata/m= inimal.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/minimal.args +++ b/tests/qemuxml2argvdata/minimal.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/misc-acpi.args b/tests/qemuxml2argvdata= /misc-acpi.args index 9cf9a2ecdd..d714bfaba6 100644 --- a/tests/qemuxml2argvdata/misc-acpi.args +++ b/tests/qemuxml2argvdata/misc-acpi.args @@ -21,5 +21,4 @@ server,nowait \ -no-shutdown \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/misc-disable-s3.args b/tests/qemuxml2ar= gvdata/misc-disable-s3.args index 20a4233787..2aa8ff3c6a 100644 --- a/tests/qemuxml2argvdata/misc-disable-s3.args +++ b/tests/qemuxml2argvdata/misc-disable-s3.args @@ -23,5 +23,4 @@ server,nowait \ -global PIIX4_PM.disable_s3=3D1 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/misc-disable-suspends.args b/tests/qemu= xml2argvdata/misc-disable-suspends.args index 84ed0a6235..e420a2344f 100644 --- a/tests/qemuxml2argvdata/misc-disable-suspends.args +++ b/tests/qemuxml2argvdata/misc-disable-suspends.args @@ -24,5 +24,4 @@ server,nowait \ -global PIIX4_PM.disable_s4=3D1 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/misc-enable-s4.args b/tests/qemuxml2arg= vdata/misc-enable-s4.args index 0ad2dae258..adbba6befd 100644 --- a/tests/qemuxml2argvdata/misc-enable-s4.args +++ b/tests/qemuxml2argvdata/misc-enable-s4.args @@ -23,5 +23,4 @@ server,nowait \ -global PIIX4_PM.disable_s4=3D0 \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/misc-no-reboot.args b/tests/qemuxml2arg= vdata/misc-no-reboot.args index 79259e8ea3..5c927afd45 100644 --- a/tests/qemuxml2argvdata/misc-no-reboot.args +++ b/tests/qemuxml2argvdata/misc-no-reboot.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/misc-uuid.args b/tests/qemuxml2argvdata= /misc-uuid.args index 9cf9a2ecdd..d714bfaba6 100644 --- a/tests/qemuxml2argvdata/misc-uuid.args +++ b/tests/qemuxml2argvdata/misc-uuid.args @@ -21,5 +21,4 @@ server,nowait \ -no-shutdown \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/monitor-json.args b/tests/qemuxml2argvd= ata/monitor-json.args index c2262d1279..d46543a57e 100644 --- a/tests/qemuxml2argvdata/monitor-json.args +++ b/tests/qemuxml2argvdata/monitor-json.args @@ -22,6 +22,5 @@ path=3D/tmp/lib/domain--1-encryptdisk/monitor.sock,server= ,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/hda1,format=3Dqcow2,if=3Dnone,id=3Ddrive-ide0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/name-escape.args b/tests/qemuxml2argvda= ta/name-escape.args index d314ed409a..d0ccc01d21 100644 --- a/tests/qemuxml2argvdata/name-escape.args +++ b/tests/qemuxml2argvdata/name-escape.args @@ -28,8 +28,7 @@ bar=3D2/monitor.sock,server,nowait \ cache=3Dnone,throttling.bps-total=3D5000,throttling.iops-total=3D6000,\ throttling.bps-total-max=3D10000,throttling.iops-total-max=3D11000,\ throttling.group=3Dlibvirt_iotune_group1,,foo \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device ccid-card-emulated,backend=3Dcertificates,cert1=3Dcert1,,foo,cert2= =3Dcert2,\ cert3=3Dcert3,db=3D/etc/pki/nssdb,,foo,id=3Dsmartcard0,bus=3Dccid0.0 \ -chardev tty,id=3Dcharserial0,path=3D/dev/ttyS2,,foo \ diff --git a/tests/qemuxml2argvdata/net-client.args b/tests/qemuxml2argvdat= a/net-client.args index 2fbe0c6d8b..054064f0b2 100644 --- a/tests/qemuxml2argvdata/net-client.args +++ b/tests/qemuxml2argvdata/net-client.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev socket,connect=3D192.168.0.1:5558,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:8c:b9:05,bus=3D= pci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-eth-hostip.args b/tests/qemuxml2arg= vdata/net-eth-hostip.args index 34450eb64a..0a18fd7ae7 100644 --- a/tests/qemuxml2argvdata/net-eth-hostip.args +++ b/tests/qemuxml2argvdata/net-eth-hostip.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev tap,fd=3D3,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-eth-ifname.args b/tests/qemuxml2arg= vdata/net-eth-ifname.args index 34450eb64a..0a18fd7ae7 100644 --- a/tests/qemuxml2argvdata/net-eth-ifname.args +++ b/tests/qemuxml2argvdata/net-eth-ifname.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev tap,fd=3D3,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-eth-names.args b/tests/qemuxml2argv= data/net-eth-names.args index b321716a08..7d6f0e9578 100644 --- a/tests/qemuxml2argvdata/net-eth-names.args +++ b/tests/qemuxml2argvdata/net-eth-names.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev tap,fd=3D3,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-eth.args b/tests/qemuxml2argvdata/n= et-eth.args index 34450eb64a..0a18fd7ae7 100644 --- a/tests/qemuxml2argvdata/net-eth.args +++ b/tests/qemuxml2argvdata/net-eth.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev tap,fd=3D3,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-hostdev-bootorder.args b/tests/qemu= xml2argvdata/net-hostdev-bootorder.args index e632d9b195..f3c332b405 100644 --- a/tests/qemuxml2argvdata/net-hostdev-bootorder.args +++ b/tests/qemuxml2argvdata/net-hostdev-bootorder.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D2 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D2 \ -device pci-assign,host=3D03:07.1,id=3Dhostdev0,bootindex=3D1,bus=3Dpci.0,= addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-hostdev-multidomain.args b/tests/qe= muxml2argvdata/net-hostdev-multidomain.args index 2fffb95dee..5df24f5d18 100644 --- a/tests/qemuxml2argvdata/net-hostdev-multidomain.args +++ b/tests/qemuxml2argvdata/net-hostdev-multidomain.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device pci-assign,host=3D2424:21:1c.6,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x= 3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/net-hostdev-vfio-multidomain.args b/tes= ts/qemuxml2argvdata/net-hostdev-vfio-multidomain.args index 8a6611e042..6903d878d1 100644 --- a/tests/qemuxml2argvdata/net-hostdev-vfio-multidomain.args +++ b/tests/qemuxml2argvdata/net-hostdev-vfio-multidomain.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device vfio-pci,host=3D0021:de:1f.1,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/net-hostdev-vfio.args b/tests/qemuxml2a= rgvdata/net-hostdev-vfio.args index 739734ecce..d8a669b836 100644 --- a/tests/qemuxml2argvdata/net-hostdev-vfio.args +++ b/tests/qemuxml2argvdata/net-hostdev-vfio.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device vfio-pci,host=3D03:07.1,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/net-hostdev.args b/tests/qemuxml2argvda= ta/net-hostdev.args index e2c4e9059f..c9515b2671 100644 --- a/tests/qemuxml2argvdata/net-hostdev.args +++ b/tests/qemuxml2argvdata/net-hostdev.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device pci-assign,host=3D03:07.1,id=3Dhostdev0,bus=3Dpci.0,addr=3D0x3 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/net-mcast.args b/tests/qemuxml2argvdata= /net-mcast.args index 945c869c9f..43668f8839 100644 --- a/tests/qemuxml2argvdata/net-mcast.args +++ b/tests/qemuxml2argvdata/net-mcast.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev socket,mcast=3D192.0.0.1:5558,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:8c:b9:05,bus=3D= pci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-server.args b/tests/qemuxml2argvdat= a/net-server.args index 69cffb295d..06de02d698 100644 --- a/tests/qemuxml2argvdata/net-server.args +++ b/tests/qemuxml2argvdata/net-server.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev socket,listen=3D192.168.0.1:5558,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:8c:b9:05,bus=3D= pci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-udp.args b/tests/qemuxml2argvdata/n= et-udp.args index 08729a7b96..c3c32933d0 100644 --- a/tests/qemuxml2argvdata/net-udp.args +++ b/tests/qemuxml2argvdata/net-udp.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev socket,udp=3D192.168.10.1:5555,localaddr=3D192.168.10.1:5556,id=3D= hostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:8c:b9:05,bus=3D= pci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-user-addr.args b/tests/qemuxml2argv= data/net-user-addr.args index 9b4cecfcec..cb2f46d294 100644 --- a/tests/qemuxml2argvdata/net-user-addr.args +++ b/tests/qemuxml2argvdata/net-user-addr.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,net=3D172.17.2.0/24,ipv6-net=3D2001:db8:ac10:fd01::/64,id=3Dh= ostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-user.args b/tests/qemuxml2argvdata/= net-user.args index 071da4937f..c796031c37 100644 --- a/tests/qemuxml2argvdata/net-user.args +++ b/tests/qemuxml2argvdata/net-user.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3D= pci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/net-vhostuser-multiq.args b/tests/qemux= ml2argvdata/net-vhostuser-multiq.args index f2e1b219a5..a211216381 100644 --- a/tests/qemuxml2argvdata/net-vhostuser-multiq.args +++ b/tests/qemuxml2argvdata/net-vhostuser-multiq.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev socket,id=3Dcharnet0,path=3D/tmp/vhost0.sock,server \ -netdev vhost-user,chardev=3Dcharnet0,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:ee:96:6b= ,bus=3Dpci.0,\ diff --git a/tests/qemuxml2argvdata/net-virtio-device.args b/tests/qemuxml2= argvdata/net-virtio-device.args index d6b14c83cc..3d73551162 100644 --- a/tests/qemuxml2argvdata/net-virtio-device.args +++ b/tests/qemuxml2argvdata/net-virtio-device.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,tx=3Dbh,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:= 33:44:55,\ bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-virtio-disable-offloads.args b/test= s/qemuxml2argvdata/net-virtio-disable-offloads.args index 3c23d116e0..fe1c985e3c 100644 --- a/tests/qemuxml2argvdata/net-virtio-disable-offloads.args +++ b/tests/qemuxml2argvdata/net-virtio-disable-offloads.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest7,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,csum=3Doff,gso=3Doff,host_tso4=3Doff,host_tso6=3Dof= f,\ host_ecn=3Doff,host_ufo=3Doff,mrg_rxbuf=3Doff,guest_csum=3Doff,guest_tso4= =3Doff,\ diff --git a/tests/qemuxml2argvdata/net-virtio-netdev.args b/tests/qemuxml2= argvdata/net-virtio-netdev.args index 2ba5f20919..3db1196dea 100644 --- a/tests/qemuxml2argvdata/net-virtio-netdev.args +++ b/tests/qemuxml2argvdata/net-virtio-netdev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55= ,bus=3Dpci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-virtio-rxtxqueuesize.args b/tests/q= emuxml2argvdata/net-virtio-rxtxqueuesize.args index 30f5f3fd70..f75a79eb58 100644 --- a/tests/qemuxml2argvdata/net-virtio-rxtxqueuesize.args +++ b/tests/qemuxml2argvdata/net-virtio-rxtxqueuesize.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,rx_queue_size=3D512,tx_queue_size=3D1024,netdev=3Dh= ostnet0,\ id=3Dnet0,mac=3D00:11:22:33:44:55,bus=3Dpci.0,addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/net-virtio.args b/tests/qemuxml2argvdat= a/net-virtio.args index 3379064806..39ca2c035c 100644 --- a/tests/qemuxml2argvdata/net-virtio.args +++ b/tests/qemuxml2argvdata/net-virtio.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:11:22:33:44:55= ,bus=3Dpci.0,\ addr=3D0x3 diff --git a/tests/qemuxml2argvdata/nosharepages.args b/tests/qemuxml2argvd= ata/nosharepages.args index 4ccca528ca..bfac1b25c6 100644 --- a/tests/qemuxml2argvdata/nosharepages.args +++ b/tests/qemuxml2argvdata/nosharepages.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/numad-auto-memory-vcpu-cpuset.args b/te= sts/qemuxml2argvdata/numad-auto-memory-vcpu-cpuset.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numad-auto-memory-vcpu-cpuset.args +++ b/tests/qemuxml2argvdata/numad-auto-memory-vcpu-cpuset.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numad-auto-memory-vcpu-no-cpuset-and-pl= acement.args b/tests/qemuxml2argvdata/numad-auto-memory-vcpu-no-cpuset-and-= placement.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numad-auto-memory-vcpu-no-cpuset-and-placement= .args +++ b/tests/qemuxml2argvdata/numad-auto-memory-vcpu-no-cpuset-and-placement= .args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numad-auto-vcpu-static-numatune.args b/= tests/qemuxml2argvdata/numad-auto-vcpu-static-numatune.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numad-auto-vcpu-static-numatune.args +++ b/tests/qemuxml2argvdata/numad-auto-vcpu-static-numatune.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numad-static-memory-auto-vcpu.args b/te= sts/qemuxml2argvdata/numad-static-memory-auto-vcpu.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numad-static-memory-auto-vcpu.args +++ b/tests/qemuxml2argvdata/numad-static-memory-auto-vcpu.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numad.args b/tests/qemuxml2argvdata/num= ad.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numad.args +++ b/tests/qemuxml2argvdata/numad.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numatune-auto-nodeset-invalid.args b/te= sts/qemuxml2argvdata/numatune-auto-nodeset-invalid.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numatune-auto-nodeset-invalid.args +++ b/tests/qemuxml2argvdata/numatune-auto-nodeset-invalid.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/numatune-memory.args b/tests/qemuxml2ar= gvdata/numatune-memory.args index bd7a506256..2343d2a0a1 100644 --- a/tests/qemuxml2argvdata/numatune-memory.args +++ b/tests/qemuxml2argvdata/numatune-memory.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/panic-no-address.args b/tests/qemuxml2a= rgvdata/panic-no-address.args index 59395fa4a9..efd287ba96 100644 --- a/tests/qemuxml2argvdata/panic-no-address.args +++ b/tests/qemuxml2argvdata/panic-no-address.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -device pvpanic diff --git a/tests/qemuxml2argvdata/panic.args b/tests/qemuxml2argvdata/pan= ic.args index 6cdf618626..5307da1d7f 100644 --- a/tests/qemuxml2argvdata/panic.args +++ b/tests/qemuxml2argvdata/panic.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -device pvpanic,ioport=3D1285 diff --git a/tests/qemuxml2argvdata/parallel-parport-chardev.args b/tests/q= emuxml2argvdata/parallel-parport-chardev.args index 66515c1860..f03efd361f 100644 --- a/tests/qemuxml2argvdata/parallel-parport-chardev.args +++ b/tests/qemuxml2argvdata/parallel-parport-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev parport,id=3Dcharparallel0,path=3D/dev/parport0 \ -device isa-parallel,chardev=3Dcharparallel0,id=3Dparallel0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/parallel-tcp-chardev.args b/tests/qemux= ml2argvdata/parallel-tcp-chardev.args index 709bd5f1c3..e1befe14aa 100644 --- a/tests/qemuxml2argvdata/parallel-tcp-chardev.args +++ b/tests/qemuxml2argvdata/parallel-tcp-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev socket,id=3Dcharparallel0,host=3D127.0.0.1,port=3D9999,server,now= ait \ -device isa-parallel,chardev=3Dcharparallel0,id=3Dparallel0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/pci-autoadd-addr.args b/tests/qemuxml2a= rgvdata/pci-autoadd-addr.args index fab64502e7..1ec645d8dc 100644 --- a/tests/qemuxml2argvdata/pci-autoadd-addr.args +++ b/tests/qemuxml2argvdata/pci-autoadd-addr.args @@ -28,7 +28,7 @@ server,nowait \ -device pci-bridge,chassis_nr=3D7,id=3Dpci.7,bus=3Dpci.0,addr=3D0x9 \ -usb \ -drive file=3D/var/iso/f18kde.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1= -0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -vga cirrus \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.7,addr=3D0x6 diff --git a/tests/qemuxml2argvdata/pci-autoadd-idx.args b/tests/qemuxml2ar= gvdata/pci-autoadd-idx.args index a181202c46..e56c648536 100644 --- a/tests/qemuxml2argvdata/pci-autoadd-idx.args +++ b/tests/qemuxml2argvdata/pci-autoadd-idx.args @@ -29,7 +29,7 @@ server,nowait \ -device pci-bridge,chassis_nr=3D7,id=3Dpci.7,bus=3Dpci.0,addr=3D0xa \ -usb \ -drive file=3D/var/iso/f18kde.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1= -0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -vga cirrus \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.4,addr=3D0x6 diff --git a/tests/qemuxml2argvdata/pci-bridge.args b/tests/qemuxml2argvdat= a/pci-bridge.args index cd40dc5d46..4df7953f2b 100644 --- a/tests/qemuxml2argvdata/pci-bridge.args +++ b/tests/qemuxml2argvdata/pci-bridge.args @@ -22,8 +22,8 @@ server,nowait \ -device pci-bridge,chassis_nr=3D2,id=3Dpci.2,bus=3Dpci.0,addr=3D0x4 \ -usb \ -drive file=3D/var/iso/f18kde.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1= -0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -netdev user,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:f1:95:51,bus=3D= pci.0,\ addr=3D0x5 \ diff --git a/tests/qemuxml2argvdata/pci-many.args b/tests/qemuxml2argvdata/= pci-many.args index 2c448906c1..7b06be8b15 100644 --- a/tests/qemuxml2argvdata/pci-many.args +++ b/tests/qemuxml2argvdata/pci-many.args @@ -21,8 +21,8 @@ server,nowait \ -no-shutdown \ -usb \ -drive file=3D/var/iso/f18kde.iso,format=3Draw,if=3Dnone,id=3Ddrive-ide0-1= -0,\ -media=3Dcdrom,readonly=3Don \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-= 0 \ +readonly=3Don \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3D/var/lib/libvirt/images/test.img,format=3Draw,if=3Dnone,\ id=3Ddrive-virtio-disk0 \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-virtio-disk0,\ diff --git a/tests/qemuxml2argvdata/pci-rom.args b/tests/qemuxml2argvdata/p= ci-rom.args index d1d8ddda03..64d7b16632 100644 --- a/tests/qemuxml2argvdata/pci-rom.args +++ b/tests/qemuxml2argvdata/pci-rom.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -netdev user,id=3Dhostnet0 \ -device virtio-net-pci,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:24:a5:9f= ,bus=3Dpci.0,\ addr=3D0x3,rombar=3D1 \ diff --git a/tests/qemuxml2argvdata/pci-serial-dev-chardev.args b/tests/qem= uxml2argvdata/pci-serial-dev-chardev.args index 406716075b..d127dd46c7 100644 --- a/tests/qemuxml2argvdata/pci-serial-dev-chardev.args +++ b/tests/qemuxml2argvdata/pci-serial-dev-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev tty,id=3Dcharserial0,path=3D/dev/ttyS2 \ -device pci-serial,chardev=3Dcharserial0,id=3Dserial0,bus=3Dpci.0,addr=3D0= x4 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/pcie-expander-bus.args b/tests/qemuxml2= argvdata/pcie-expander-bus.args index 6de62ceba8..9328f98390 100644 --- a/tests/qemuxml2argvdata/pcie-expander-bus.args +++ b/tests/qemuxml2argvdata/pcie-expander-bus.args @@ -58,7 +58,7 @@ path=3D/tmp/lib/domain--1-pcie-expander-bus-te/monitor.so= ck,server,nowait \ -device xio3130-downstream,port=3D0x1e,chassis=3D34,id=3Dpci.34,bus=3Dpci.= 3,addr=3D0x1e \ -device xio3130-downstream,port=3D0x1f,chassis=3D35,id=3Dpci.35,bus=3Dpci.= 3,addr=3D0x1f \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -netdev user,id=3Dhostnet0 \ -device rtl8139,netdev=3Dhostnet0,id=3Dnet0,mac=3D52:54:00:f1:95:51,bus=3D= pci.4,\ addr=3D0x0 \ diff --git a/tests/qemuxml2argvdata/pcie-root-port.args b/tests/qemuxml2arg= vdata/pcie-root-port.args index 91e05fcb78..7d96a5aa5c 100644 --- a/tests/qemuxml2argvdata/pcie-root-port.args +++ b/tests/qemuxml2argvdata/pcie-root-port.args @@ -24,6 +24,6 @@ server,nowait \ addr=3D0x2 \ -device ioh3420,port=3D0x1a,chassis=3D40,id=3Dpci.2,bus=3Dpcie.0,addr=3D0x= 2.0x1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/pcie-switch-downstream-port.args b/test= s/qemuxml2argvdata/pcie-switch-downstream-port.args index d86f8fdfaa..a670850b0d 100644 --- a/tests/qemuxml2argvdata/pcie-switch-downstream-port.args +++ b/tests/qemuxml2argvdata/pcie-switch-downstream-port.args @@ -31,6 +31,6 @@ server,nowait \ -device xio3130-downstream,port=3D0x5,chassis=3D9,id=3Dpci.9,bus=3Dpci.2,a= ddr=3D0x5 \ -device xio3130-downstream,port=3D0x6,chassis=3D10,id=3Dpci.10,bus=3Dpci.2= ,addr=3D0x6 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/pcie-switch-upstream-port.args b/tests/= qemuxml2argvdata/pcie-switch-upstream-port.args index 12bfdbb938..9ef2bb0269 100644 --- a/tests/qemuxml2argvdata/pcie-switch-upstream-port.args +++ b/tests/qemuxml2argvdata/pcie-switch-upstream-port.args @@ -26,6 +26,6 @@ addr=3D0x2 \ -device x3130-upstream,id=3Dpci.3,bus=3Dpci.1,addr=3D0x0 \ -device x3130-upstream,id=3Dpci.4,bus=3Dpci.2,addr=3D0x0 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/pcihole64-q35.args b/tests/qemuxml2argv= data/pcihole64-q35.args index 139ee92b56..08163189ec 100644 --- a/tests/qemuxml2argvdata/pcihole64-q35.args +++ b/tests/qemuxml2argvdata/pcihole64-q35.args @@ -22,6 +22,6 @@ server,nowait \ -no-acpi \ -global q35-pcihost.pci-hole64-size=3D1048576K \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/q35-usb2-multi.args b/tests/qemuxml2arg= vdata/q35-usb2-multi.args index ffd05a86c4..85427bbb49 100644 --- a/tests/qemuxml2argvdata/q35-usb2-multi.args +++ b/tests/qemuxml2argvdata/q35-usb2-multi.args @@ -38,6 +38,6 @@ addr=3D0x1 \ -device ich9-usb-uhci2,masterbus=3Dusb2.0,firstport=3D2,bus=3Dpci.2,addr= =3D0x1.0x1 \ -device ich9-usb-uhci3,masterbus=3Dusb2.0,firstport=3D4,bus=3Dpci.2,addr= =3D0x1.0x2 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/q35-usb2-reorder.args b/tests/qemuxml2a= rgvdata/q35-usb2-reorder.args index 92e6fe9994..2e9a6d595e 100644 --- a/tests/qemuxml2argvdata/q35-usb2-reorder.args +++ b/tests/qemuxml2argvdata/q35-usb2-reorder.args @@ -38,6 +38,6 @@ multifunction=3Don,addr=3D0x1a \ -device ich9-usb-uhci1,masterbus=3Dusb2.0,firstport=3D0,bus=3Dpci.2,multif= unction=3Don,\ addr=3D0x1 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/q35-usb2.args b/tests/qemuxml2argvdata/= q35-usb2.args index c8de3158a1..03ae90892d 100644 --- a/tests/qemuxml2argvdata/q35-usb2.args +++ b/tests/qemuxml2argvdata/q35-usb2.args @@ -28,6 +28,6 @@ addr=3D0x1d \ -device ich9-usb-uhci2,masterbus=3Dusb.0,firstport=3D2,bus=3Dpcie.0,addr= =3D0x1d.0x1 \ -device ich9-usb-uhci3,masterbus=3Dusb.0,firstport=3D4,bus=3Dpcie.0,addr= =3D0x1d.0x2 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/q35.args b/tests/qemuxml2argvdata/q35.a= rgs index 4c34afec91..10f3d48a8d 100644 --- a/tests/qemuxml2argvdata/q35.args +++ b/tests/qemuxml2argvdata/q35.args @@ -26,6 +26,6 @@ addr=3D0x1d \ -device ich9-usb-uhci2,masterbus=3Dusb.0,firstport=3D2,bus=3Dpcie.0,addr= =3D0x1d.0x1 \ -device ich9-usb-uhci3,masterbus=3Dusb.0,firstport=3D4,bus=3Dpcie.0,addr= =3D0x1d.0x2 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-sat= a0-0-0 \ --device ide-drive,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,booti= ndex=3D1 \ +-device ide-hd,bus=3Dide.0,drive=3Ddrive-sata0-0-0,id=3Dsata0-0-0,bootinde= x=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D33554432,bus= =3Dpcie.0,\ addr=3D0x1 diff --git a/tests/qemuxml2argvdata/qemu-ns-alt.args b/tests/qemuxml2argvda= ta/qemu-ns-alt.args index 3f1612ebe8..b72aed97b5 100644 --- a/tests/qemuxml2argvdata/qemu-ns-alt.args +++ b/tests/qemuxml2argvdata/qemu-ns-alt.args @@ -24,7 +24,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -unknown parameter diff --git a/tests/qemuxml2argvdata/qemu-ns-commandline-ns0.args b/tests/qe= muxml2argvdata/qemu-ns-commandline-ns0.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-commandline-ns0.args +++ b/tests/qemuxml2argvdata/qemu-ns-commandline-ns0.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-commandline-ns1.args b/tests/qe= muxml2argvdata/qemu-ns-commandline-ns1.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-commandline-ns1.args +++ b/tests/qemuxml2argvdata/qemu-ns-commandline-ns1.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-commandline.args b/tests/qemuxm= l2argvdata/qemu-ns-commandline.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-commandline.args +++ b/tests/qemuxml2argvdata/qemu-ns-commandline.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-domain-commandline-ns0.args b/t= ests/qemuxml2argvdata/qemu-ns-domain-commandline-ns0.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-domain-commandline-ns0.args +++ b/tests/qemuxml2argvdata/qemu-ns-domain-commandline-ns0.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-domain-commandline.args b/tests= /qemuxml2argvdata/qemu-ns-domain-commandline.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-domain-commandline.args +++ b/tests/qemuxml2argvdata/qemu-ns-domain-commandline.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-domain-ns0.args b/tests/qemuxml= 2argvdata/qemu-ns-domain-ns0.args index ee776c1314..2fd0bfa444 100644 --- a/tests/qemuxml2argvdata/qemu-ns-domain-ns0.args +++ b/tests/qemuxml2argvdata/qemu-ns-domain-ns0.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 ARGUMENT diff --git a/tests/qemuxml2argvdata/qemu-ns-no-env.args b/tests/qemuxml2arg= vdata/qemu-ns-no-env.args index 1873eb1764..6de707e0cb 100644 --- a/tests/qemuxml2argvdata/qemu-ns-no-env.args +++ b/tests/qemuxml2argvdata/qemu-ns-no-env.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -unknown parameter diff --git a/tests/qemuxml2argvdata/qemu-ns.args b/tests/qemuxml2argvdata/q= emu-ns.args index 3f1612ebe8..b72aed97b5 100644 --- a/tests/qemuxml2argvdata/qemu-ns.args +++ b/tests/qemuxml2argvdata/qemu-ns.args @@ -24,7 +24,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -unknown parameter diff --git a/tests/qemuxml2argvdata/restore-v2-fd.args b/tests/qemuxml2argv= data/restore-v2-fd.args index 6d92ceec56..0d6752ea3f 100644 --- a/tests/qemuxml2argvdata/restore-v2-fd.args +++ b/tests/qemuxml2argvdata/restore-v2-fd.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -incoming fd:7 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/restore-v2.args b/tests/qemuxml2argvdat= a/restore-v2.args index ad70c5d840..35180eb836 100644 --- a/tests/qemuxml2argvdata/restore-v2.args +++ b/tests/qemuxml2argvdata/restore-v2.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -incoming exec:cat diff --git a/tests/qemuxml2argvdata/seclabel-dac-none.args b/tests/qemuxml2= argvdata/seclabel-dac-none.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-dac-none.args +++ b/tests/qemuxml2argvdata/seclabel-dac-none.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-dynamic-baselabel.args b/tests= /qemuxml2argvdata/seclabel-dynamic-baselabel.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-dynamic-baselabel.args +++ b/tests/qemuxml2argvdata/seclabel-dynamic-baselabel.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-dynamic-labelskip.args b/tests= /qemuxml2argvdata/seclabel-dynamic-labelskip.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-dynamic-labelskip.args +++ b/tests/qemuxml2argvdata/seclabel-dynamic-labelskip.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-dynamic-override.args b/tests/= qemuxml2argvdata/seclabel-dynamic-override.args index cb2c49cdba..a1993c1800 100644 --- a/tests/qemuxml2argvdata/seclabel-dynamic-override.args +++ b/tests/qemuxml2argvdata/seclabel-dynamic-override.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-1 \ --device ide-drive,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-= 1 \ +-device ide-hd,bus=3Dide.0,unit=3D1,drive=3Ddrive-ide0-0-1,id=3Dide0-0-1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-dynamic-relabel.args b/tests/q= emuxml2argvdata/seclabel-dynamic-relabel.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-dynamic-relabel.args +++ b/tests/qemuxml2argvdata/seclabel-dynamic-relabel.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-dynamic.args b/tests/qemuxml2a= rgvdata/seclabel-dynamic.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-dynamic.args +++ b/tests/qemuxml2argvdata/seclabel-dynamic.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-none.args b/tests/qemuxml2argv= data/seclabel-none.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-none.args +++ b/tests/qemuxml2argvdata/seclabel-none.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-static-labelskip.args b/tests/= qemuxml2argvdata/seclabel-static-labelskip.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-static-labelskip.args +++ b/tests/qemuxml2argvdata/seclabel-static-labelskip.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-static-relabel.args b/tests/qe= muxml2argvdata/seclabel-static-relabel.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-static-relabel.args +++ b/tests/qemuxml2argvdata/seclabel-static-relabel.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/seclabel-static.args b/tests/qemuxml2ar= gvdata/seclabel-static.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/seclabel-static.args +++ b/tests/qemuxml2argvdata/seclabel-static.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-dev-chardev-iobase.args b/tests/= qemuxml2argvdata/serial-dev-chardev-iobase.args index b68030a641..c2bf28b160 100644 --- a/tests/qemuxml2argvdata/serial-dev-chardev-iobase.args +++ b/tests/qemuxml2argvdata/serial-dev-chardev-iobase.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev tty,id=3Dcharserial0,path=3D/dev/ttyS2 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0,iobase=3D0x3f8,irq= =3D0x4 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-dev-chardev.args b/tests/qemuxml= 2argvdata/serial-dev-chardev.args index d91d8c6b33..87ade2468f 100644 --- a/tests/qemuxml2argvdata/serial-dev-chardev.args +++ b/tests/qemuxml2argvdata/serial-dev-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev tty,id=3Dcharserial0,path=3D/dev/ttyS2 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-file-chardev.args b/tests/qemuxm= l2argvdata/serial-file-chardev.args index 4a363e2cd7..ae1c2a322e 100644 --- a/tests/qemuxml2argvdata/serial-file-chardev.args +++ b/tests/qemuxml2argvdata/serial-file-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev file,id=3Dcharserial0,path=3D/tmp/serial.log,append=3Don \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-file-log.args b/tests/qemuxml2ar= gvdata/serial-file-log.args index 29665d1cd8..d3ef2f15b1 100644 --- a/tests/qemuxml2argvdata/serial-file-log.args +++ b/tests/qemuxml2argvdata/serial-file-log.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev file,id=3Dcharserial0,path=3D/tmp/serial.log,\ logfile=3D/var/lib/libvirt/qemu/demo-serial.log,logappend=3Doff \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 diff --git a/tests/qemuxml2argvdata/serial-many-chardev.args b/tests/qemuxm= l2argvdata/serial-many-chardev.args index 6c7d0867d0..c0aa52a235 100644 --- a/tests/qemuxml2argvdata/serial-many-chardev.args +++ b/tests/qemuxml2argvdata/serial-many-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -chardev file,id=3Dcharserial1,path=3D/tmp/serial.log \ diff --git a/tests/qemuxml2argvdata/serial-pty-chardev.args b/tests/qemuxml= 2argvdata/serial-pty-chardev.args index cac821d5b9..40f70e5c9d 100644 --- a/tests/qemuxml2argvdata/serial-pty-chardev.args +++ b/tests/qemuxml2argvdata/serial-pty-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev pty,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-spiceport-nospice.args b/tests/q= emuxml2argvdata/serial-spiceport-nospice.args index 503358a73b..547b9ced44 100644 --- a/tests/qemuxml2argvdata/serial-spiceport-nospice.args +++ b/tests/qemuxml2argvdata/serial-spiceport-nospice.args @@ -22,6 +22,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-spiceport.args b/tests/qemuxml2a= rgvdata/serial-spiceport.args index 1d2677f9ba..f43c003645 100644 --- a/tests/qemuxml2argvdata/serial-spiceport.args +++ b/tests/qemuxml2argvdata/serial-spiceport.args @@ -21,8 +21,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev spiceport,id=3Dcharserial0,name=3Dorg.qemu.console.serial.0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device usb-tablet,id=3Dinput0,bus=3Dusb.0,port=3D1 \ diff --git a/tests/qemuxml2argvdata/serial-tcp-chardev.args b/tests/qemuxml= 2argvdata/serial-tcp-chardev.args index a3e892e010..968a81a9af 100644 --- a/tests/qemuxml2argvdata/serial-tcp-chardev.args +++ b/tests/qemuxml2argvdata/serial-tcp-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev socket,id=3Dcharserial0,host=3D127.0.0.1,port=3D9999 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-tcp-telnet-chardev.args b/tests/= qemuxml2argvdata/serial-tcp-telnet-chardev.args index 28dc45a244..175cb24de1 100644 --- a/tests/qemuxml2argvdata/serial-tcp-telnet-chardev.args +++ b/tests/qemuxml2argvdata/serial-tcp-telnet-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev socket,id=3Dcharserial0,host=3D127.0.0.1,port=3D9999,telnet,serve= r,nowait \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.args b= /tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.args index 144e28e013..ec6b5cb7f3 100644 --- a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.args +++ b/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-notls.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev udp,id=3Dcharserial0,host=3D127.0.0.1,port=3D2222,localaddr=3D127= .0.0.1,\ localport=3D1111 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ diff --git a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-verify.args = b/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-verify.args index 9f7ea17037..cf0bc9bba9 100644 --- a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-verify.args +++ b/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev-verify.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev udp,id=3Dcharserial0,host=3D127.0.0.1,port=3D2222,localaddr=3D127= .0.0.1,\ localport=3D1111 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ diff --git a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev.args b/tests= /qemuxml2argvdata/serial-tcp-tlsx509-chardev.args index 9f7ea17037..cf0bc9bba9 100644 --- a/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev.args +++ b/tests/qemuxml2argvdata/serial-tcp-tlsx509-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev udp,id=3Dcharserial0,host=3D127.0.0.1,port=3D2222,localaddr=3D127= .0.0.1,\ localport=3D1111 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ diff --git a/tests/qemuxml2argvdata/serial-tcp-tlsx509-secret-chardev.args = b/tests/qemuxml2argvdata/serial-tcp-tlsx509-secret-chardev.args index e8279f209a..98eb9b0392 100644 --- a/tests/qemuxml2argvdata/serial-tcp-tlsx509-secret-chardev.args +++ b/tests/qemuxml2argvdata/serial-tcp-tlsx509-secret-chardev.args @@ -24,8 +24,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev udp,id=3Dcharserial0,host=3D127.0.0.1,port=3D2222,localaddr=3D127= .0.0.1,\ localport=3D1111 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ diff --git a/tests/qemuxml2argvdata/serial-udp-chardev.args b/tests/qemuxml= 2argvdata/serial-udp-chardev.args index 7fd6c639ac..9f8502653e 100644 --- a/tests/qemuxml2argvdata/serial-udp-chardev.args +++ b/tests/qemuxml2argvdata/serial-udp-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev udp,id=3Dcharserial0,host=3D127.0.0.1,port=3D9998,localaddr=3D127= .0.0.1,\ localport=3D9999 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ diff --git a/tests/qemuxml2argvdata/serial-vc-chardev.args b/tests/qemuxml2= argvdata/serial-vc-chardev.args index a9aeafff84..3c5b808e83 100644 --- a/tests/qemuxml2argvdata/serial-vc-chardev.args +++ b/tests/qemuxml2argvdata/serial-vc-chardev.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -chardev vc,id=3Dcharserial0 \ -device isa-serial,chardev=3Dcharserial0,id=3Dserial0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/smbios.args b/tests/qemuxml2argvdata/sm= bios.args index b9100e17ad..faf4068557 100644 --- a/tests/qemuxml2argvdata/smbios.args +++ b/tests/qemuxml2argvdata/smbios.args @@ -32,6 +32,5 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/smp.args b/tests/qemuxml2argvdata/smp.a= rgs index 24e7663ca8..a275ce12e3 100644 --- a/tests/qemuxml2argvdata/smp.args +++ b/tests/qemuxml2argvdata/smp.args @@ -22,5 +22,4 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 diff --git a/tests/qemuxml2argvdata/sound-device.args b/tests/qemuxml2argvd= ata/sound-device.args index 6677111a21..52ff53f2a9 100644 --- a/tests/qemuxml2argvdata/sound-device.args +++ b/tests/qemuxml2argvdata/sound-device.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -soundhw pcspk \ -device ES1370,id=3Dsound1,bus=3Dpci.0,addr=3D0x3 \ -device sb16,id=3Dsound2 \ diff --git a/tests/qemuxml2argvdata/sound.args b/tests/qemuxml2argvdata/sou= nd.args index 42190d1603..7097de5719 100644 --- a/tests/qemuxml2argvdata/sound.args +++ b/tests/qemuxml2argvdata/sound.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -soundhw pcspk \ -device ES1370,id=3Dsound1,bus=3Dpci.0,addr=3D0x3 \ -device sb16,id=3Dsound2 \ diff --git a/tests/qemuxml2argvdata/user-aliases.args b/tests/qemuxml2argvd= ata/user-aliases.args index 7fd3b4a6e1..faa8ad02d4 100644 --- a/tests/qemuxml2argvdata/user-aliases.args +++ b/tests/qemuxml2argvdata/user-aliases.args @@ -53,8 +53,8 @@ id=3Ddrive-ua-myEncryptedDisk1 \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x7,drive=3Ddrive-ua-myEncrypted= Disk1,\ id=3Dua-myEncryptedDisk1 \ -drive file=3D/home/zippy/tmp/install-amd64-minimal-20140619.iso,format=3D= raw,\ -if=3Dnone,id=3Ddrive-ua-WhatAnAwesomeCDROM,media=3Dcdrom,readonly=3Don,cac= he=3Dnone \ --device ide-drive,bus=3Dide.1,unit=3D0,drive=3Ddrive-ua-WhatAnAwesomeCDROM= ,\ +if=3Dnone,id=3Ddrive-ua-WhatAnAwesomeCDROM,readonly=3Don,cache=3Dnone \ +-device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ua-WhatAnAwesomeCDROM,\ id=3Dua-WhatAnAwesomeCDROM,bootindex=3D2 \ -global isa-fdc.driveA=3Ddrive-ua-myDisk1 \ -netdev tap,fd=3D3,id=3Dhostua-CheckoutThisNIC,vhost=3Don,vhostfd=3D44 \ diff --git a/tests/qemuxml2argvdata/video-device-pciaddr-default.args b/tes= ts/qemuxml2argvdata/video-device-pciaddr-default.args index 6d336eee28..b158efff85 100644 --- a/tests/qemuxml2argvdata/video-device-pciaddr-default.args +++ b/tests/qemuxml2argvdata/video-device-pciaddr-default.args @@ -22,8 +22,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc 127.0.0.1:0 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,bus= =3Dpci.0,\ addr=3D0x3 \ diff --git a/tests/qemuxml2argvdata/video-none-device.args b/tests/qemuxml2= argvdata/video-none-device.args index fbd6332cb5..f89485f478 100644 --- a/tests/qemuxml2argvdata/video-none-device.args +++ b/tests/qemuxml2argvdata/video-none-device.args @@ -21,7 +21,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vnc 127.0.0.1:0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-qxl-device-vgamem.args b/tests/qe= muxml2argvdata/video-qxl-device-vgamem.args index b8e39d059d..2860b24977 100644 --- a/tests/qemuxml2argvdata/video-qxl-device-vgamem.args +++ b/tests/qemuxml2argvdata/video-qxl-device-vgamem.args @@ -23,8 +23,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,vgame= m_mb=3D16,\ bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-qxl-device.args b/tests/qemuxml2a= rgvdata/video-qxl-device.args index ce6b329bfe..faeab8a8ff 100644 --- a/tests/qemuxml2argvdata/video-qxl-device.args +++ b/tests/qemuxml2argvdata/video-qxl-device.args @@ -23,8 +23,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,bus= =3Dpci.0,\ addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-qxl-heads.args b/tests/qemuxml2ar= gvdata/video-qxl-heads.args index 6ef5d4937d..9d1df0d0dd 100644 --- a/tests/qemuxml2argvdata/video-qxl-heads.args +++ b/tests/qemuxml2argvdata/video-qxl-heads.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,max_o= utputs=3D1,\ bus=3Dpci.0,addr=3D0x2 \ -device qxl,id=3Dvideo1,ram_size=3D67108864,vram_size=3D33554432,max_outpu= ts=3D3,\ diff --git a/tests/qemuxml2argvdata/video-qxl-nodevice.args b/tests/qemuxml= 2argvdata/video-qxl-nodevice.args index 3c21b6fa66..05664fe472 100644 --- a/tests/qemuxml2argvdata/video-qxl-nodevice.args +++ b/tests/qemuxml2argvdata/video-qxl-nodevice.args @@ -23,8 +23,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vga qxl \ -global qxl-vga.ram_size=3D67108864 \ -global qxl-vga.vram_size=3D67108864 \ diff --git a/tests/qemuxml2argvdata/video-qxl-noheads.args b/tests/qemuxml2= argvdata/video-qxl-noheads.args index e3370565fb..eb0bf2ae38 100644 --- a/tests/qemuxml2argvdata/video-qxl-noheads.args +++ b/tests/qemuxml2argvdata/video-qxl-noheads.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,max_o= utputs=3D1,\ bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-qxl-sec-device-vgamem.args b/test= s/qemuxml2argvdata/video-qxl-sec-device-vgamem.args index ba2a7dfd92..1550c4382c 100644 --- a/tests/qemuxml2argvdata/video-qxl-sec-device-vgamem.args +++ b/tests/qemuxml2argvdata/video-qxl-sec-device-vgamem.args @@ -23,8 +23,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,vgame= m_mb=3D16,\ bus=3Dpci.0,addr=3D0x2 \ -device qxl,id=3Dvideo1,ram_size=3D67108864,vram_size=3D67108864,vgamem_mb= =3D16,\ diff --git a/tests/qemuxml2argvdata/video-qxl-sec-device.args b/tests/qemux= ml2argvdata/video-qxl-sec-device.args index 56622f788b..88997a0bfa 100644 --- a/tests/qemuxml2argvdata/video-qxl-sec-device.args +++ b/tests/qemuxml2argvdata/video-qxl-sec-device.args @@ -23,8 +23,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D67108864,bus= =3Dpci.0,\ addr=3D0x2 \ -device qxl,id=3Dvideo1,ram_size=3D67108864,vram_size=3D67108864,bus=3Dpci= .0,addr=3D0x4 \ diff --git a/tests/qemuxml2argvdata/video-vga-device-vgamem.args b/tests/qe= muxml2argvdata/video-vga-device-vgamem.args index 83d9256103..b12a146681 100644 --- a/tests/qemuxml2argvdata/video-vga-device-vgamem.args +++ b/tests/qemuxml2argvdata/video-vga-device-vgamem.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device VGA,id=3Dvideo0,vgamem_mb=3D16,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-vga-device.args b/tests/qemuxml2a= rgvdata/video-vga-device.args index 31497f446c..74fe2e4294 100644 --- a/tests/qemuxml2argvdata/video-vga-device.args +++ b/tests/qemuxml2argvdata/video-vga-device.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device VGA,id=3Dvideo0,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-vga-nodevice.args b/tests/qemuxml= 2argvdata/video-vga-nodevice.args index d007c67f87..00a34ce89d 100644 --- a/tests/qemuxml2argvdata/video-vga-nodevice.args +++ b/tests/qemuxml2argvdata/video-vga-nodevice.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vga std \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-vga-qxl-heads.args b/tests/qemuxm= l2argvdata/video-vga-qxl-heads.args index e74976b604..0be5676daa 100644 --- a/tests/qemuxml2argvdata/video-vga-qxl-heads.args +++ b/tests/qemuxml2argvdata/video-vga-qxl-heads.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -vga qxl \ -global qxl-vga.ram_size=3D67108864 \ -global qxl-vga.vram_size=3D67108864 \ diff --git a/tests/qemuxml2argvdata/video-virtio-gpu-device.args b/tests/qe= muxml2argvdata/video-virtio-gpu-device.args index 7590338556..2e624328a2 100644 --- a/tests/qemuxml2argvdata/video-virtio-gpu-device.args +++ b/tests/qemuxml2argvdata/video-virtio-gpu-device.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-gpu-pci,id=3Dvideo0,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args b/tests/qe= muxml2argvdata/video-virtio-gpu-sdl-gl.args index c4e63dbf06..506e243f12 100644 --- a/tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args +++ b/tests/qemuxml2argvdata/video-virtio-gpu-sdl-gl.args @@ -21,8 +21,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -display sdl,gl=3Don \ -device virtio-gpu-pci,id=3Dvideo0,virgl=3Don,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-virtio-gpu-spice-gl.args b/tests/= qemuxml2argvdata/video-virtio-gpu-spice-gl.args index 2e90098130..be8af429c1 100644 --- a/tests/qemuxml2argvdata/video-virtio-gpu-spice-gl.args +++ b/tests/qemuxml2argvdata/video-virtio-gpu-spice-gl.args @@ -22,8 +22,7 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -spice port=3D0,gl=3Don,rendernode=3D/dev/dri/foo \ -device virtio-gpu-pci,id=3Dvideo0,virgl=3Don,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-virtio-gpu-virgl.args b/tests/qem= uxml2argvdata/video-virtio-gpu-virgl.args index 02cc5ed97c..2cefd44142 100644 --- a/tests/qemuxml2argvdata/video-virtio-gpu-virgl.args +++ b/tests/qemuxml2argvdata/video-virtio-gpu-virgl.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-gpu-pci,id=3Dvideo0,virgl=3Don,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-virtio-vga.args b/tests/qemuxml2a= rgvdata/video-virtio-vga.args index 463e9d97ff..7b97fa7bc3 100644 --- a/tests/qemuxml2argvdata/video-virtio-vga.args +++ b/tests/qemuxml2argvdata/video-virtio-vga.args @@ -23,7 +23,6 @@ server,nowait \ -usb \ -drive file=3D/var/lib/libvirt/images/QEMUGuest1,format=3Dqcow2,if=3Dnone,\ id=3Ddrive-ide0-0-0,cache=3Dnone \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-vga,id=3Dvideo0,max_outputs=3D1,bus=3Dpci.0,addr=3D0x2 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/vmcoreinfo.args b/tests/qemuxml2argvdat= a/vmcoreinfo.args index d093fdbd94..c2f746cc8d 100644 --- a/tests/qemuxml2argvdata/vmcoreinfo.args +++ b/tests/qemuxml2argvdata/vmcoreinfo.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 \ -device vmcoreinfo diff --git a/tests/qemuxml2argvdata/watchdog-device.args b/tests/qemuxml2ar= gvdata/watchdog-device.args index e7f4c658a3..a226951bc8 100644 --- a/tests/qemuxml2argvdata/watchdog-device.args +++ b/tests/qemuxml2argvdata/watchdog-device.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device ib700,id=3Dwatchdog0 \ -watchdog-action poweroff \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/watchdog-dump.args b/tests/qemuxml2argv= data/watchdog-dump.args index 5065308b13..ec1394f7f3 100644 --- a/tests/qemuxml2argvdata/watchdog-dump.args +++ b/tests/qemuxml2argvdata/watchdog-dump.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device ib700,id=3Dwatchdog0 \ -watchdog-action pause \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/watchdog-injectnmi.args b/tests/qemuxml= 2argvdata/watchdog-injectnmi.args index 51a55fe569..176dca6769 100644 --- a/tests/qemuxml2argvdata/watchdog-injectnmi.args +++ b/tests/qemuxml2argvdata/watchdog-injectnmi.args @@ -22,8 +22,7 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device ib700,id=3Dwatchdog0 \ -watchdog-action inject-nmi \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/watchdog.args b/tests/qemuxml2argvdata/= watchdog.args index 5f79028bad..99eb95b5ef 100644 --- a/tests/qemuxml2argvdata/watchdog.args +++ b/tests/qemuxml2argvdata/watchdog.args @@ -22,7 +22,6 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-ide= 0-0-0 \ --device ide-drive,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-= 0,\ -bootindex=3D1 \ +-device ide-hd,bus=3Dide.0,unit=3D0,drive=3Ddrive-ide0-0-0,id=3Dide0-0-0,b= ootindex=3D1 \ -device ib700,id=3Dwatchdog0 \ -watchdog-action poweroff diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 6d87b49190..ff261149f5 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1972,15 +1972,11 @@ mymain(void) QEMU_CAPS_DEVICE_VIRTIO_MMIO); DO_TEST_PARSE_ERROR("mach-virt-serial-invalid-machine", NONE); - DO_TEST("disk-ide-split", - QEMU_CAPS_IDE_CD); - DO_TEST("disk-ide-wwn", - QEMU_CAPS_IDE_CD, - QEMU_CAPS_IDE_DRIVE_WWN); + DO_TEST("disk-ide-split", NONE); + DO_TEST("disk-ide-wwn", QEMU_CAPS_IDE_DRIVE_WWN); DO_TEST("disk-geometry", NONE); - DO_TEST("disk-blockio", - QEMU_CAPS_IDE_CD, QEMU_CAPS_BLOCKIO); + DO_TEST("disk-blockio", QEMU_CAPS_BLOCKIO); DO_TEST("video-device-pciaddr-default", QEMU_CAPS_KVM, --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692392695140.32480276139734; Mon, 28 Jan 2019 08:19:52 -0800 (PST) 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 mx1.redhat.com (Postfix) with ESMTPS id 146332CD7E3; Mon, 28 Jan 2019 16:19:50 +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 D11886608B; Mon, 28 Jan 2019 16:19:49 +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 80CB03F609; Mon, 28 Jan 2019 16:19:49 +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 x0SGJWQ0018226 for ; Mon, 28 Jan 2019 11:19:32 -0500 Received: by smtp.corp.redhat.com (Postfix) id E6F746608B; Mon, 28 Jan 2019 16:19:32 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6DC0682ED3 for ; Mon, 28 Jan 2019 16:19:32 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:53 +0100 Message-Id: <0cb1b05b6d455da544497cf3caff153fc6aefca5.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 24/32] qemu: command: Use correct type for switch in qemuBuildDiskDeviceStr 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 28 Jan 2019 16:19:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Cast disk->bus to proper type and add missing values to the enum so it's more obvious what types are supported. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 352e474d90..d85580b857 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1893,7 +1893,7 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, if (disk->iothread && !qemuCheckIOThreads(def, disk)) goto error; - switch (disk->bus) { + switch ((virDomainDiskBus) disk->bus) { case VIR_DOMAIN_DISK_BUS_IDE: if (disk->info.addr.drive.target !=3D 0) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", @@ -2115,6 +2115,10 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, virBufferAsprintf(&opt, "floppy,unit=3D%d", disk->info.addr.drive.= unit); break; + case VIR_DOMAIN_DISK_BUS_XEN: + case VIR_DOMAIN_DISK_BUS_UML: + case VIR_DOMAIN_DISK_BUS_SD: + case VIR_DOMAIN_DISK_BUS_LAST: default: virReportError(VIR_ERR_INTERNAL_ERROR, _("unsupported disk bus '%s' with device setup"), b= us); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692403117757.0073771044005; Mon, 28 Jan 2019 08:20:03 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CAAC687623; Mon, 28 Jan 2019 16:19:58 +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 8636353B33; Mon, 28 Jan 2019 16:19:58 +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 3B0A23F60B; Mon, 28 Jan 2019 16:19:58 +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 x0SGJX6X018239 for ; Mon, 28 Jan 2019 11:19:33 -0500 Received: by smtp.corp.redhat.com (Postfix) id BA48282ED3; Mon, 28 Jan 2019 16:19:33 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 41D076608B for ; Mon, 28 Jan 2019 16:19:33 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:54 +0100 Message-Id: <6338eb1f1fe2b45ad64d4ed7643154adef4d4e74.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 25/32] tests: qemuxml2argv: Add CDROM disks for all untested buses 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 28 Jan 2019 16:20:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Add full and empty cdroms on 'usb', 'virtio', and 'sd' bus to have test coverage. Note that this does not guarantee that qemu will accept them. Signed-off-by: Peter Krempa --- .../disk-cdrom-bus-other.x86_64-latest.args | 45 +++++++++++++ .../qemuxml2argvdata/disk-cdrom-bus-other.xml | 58 +++++++++++++++++ tests/qemuxml2argvtest.c | 1 + .../disk-cdrom-bus-other.xml | 64 +++++++++++++++++++ tests/qemuxml2xmltest.c | 1 + 5 files changed, 169 insertions(+) create mode 100644 tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-late= st.args create mode 100644 tests/qemuxml2argvdata/disk-cdrom-bus-other.xml create mode 100644 tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml diff --git a/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args= b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args new file mode 100644 index 0000000000..c38819fac0 --- /dev/null +++ b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args @@ -0,0 +1,45 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/home/test \ +USER=3Dtest \ +LOGNAME=3Dtest \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-i686 \ +-name guest=3DQEMUGuest1,debug-threads=3Don \ +-S \ +-object secret,id=3DmasterKey0,format=3Draw,\ +file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ +-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-9455-926a-d65c16db1809 \ +-display none \ +-no-user-config \ +-nodefaults \ +-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \ +-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \ +-rtc base=3Dutc \ +-no-shutdown \ +-no-acpi \ +-boot strict=3Don \ +-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ +-drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-usb-disk0,m= edia=3Dcdrom,\ +readonly=3Don \ +-device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk0,id=3Dusb-= disk0,\ +removable=3Doff \ +-drive if=3Dnone,id=3Ddrive-usb-disk1,media=3Dcdrom \ +-device usb-storage,bus=3Dusb.0,port=3D2,drive=3Ddrive-usb-disk1,id=3Dusb-= disk1,\ +removable=3Doff \ +-drive file=3D/root/boot1.iso,format=3Draw,if=3Dnone,id=3Ddrive-virtio-dis= k0,\ +media=3Dcdrom,readonly=3Don,cache=3Dnone \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x2,drive=3Ddrive-vir= tio-disk0,\ +id=3Dvirtio-disk0,write-cache=3Don \ +-drive if=3Dnone,id=3Ddrive-virtio-disk1,media=3Dcdrom \ +-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-vir= tio-disk1,\ +id=3Dvirtio-disk1,write-cache=3Don \ +-drive file=3D/root/boot2.iso,format=3Draw,if=3Dsd,index=3D2,media=3Dcdrom= ,readonly=3Don \ +-drive if=3Dsd,index=3D3,media=3Dcdrom \ +-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ +resourcecontrol=3Ddeny \ +-msg timestamp=3Don diff --git a/tests/qemuxml2argvdata/disk-cdrom-bus-other.xml b/tests/qemuxm= l2argvdata/disk-cdrom-bus-other.xml new file mode 100644 index 0000000000..2ed86b0900 --- /dev/null +++ b/tests/qemuxml2argvdata/disk-cdrom-bus-other.xml @@ -0,0 +1,58 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + This test is meant for testing CDROMS with buses which don'= t really support them + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index ff261149f5..a71f8b85a1 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -1011,6 +1011,7 @@ mymain(void) DO_TEST("disk-cdrom", NONE); DO_TEST_CAPS_VER("disk-cdrom", "2.12.0"); DO_TEST_CAPS_LATEST("disk-cdrom"); + DO_TEST_CAPS_LATEST("disk-cdrom-bus-other"); DO_TEST("disk-iscsi", NONE); DO_TEST("disk-cdrom-network", QEMU_CAPS_KVM); DO_TEST_CAPS_VER("disk-cdrom-network", "2.12.0"); diff --git a/tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml b/tests/qemu= xml2xmloutdata/disk-cdrom-bus-other.xml new file mode 100644 index 0000000000..a9f2806777 --- /dev/null +++ b/tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml @@ -0,0 +1,64 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + This test is meant for testing CDROMS with buses which don&= apos;t really support them + 219100 + 219100 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + + + + + + + + + + + + + +
+ + + + + +
+ + + + + + + + + + + + + +
+ + +
+ + + + + + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 899afead51..99b7d04bef 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -346,6 +346,7 @@ mymain(void) DO_TEST("qemu-ns-no-env", NONE); DO_TEST("disk-aio", NONE); DO_TEST("disk-cdrom", NONE); + DO_TEST("disk-cdrom-bus-other", NONE); DO_TEST("disk-floppy", NONE); DO_TEST("disk-usb-device", NONE); DO_TEST("disk-virtio", NONE); --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 15486924140678.022009910253132; Mon, 28 Jan 2019 08:20:14 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 12B0D8830E; Mon, 28 Jan 2019 16:20:05 +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 AFEEA5DEB4; Mon, 28 Jan 2019 16:20:04 +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 3A1C83F60C; Mon, 28 Jan 2019 16:20:04 +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 x0SGJYer018255 for ; Mon, 28 Jan 2019 11:19:34 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9281F82ED3; Mon, 28 Jan 2019 16:19:34 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1510C82EDF for ; Mon, 28 Jan 2019 16:19:33 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:55 +0100 Message-Id: <887551c8c8c88a822ac64c184d9a49f336a12874.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 26/32] qemu: Forbid cdroms on virtio bus 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 28 Jan 2019 16:20:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Attempting to create an empty virtio-blk drive results into: -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0xc,drive=3Ddrive-virt= io-disk1,id=3Dvirtio-disk1: Device needs media, but drive is empty Attempting to eject media from virtio-blk based drive results into: error: internal error: unable to execute QEMU command 'eject': Device 'driv= e-virtio-disk0' is not removable Forbid configurations where users would attempt to use cdroms in virtio bus. Test fallout apart from the recently added case contains one more wrong example which is not really relevant to the tested code, thus I've changed the type. Signed-off-by: Peter Krempa --- src/qemu/qemu_domain.c | 8 ++++++++ .../disk-cdrom-bus-other.x86_64-latest.args | 7 ------- tests/qemuxml2argvdata/disk-cdrom-bus-other.xml | 11 ----------- .../disk-scsi-disk-vpd-build-error.xml | 2 +- tests/qemuxml2argvdata/pci-autofill-addr.args | 4 ++-- tests/qemuxml2argvdata/pci-autofill-addr.xml | 2 +- tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml | 13 ------------- tests/qemuxml2xmloutdata/pci-autofill-addr.xml | 2 +- 8 files changed, 13 insertions(+), 36 deletions(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index f42903a343..560abf5291 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -5075,6 +5075,14 @@ qemuDomainDeviceDefValidateDisk(const virDomainDiskD= ef *disk, return -1; } + if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM && + disk->bus =3D=3D VIR_DOMAIN_DISK_BUS_VIRTIO) { + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, + _("disk type 'virtio' of '%s' does not support ejec= table media"), + disk->dst); + return -1; + } + return 0; } diff --git a/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args= b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args index c38819fac0..34849c2e96 100644 --- a/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args @@ -31,13 +31,6 @@ removable=3Doff \ -drive if=3Dnone,id=3Ddrive-usb-disk1,media=3Dcdrom \ -device usb-storage,bus=3Dusb.0,port=3D2,drive=3Ddrive-usb-disk1,id=3Dusb-= disk1,\ removable=3Doff \ --drive file=3D/root/boot1.iso,format=3Draw,if=3Dnone,id=3Ddrive-virtio-dis= k0,\ -media=3Dcdrom,readonly=3Don,cache=3Dnone \ --device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x2,drive=3Ddrive-vir= tio-disk0,\ -id=3Dvirtio-disk0,write-cache=3Don \ --drive if=3Dnone,id=3Ddrive-virtio-disk1,media=3Dcdrom \ --device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-vir= tio-disk1,\ -id=3Dvirtio-disk1,write-cache=3Don \ -drive file=3D/root/boot2.iso,format=3Draw,if=3Dsd,index=3D2,media=3Dcdrom= ,readonly=3Don \ -drive if=3Dsd,index=3D3,media=3Dcdrom \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ diff --git a/tests/qemuxml2argvdata/disk-cdrom-bus-other.xml b/tests/qemuxm= l2argvdata/disk-cdrom-bus-other.xml index 2ed86b0900..a142373afb 100644 --- a/tests/qemuxml2argvdata/disk-cdrom-bus-other.xml +++ b/tests/qemuxml2argvdata/disk-cdrom-bus-other.xml @@ -26,17 +26,6 @@ - - - - - - - - - - - diff --git a/tests/qemuxml2argvdata/disk-scsi-disk-vpd-build-error.xml b/te= sts/qemuxml2argvdata/disk-scsi-disk-vpd-build-error.xml index e116aff114..6c83715be2 100644 --- a/tests/qemuxml2argvdata/disk-scsi-disk-vpd-build-error.xml +++ b/tests/qemuxml2argvdata/disk-scsi-disk-vpd-build-error.xml @@ -14,7 +14,7 @@ destroy /usr/bin/qemu-system-i686 - + SEAGATE diff --git a/tests/qemuxml2argvdata/pci-autofill-addr.args b/tests/qemuxml2= argvdata/pci-autofill-addr.args index b546443db3..1508787f8b 100644 --- a/tests/qemuxml2argvdata/pci-autofill-addr.args +++ b/tests/qemuxml2argvdata/pci-autofill-addr.args @@ -22,8 +22,8 @@ server,nowait \ -no-acpi \ -usb \ -drive file=3D/var/iso/f18kde.iso,format=3Draw,if=3Dnone,id=3Ddrive-virtio= -disk0,\ -media=3Dcdrom,readonly=3Don \ +readonly=3Don \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-virtio-disk0,\ -id=3Dvirtio-disk0 \ +id=3Dvirtio-disk0,bootindex=3D1 \ -vga cirrus \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x4 diff --git a/tests/qemuxml2argvdata/pci-autofill-addr.xml b/tests/qemuxml2a= rgvdata/pci-autofill-addr.xml index 0d10ec8635..a601c50ab9 100644 --- a/tests/qemuxml2argvdata/pci-autofill-addr.xml +++ b/tests/qemuxml2argvdata/pci-autofill-addr.xml @@ -10,7 +10,7 @@ /usr/bin/qemu-system-x86_64 - + diff --git a/tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml b/tests/qemu= xml2xmloutdata/disk-cdrom-bus-other.xml index a9f2806777..e5eb7d6a98 100644 --- a/tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml +++ b/tests/qemuxml2xmloutdata/disk-cdrom-bus-other.xml @@ -26,19 +26,6 @@ - - - - - -
- - - - - -
- diff --git a/tests/qemuxml2xmloutdata/pci-autofill-addr.xml b/tests/qemuxml= 2xmloutdata/pci-autofill-addr.xml index 581d42f11e..84cf1043e3 100644 --- a/tests/qemuxml2xmloutdata/pci-autofill-addr.xml +++ b/tests/qemuxml2xmloutdata/pci-autofill-addr.xml @@ -14,7 +14,7 @@ destroy /usr/bin/qemu-system-x86_64 - + --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692398337806.7133255373495; Mon, 28 Jan 2019 08:19:58 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B43F83D95C; Mon, 28 Jan 2019 16:19:55 +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 646FBC95B9; Mon, 28 Jan 2019 16:19:55 +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 D740B180BAAC; Mon, 28 Jan 2019 16:19:54 +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 x0SGJZpW018267 for ; Mon, 28 Jan 2019 11:19:35 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6389A82EDC; Mon, 28 Jan 2019 16:19:35 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id DE65482ED8 for ; Mon, 28 Jan 2019 16:19:34 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:56 +0100 Message-Id: <9d59cff39dc4440921738bc3bdd38e1ab0da0311.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 27/32] qemu: command: Drop formatting of 'media=cdrom' from -drive 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: , 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.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 28 Jan 2019 16:19:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" For SCSI, IDE, and AHCI cdroms the appropriate device types which select the correct media are used. In qemu there's one other code path that looks at -drive media=3Dcdrom in the XEN pv code. Thankfully we don't support it with qemu (see qemuBuildDiskDeviceStr). All other devices ignore it as the comment states, thus we can drop that code. The test fallout is expectedly only in the test added for uncommon cdrom types. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 9 --------- .../disk-cdrom-bus-other.x86_64-latest.args | 9 ++++----- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index d85580b857..0a62317a33 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1748,15 +1748,6 @@ qemuBuildDriveStr(virDomainDiskDefPtr disk, if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_USB_STORAGE_WERROR)) qemuBuildDiskFrontendAttributeErrorPolicy(disk, &opt); - - /* While this is a frontend attribute, it only makes sense to be used = when - * legacy -drive is used. In modern qemu the 'ide-cd' or 'scsi-cd' are= used. - * virtio and other just ignore the attribute anyways */ - if (disk->device =3D=3D VIR_DOMAIN_DISK_DEVICE_CDROM && - disk->bus !=3D VIR_DOMAIN_DISK_BUS_SCSI && - disk->bus !=3D VIR_DOMAIN_DISK_BUS_IDE) - virBufferAddLit(&opt, ",media=3Dcdrom"); - if (!virStorageSourceIsEmpty(disk->src)) { if (disk->src->readonly) virBufferAddLit(&opt, ",readonly=3Don"); diff --git a/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args= b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args index 34849c2e96..aba5599aad 100644 --- a/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-cdrom-bus-other.x86_64-latest.args @@ -24,15 +24,14 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -no-acpi \ -boot strict=3Don \ -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \ --drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-usb-disk0,m= edia=3Dcdrom,\ -readonly=3Don \ +-drive file=3D/root/boot.iso,format=3Draw,if=3Dnone,id=3Ddrive-usb-disk0,r= eadonly=3Don \ -device usb-storage,bus=3Dusb.0,port=3D1,drive=3Ddrive-usb-disk0,id=3Dusb-= disk0,\ removable=3Doff \ --drive if=3Dnone,id=3Ddrive-usb-disk1,media=3Dcdrom \ +-drive if=3Dnone,id=3Ddrive-usb-disk1 \ -device usb-storage,bus=3Dusb.0,port=3D2,drive=3Ddrive-usb-disk1,id=3Dusb-= disk1,\ removable=3Doff \ --drive file=3D/root/boot2.iso,format=3Draw,if=3Dsd,index=3D2,media=3Dcdrom= ,readonly=3Don \ --drive if=3Dsd,index=3D3,media=3Dcdrom \ +-drive file=3D/root/boot2.iso,format=3Draw,if=3Dsd,index=3D2,readonly=3Don= \ +-drive if=3Dsd,index=3D3 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692417694778.5456054552485; Mon, 28 Jan 2019 08:20:17 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C537E804F4; Mon, 28 Jan 2019 16:20:13 +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 3A5B61054FD2; Mon, 28 Jan 2019 16:20:11 +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 BE07E3F60B; Mon, 28 Jan 2019 16:20:10 +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 x0SGJaVc018280 for ; Mon, 28 Jan 2019 11:19:36 -0500 Received: by smtp.corp.redhat.com (Postfix) id 369C682EDC; Mon, 28 Jan 2019 16:19:36 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id B1CE182ED8 for ; Mon, 28 Jan 2019 16:19:35 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:57 +0100 Message-Id: <52c62735a71a93a8d89d60d4af92ba7560fa2df9.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 28/32] tests: qemuxml2argv: Add a 'serial' value for a SCSI disk 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: , 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.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 28 Jan 2019 16:20:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Upcoming addition of a new field will need to make sure that SCSI disk serial is tested as well. Add a case to one of the existing tests. Signed-off-by: Peter Krempa --- tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args | 2 +- tests/qemuxml2argvdata/disk-scsi.xml | 1 + tests/qemuxml2xmloutdata/disk-scsi.xml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args index ac9f3ff02e..68a8b2921d 100644 --- a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -34,7 +34,7 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ -drive file=3D/tmp/scsidisk2.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0= -0-0 \ -device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ -id=3Dscsi1-0-0-0 \ +id=3Dscsi1-0-0-0,serial=3Dabcdefghijklmn \ -drive file=3D/tmp/scsidisk3.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi2-0= -0-0 \ -device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ id=3Dscsi2-0-0-0,wwn=3D0x5000c50015ea71ac \ diff --git a/tests/qemuxml2argvdata/disk-scsi.xml b/tests/qemuxml2argvdata/= disk-scsi.xml index 496d8cab39..dda413eb0c 100644 --- a/tests/qemuxml2argvdata/disk-scsi.xml +++ b/tests/qemuxml2argvdata/disk-scsi.xml @@ -28,6 +28,7 @@
+ abcdefghijklmn diff --git a/tests/qemuxml2xmloutdata/disk-scsi.xml b/tests/qemuxml2xmloutd= ata/disk-scsi.xml index 96c0cfec74..9cfff4b14e 100644 --- a/tests/qemuxml2xmloutdata/disk-scsi.xml +++ b/tests/qemuxml2xmloutdata/disk-scsi.xml @@ -30,6 +30,7 @@ + abcdefghijklmn
--=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692389392883.967018442698; Mon, 28 Jan 2019 08:19:49 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BAFF0C059B7A; Mon, 28 Jan 2019 16:19:46 +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 63C255E1C7; Mon, 28 Jan 2019 16:19:46 +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 057003F603; Mon, 28 Jan 2019 16:19:46 +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 x0SGJbMm018303 for ; Mon, 28 Jan 2019 11:19:37 -0500 Received: by smtp.corp.redhat.com (Postfix) id A3F3282ED8; Mon, 28 Jan 2019 16:19:37 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id EAC4B82EE1 for ; Mon, 28 Jan 2019 16:19:36 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:58 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 29/32] DON'T PUSH: test: qemucaps: Update caps with scsi 'device_id' patches 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Jan 2019 16:19:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" They are not commited upstream so this patch needs to be regenerated. --- .../caps_4.0.0.x86_64.replies | 2731 ++++++++--------- .../caps_4.0.0.x86_64.xml | 17 +- 2 files changed, 1364 insertions(+), 1384 deletions(-) diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies b/tests/q= emucapabilitiesdata/caps_4.0.0.x86_64.replies index f39f047f1f..6f22633760 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.replies @@ -21,7 +21,7 @@ "minor": 1, "major": 3 }, - "package": "v3.1.0-759-g15bede5541" + "package": "v3.1.0-1222-g90315924b9" }, "id": "libvirt-2" } @@ -411,9 +411,6 @@ { "name": "nbd-server-stop" }, - { - "name": "x-nbd-server-add-bitmap" - }, { "name": "nbd-server-remove" }, @@ -502,13 +499,13 @@ "name": "x-debug-block-dirty-bitmap-sha256" }, { - "name": "x-block-dirty-bitmap-merge" + "name": "block-dirty-bitmap-merge" }, { - "name": "x-block-dirty-bitmap-disable" + "name": "block-dirty-bitmap-disable" }, { - "name": "x-block-dirty-bitmap-enable" + "name": "block-dirty-bitmap-enable" }, { "name": "block-dirty-bitmap-clear" @@ -801,10 +798,6 @@ "name": "virtio-keyboard-pci", "parent": "virtio-input-hid-pci" }, - { - "name": "xen-sysbus", - "parent": "bus" - }, { "name": "i440FX", "parent": "pci-device" @@ -841,10 +834,6 @@ "name": "chardev-pty", "parent": "chardev" }, - { - "name": "xen-apic", - "parent": "apic-common" - }, { "name": "SUNW,fdtwo", "parent": "base-sysbus-fdc" @@ -865,14 +854,14 @@ "name": "filter-rewriter", "parent": "netfilter" }, - { - "name": "virtio-serial-pci", - "parent": "virtio-serial-pci-base" - }, { "name": "pc-q35-4.0-machine", "parent": "generic-pc-machine" }, + { + "name": "virtio-serial-pci", + "parent": "virtio-serial-pci-base" + }, { "name": "Nehalem-IBRS-x86_64-cpu", "parent": "x86_64-cpu" @@ -893,6 +882,10 @@ "name": "usb-host", "parent": "usb-device" }, + { + "name": "usb-mtp", + "parent": "usb-device" + }, { "name": "Icelake-Client-x86_64-cpu", "parent": "x86_64-cpu" @@ -906,12 +899,12 @@ "parent": "pci-device" }, { - "name": "qemu64-x86_64-cpu", - "parent": "x86_64-cpu" + "name": "pc-i440fx-1.4-machine", + "parent": "generic-pc-machine" }, { - "name": "PIIX3-xen", - "parent": "pci-piix3" + "name": "qemu64-x86_64-cpu", + "parent": "x86_64-cpu" }, { "name": "virtio-input-host-pci", @@ -930,16 +923,12 @@ "parent": "e1000-base" }, { - "name": "ICH9-LPC", - "parent": "pci-device" - }, - { - "name": "pc-i440fx-1.4-machine", - "parent": "generic-pc-machine" + "name": "PIIX3-xen", + "parent": "pci-piix3" }, { - "name": "ich9-usb-uhci6", - "parent": "pci-uhci-usb" + "name": "ICH9-LPC", + "parent": "pci-device" }, { "name": "sysbus-ahci", @@ -950,12 +939,12 @@ "parent": "pci-uhci-usb" }, { - "name": "pc-q35-2.6-machine", - "parent": "generic-pc-machine" + "name": "ich9-usb-uhci6", + "parent": "pci-uhci-usb" }, { - "name": "usb-mtp", - "parent": "usb-device" + "name": "pc-q35-2.6-machine", + "parent": "generic-pc-machine" }, { "name": "ccid-card-emulated", @@ -1009,10 +998,6 @@ "name": "rtl8139", "parent": "pci-device" }, - { - "name": "virtio-input-host-pci-transitional", - "parent": "virtio-input-host-pci-base" - }, { "name": "chardev-hci", "parent": "chardev" @@ -1057,10 +1042,6 @@ "name": "unimplemented-device", "parent": "sys-bus-device" }, - { - "name": "tls-creds-anon", - "parent": "tls-creds" - }, { "name": "pc-i440fx-3.0-machine", "parent": "generic-pc-machine" @@ -1082,8 +1063,8 @@ "parent": "object" }, { - "name": "vhost-scsi-pci", - "parent": "vhost-scsi-pci-base" + "name": "pc-i440fx-2.12-machine", + "parent": "generic-pc-machine" }, { "name": "floppy-bus", @@ -1097,21 +1078,21 @@ "name": "virtio-vga", "parent": "virtio-pci" }, - { - "name": "pc-i440fx-2.12-machine", - "parent": "generic-pc-machine" - }, { "name": "vmware-svga", "parent": "pci-device" }, + { + "name": "isa-serial", + "parent": "isa-device" + }, { "name": "pc-0.13-machine", "parent": "generic-pc-machine" }, { - "name": "isa-serial", - "parent": "isa-device" + "name": "virtio-input-host-pci-transitional", + "parent": "virtio-input-host-pci-base" }, { "name": "virtio-serial-device", @@ -1121,6 +1102,10 @@ "name": "isa-debug-exit", "parent": "isa-device" }, + { + "name": "vhost-scsi-pci", + "parent": "vhost-scsi-pci-base" + }, { "name": "chardev-gdb", "parent": "chardev" @@ -1134,8 +1119,8 @@ "parent": "isa-device" }, { - "name": "xen-backend", - "parent": "xen-sysdev" + "name": "tls-creds-anon", + "parent": "tls-creds" }, { "name": "Haswell-noTSX-IBRS-x86_64-cpu", @@ -1521,14 +1506,14 @@ "name": "Westmere-IBRS-x86_64-cpu", "parent": "x86_64-cpu" }, - { - "name": "Cascadelake-Server-x86_64-cpu", - "parent": "x86_64-cpu" - }, { "name": "usb-serial", "parent": "usb-serial-dev" }, + { + "name": "Cascadelake-Server-x86_64-cpu", + "parent": "x86_64-cpu" + }, { "name": "vt82c686b-usb-uhci", "parent": "pci-uhci-usb" @@ -1545,10 +1530,6 @@ "name": "vhost-user-scsi-pci-non-transitional", "parent": "vhost-user-scsi-pci-base" }, - { - "name": "xen-sysdev", - "parent": "sys-bus-device" - }, { "name": "intel-iommu", "parent": "x86-iommu" @@ -1617,10 +1598,6 @@ "name": "ccid-bus", "parent": "bus" }, - { - "name": "xenpv-machine", - "parent": "machine" - }, { "name": "EPYC-IBPB-x86_64-cpu", "parent": "x86_64-cpu" @@ -1874,11 +1851,11 @@ "parent": "virtio-pci" }, { - "name": "ich9-usb-ehci1", + "name": "ich9-usb-ehci2", "parent": "pci-ehci-usb" }, { - "name": "ich9-usb-ehci2", + "name": "ich9-usb-ehci1", "parent": "pci-ehci-usb" }, { @@ -1965,14 +1942,14 @@ "name": "pc-dimm", "parent": "device" }, - { - "name": "vhost-vsock-pci-non-transitional", - "parent": "vhost-vsock-pci-base" - }, { "name": "gus", "parent": "isa-device" }, + { + "name": "vhost-vsock-pci-non-transitional", + "parent": "vhost-vsock-pci-base" + }, { "name": "hyperv-testdev", "parent": "isa-device" @@ -1985,10 +1962,6 @@ "name": "pc-i440fx-2.2-machine", "parent": "generic-pc-machine" }, - { - "name": "xen-pci-passthrough", - "parent": "pci-device" - }, { "name": "cryptodev-backend", "parent": "object" @@ -2113,10 +2086,6 @@ "name": "virtio-9p-device", "parent": "virtio-device" }, - { - "name": "ivshmem", - "parent": "ivshmem-common" - }, { "name": "imx-usdhc", "parent": "generic-sdhci" @@ -2141,18 +2110,10 @@ "name": "virtio-scsi-pci", "parent": "virtio-scsi-pci-base" }, - { - "name": "piix3-ide", - "parent": "pci-ide" - }, { "name": "virtio-pci-bus", "parent": "virtio-bus" }, - { - "name": "xen-pvdevice", - "parent": "pci-device" - }, { "name": "ES1370", "parent": "pci-device" @@ -2162,8 +2123,8 @@ "parent": "pcie-port" }, { - "name": "xenfv-machine", - "parent": "generic-pc-machine" + "name": "piix3-ide", + "parent": "pci-ide" }, { "name": "pci-testdev", @@ -2198,36 +2159,32 @@ "parent": "virtserialport" }, { - "name": "vhost-user-scsi-pci-transitional", - "parent": "vhost-user-scsi-pci-base" + "name": "pci-serial-2x", + "parent": "pci-device" }, { "name": "pentium3-x86_64-cpu", "parent": "x86_64-cpu" }, { - "name": "pci-serial-2x", - "parent": "pci-device" + "name": "vhost-user-scsi-pci-transitional", + "parent": "vhost-user-scsi-pci-base" }, { "name": "ne2k_isa", "parent": "isa-device" }, - { - "name": "Nehalem-x86_64-cpu", - "parent": "x86_64-cpu" - }, { "name": "isa-fdc", "parent": "isa-device" }, { - "name": "pc-i440fx-2.6-machine", - "parent": "generic-pc-machine" + "name": "Nehalem-x86_64-cpu", + "parent": "x86_64-cpu" }, { - "name": "xen-platform", - "parent": "pci-device" + "name": "pc-i440fx-2.6-machine", + "parent": "generic-pc-machine" }, { "name": "chardev-serial", @@ -2241,14 +2198,14 @@ "name": "colo-compare", "parent": "object" }, - { - "name": "e1000e", - "parent": "pci-device" - }, { "name": "virtio-tablet-pci", "parent": "virtio-input-hid-pci" }, + { + "name": "e1000e", + "parent": "pci-device" + }, { "name": "usb-bus", "parent": "bus" @@ -2317,10 +2274,6 @@ "name": "isa-applesmc", "parent": "isa-device" }, - { - "name": "xen-accel", - "parent": "accel" - }, { "name": "secret", "parent": "object" @@ -2361,22 +2314,22 @@ "name": "sysbus-fdc", "parent": "base-sysbus-fdc" }, - { - "name": "megasas-gen2", - "parent": "megasas-base" - }, - { - "name": "vhost-scsi-pci-transitional", - "parent": "vhost-scsi-pci-base" - }, { "name": "ramfb", "parent": "sys-bus-device" }, + { + "name": "megasas-gen2", + "parent": "megasas-base" + }, { "name": "pc-1.0-machine", "parent": "generic-pc-machine" }, + { + "name": "vhost-scsi-pci-transitional", + "parent": "vhost-scsi-pci-base" + }, { "name": "core2duo-x86_64-cpu", "parent": "x86_64-cpu" @@ -2494,8 +2447,8 @@ "parent": "pit-common" }, { - "name": "virtio-net-pci-non-transitional", - "parent": "virtio-net-pci-base" + "name": "pc-1.2-machine", + "parent": "generic-pc-machine" }, { "name": "vfio-platform", @@ -2506,8 +2459,8 @@ "parent": "pci-device" }, { - "name": "pc-1.2-machine", - "parent": "generic-pc-machine" + "name": "virtio-net-pci-non-transitional", + "parent": "virtio-net-pci-base" }, { "name": "virtio-scsi-pci-non-transitional", @@ -2853,15 +2806,19 @@ "type": "bool" }, { - "name": "x-pcie-pm-init", + "name": "indirect_desc", "description": "on/off", "type": "bool" }, { - "name": "indirect_desc", + "name": "x-pcie-pm-init", "description": "on/off", "type": "bool" }, + { + "name": "rsc_interval", + "type": "uint32" + }, { "name": "guest_csum", "description": "on/off", @@ -3103,6 +3060,11 @@ "description": "on/off", "type": "bool" }, + { + "name": "guest_rsc_ext", + "description": "on/off", + "type": "bool" + }, { "name": "rx_queue_size", "type": "uint16" @@ -3489,98 +3451,81 @@ { "return": [ { - "name": "serial", - "type": "str" + "name": "min_io_size", + "type": "uint16" }, { - "name": "port_index", - "type": "uint16" + "name": "secs", + "type": "uint32" }, { - "name": "dpofua", + "name": "removable", "description": "on/off", "type": "bool" }, { - "name": "lun", + "name": "channel", "type": "uint32" }, { - "name": "logical_block_size", - "description": "A power of two between 512 and 32768", - "type": "uint16" - }, - { - "name": "discard_granularity", + "name": "heads", "type": "uint32" }, { - "name": "scsi_version", - "type": "int32" + "name": "lun", + "type": "uint32" }, { - "name": "max_unmap_size", - "type": "uint64" + "name": "dpofua", + "description": "on/off", + "type": "bool" }, { - "name": "drive", - "description": "Node name or ID of a block device to use as a backen= d", + "name": "ver", "type": "str" }, { - "name": "port_wwn", - "type": "uint64" - }, - { - "name": "write-cache", - "description": "on/off/auto", - "type": "OnOffAuto" + "name": "scsi-id", + "type": "uint32" }, { - "name": "share-rw", - "type": "bool" + "name": "cyls", + "type": "uint32" }, { - "name": "min_io_size", + "name": "logical_block_size", + "description": "A power of two between 512 and 32768", "type": "uint16" }, { - "name": "opt_io_size", - "type": "uint32" + "name": "rotation_rate", + "type": "uint16" }, { - "name": "product", + "name": "drive", + "description": "Node name or ID of a block device to use as a backen= d", "type": "str" }, { - "name": "scsi-id", - "type": "uint32" - }, - { - "name": "bootindex", + "name": "scsi_version", "type": "int32" }, { - "name": "vendor", - "type": "str" + "name": "werror", + "description": "Error handling policy, report/ignore/enospc/stop/aut= o", + "type": "BlockdevOnError" }, { - "name": "channel", + "name": "discard_granularity", "type": "uint32" }, { - "name": "wwn", + "name": "port_wwn", "type": "uint64" }, { - "name": "werror", - "description": "Error handling policy, report/ignore/enospc/stop/aut= o", - "type": "BlockdevOnError" - }, - { - "name": "removable", - "description": "on/off", - "type": "bool" + "name": "max_unmap_size", + "type": "uint64" }, { "name": "rerror", @@ -3588,7 +3533,27 @@ "type": "BlockdevOnError" }, { - "name": "ver", + "name": "max_io_size", + "type": "uint64" + }, + { + "name": "device_id", + "type": "str" + }, + { + "name": "wwn", + "type": "uint64" + }, + { + "name": "share-rw", + "type": "bool" + }, + { + "name": "product", + "type": "str" + }, + { + "name": "vendor", "type": "str" }, { @@ -3597,8 +3562,25 @@ "type": "uint16" }, { - "name": "max_io_size", - "type": "uint64" + "name": "port_index", + "type": "uint16" + }, + { + "name": "bootindex", + "type": "int32" + }, + { + "name": "serial", + "type": "str" + }, + { + "name": "write-cache", + "description": "on/off/auto", + "type": "OnOffAuto" + }, + { + "name": "opt_io_size", + "type": "uint32" } ], "id": "libvirt-15" @@ -3618,6 +3600,10 @@ "name": "serial", "type": "str" }, + { + "name": "secs", + "type": "uint32" + }, { "name": "logical_block_size", "description": "A power of two between 512 and 32768", @@ -3627,14 +3613,22 @@ "name": "discard_granularity", "type": "uint32" }, + { + "name": "bootindex", + "type": "int32" + }, + { + "name": "rotation_rate", + "type": "uint16" + }, { "name": "drive", "description": "Node name or ID of a block device to use as a backen= d", "type": "str" }, { - "name": "bootindex", - "type": "int32" + "name": "heads", + "type": "uint32" }, { "name": "write-cache", @@ -3653,6 +3647,11 @@ "name": "opt_io_size", "type": "uint32" }, + { + "name": "bios-chs-trans", + "description": "Logical CHS translation algorithm, auto/none/lba/lar= ge/rechs", + "type": "BiosAtaTranslation" + }, { "name": "unit", "type": "uint32" @@ -3683,6 +3682,10 @@ "name": "physical_block_size", "description": "A power of two between 512 and 32768", "type": "uint16" + }, + { + "name": "cyls", + "type": "uint32" } ], "id": "libvirt-16" @@ -5312,11 +5315,6 @@ "name": "pc-i440fx-2.7", "cpu-max": 255 }, - { - "hotpluggable-cpus": true, - "name": "xenfv", - "cpu-max": 128 - }, { "hotpluggable-cpus": true, "name": "pc-i440fx-2.3", @@ -5374,11 +5372,6 @@ "name": "pc-q35-3.0", "cpu-max": 288 }, - { - "hotpluggable-cpus": false, - "name": "xenpv", - "cpu-max": 1 - }, { "hotpluggable-cpus": true, "name": "pc-q35-2.10", @@ -5466,12 +5459,12 @@ }, { "hotpluggable-cpus": true, - "name": "pc-i440fx-1.4", + "name": "pc-i440fx-2.10", "cpu-max": 255 }, { "hotpluggable-cpus": true, - "name": "pc-i440fx-2.10", + "name": "pc-i440fx-1.4", "cpu-max": 255 }, { @@ -7605,19 +7598,19 @@ "arg-type": "31" }, { - "name": "x-block-dirty-bitmap-enable", + "name": "block-dirty-bitmap-enable", "ret-type": "0", "meta-type": "command", "arg-type": "31" }, { - "name": "x-block-dirty-bitmap-disable", + "name": "block-dirty-bitmap-disable", "ret-type": "0", "meta-type": "command", "arg-type": "31" }, { - "name": "x-block-dirty-bitmap-merge", + "name": "block-dirty-bitmap-merge", "ret-type": "0", "meta-type": "command", "arg-type": "32" @@ -7836,12 +7829,6 @@ "meta-type": "command", "arg-type": "70" }, - { - "name": "x-nbd-server-add-bitmap", - "ret-type": "0", - "meta-type": "command", - "arg-type": "71" - }, { "name": "nbd-server-stop", "ret-type": "0", @@ -7851,32 +7838,32 @@ { "name": "DEVICE_TRAY_MOVED", "meta-type": "event", - "arg-type": "72" + "arg-type": "71" }, { "name": "PR_MANAGER_STATUS_CHANGED", "meta-type": "event", - "arg-type": "73" + "arg-type": "72" }, { "name": "QUORUM_FAILURE", "meta-type": "event", - "arg-type": "74" + "arg-type": "73" }, { "name": "QUORUM_REPORT_BAD", "meta-type": "event", - "arg-type": "75" + "arg-type": "74" }, { "name": "query-chardev", - "ret-type": "[76]", + "ret-type": "[75]", "meta-type": "command", "arg-type": "0" }, { "name": "query-chardev-backends", - "ret-type": "[77]", + "ret-type": "[76]", "meta-type": "command", "arg-type": "0" }, @@ -7884,116 +7871,116 @@ "name": "ringbuf-write", "ret-type": "0", "meta-type": "command", - "arg-type": "78" + "arg-type": "77" }, { "name": "ringbuf-read", "ret-type": "str", "meta-type": "command", - "arg-type": "79" + "arg-type": "78" }, { "name": "chardev-add", - "ret-type": "81", + "ret-type": "80", "meta-type": "command", - "arg-type": "80" + "arg-type": "79" }, { "name": "chardev-change", - "ret-type": "81", + "ret-type": "80", "meta-type": "command", - "arg-type": "82" + "arg-type": "81" }, { "name": "chardev-remove", "ret-type": "0", "meta-type": "command", - "arg-type": "83" + "arg-type": "82" }, { "name": "chardev-send-break", "ret-type": "0", "meta-type": "command", - "arg-type": "84" + "arg-type": "83" }, { "name": "VSERPORT_CHANGE", "meta-type": "event", - "arg-type": "85" + "arg-type": "84" }, { "name": "set_link", "ret-type": "0", "meta-type": "command", - "arg-type": "86" + "arg-type": "85" }, { "name": "netdev_add", "ret-type": "0", "meta-type": "command", - "arg-type": "87" + "arg-type": "86" }, { "name": "netdev_del", "ret-type": "0", "meta-type": "command", - "arg-type": "88" + "arg-type": "87" }, { "name": "query-rx-filter", - "ret-type": "[90]", + "ret-type": "[89]", "meta-type": "command", - "arg-type": "89" + "arg-type": "88" }, { "name": "NIC_RX_FILTER_CHANGED", "meta-type": "event", - "arg-type": "91" + "arg-type": "90" }, { "name": "RDMA_GID_STATUS_CHANGED", "meta-type": "event", - "arg-type": "92" + "arg-type": "91" }, { "name": "query-rocker", - "ret-type": "94", + "ret-type": "93", "meta-type": "command", - "arg-type": "93" + "arg-type": "92" }, { "name": "query-rocker-ports", - "ret-type": "[96]", + "ret-type": "[95]", "meta-type": "command", - "arg-type": "95" + "arg-type": "94" }, { "name": "query-rocker-of-dpa-flows", - "ret-type": "[98]", + "ret-type": "[97]", "meta-type": "command", - "arg-type": "97" + "arg-type": "96" }, { "name": "query-rocker-of-dpa-groups", - "ret-type": "[100]", + "ret-type": "[99]", "meta-type": "command", - "arg-type": "99" + "arg-type": "98" }, { "name": "query-tpm-models", - "ret-type": "[101]", + "ret-type": "[100]", "meta-type": "command", "arg-type": "0" }, { "name": "query-tpm-types", - "ret-type": "[102]", + "ret-type": "[101]", "meta-type": "command", "arg-type": "0" }, { "name": "query-tpm", - "ret-type": "[103]", + "ret-type": "[102]", "meta-type": "command", "arg-type": "0" }, @@ -8001,40 +7988,40 @@ "name": "set_password", "ret-type": "0", "meta-type": "command", - "arg-type": "104" + "arg-type": "103" }, { "name": "expire_password", "ret-type": "0", "meta-type": "command", - "arg-type": "105" + "arg-type": "104" }, { "name": "screendump", "ret-type": "0", "meta-type": "command", - "arg-type": "106" + "arg-type": "105" }, { "name": "query-spice", - "ret-type": "107", + "ret-type": "106", "meta-type": "command", "arg-type": "0" }, { "name": "SPICE_CONNECTED", "meta-type": "event", - "arg-type": "108" + "arg-type": "107" }, { "name": "SPICE_INITIALIZED", "meta-type": "event", - "arg-type": "109" + "arg-type": "108" }, { "name": "SPICE_DISCONNECTED", "meta-type": "event", - "arg-type": "110" + "arg-type": "109" }, { "name": "SPICE_MIGRATE_COMPLETED", @@ -8043,13 +8030,13 @@ }, { "name": "query-vnc", - "ret-type": "111", + "ret-type": "110", "meta-type": "command", "arg-type": "0" }, { "name": "query-vnc-servers", - "ret-type": "[112]", + "ret-type": "[111]", "meta-type": "command", "arg-type": "0" }, @@ -8057,26 +8044,26 @@ "name": "change-vnc-password", "ret-type": "0", "meta-type": "command", - "arg-type": "113" + "arg-type": "112" }, { "name": "VNC_CONNECTED", "meta-type": "event", - "arg-type": "114" + "arg-type": "113" }, { "name": "VNC_INITIALIZED", "meta-type": "event", - "arg-type": "115" + "arg-type": "114" }, { "name": "VNC_DISCONNECTED", "meta-type": "event", - "arg-type": "116" + "arg-type": "115" }, { "name": "query-mice", - "ret-type": "[117]", + "ret-type": "[116]", "meta-type": "command", "arg-type": "0" }, @@ -8084,23 +8071,23 @@ "name": "send-key", "ret-type": "0", "meta-type": "command", - "arg-type": "118" + "arg-type": "117" }, { "name": "input-send-event", "ret-type": "0", "meta-type": "command", - "arg-type": "119" + "arg-type": "118" }, { "name": "query-display-options", - "ret-type": "120", + "ret-type": "119", "meta-type": "command", "arg-type": "0" }, { "name": "query-migrate", - "ret-type": "121", + "ret-type": "120", "meta-type": "command", "arg-type": "0" }, @@ -8108,11 +8095,11 @@ "name": "migrate-set-capabilities", "ret-type": "0", "meta-type": "command", - "arg-type": "122" + "arg-type": "121" }, { "name": "query-migrate-capabilities", - "ret-type": "[123]", + "ret-type": "[122]", "meta-type": "command", "arg-type": "0" }, @@ -8120,11 +8107,11 @@ "name": "migrate-set-parameters", "ret-type": "0", "meta-type": "command", - "arg-type": "124" + "arg-type": "123" }, { "name": "query-migrate-parameters", - "ret-type": "125", + "ret-type": "124", "meta-type": "command", "arg-type": "0" }, @@ -8132,7 +8119,7 @@ "name": "client_migrate_info", "ret-type": "0", "meta-type": "command", - "arg-type": "126" + "arg-type": "125" }, { "name": "migrate-start-postcopy", @@ -8143,17 +8130,17 @@ { "name": "MIGRATION", "meta-type": "event", - "arg-type": "127" + "arg-type": "126" }, { "name": "MIGRATION_PASS", "meta-type": "event", - "arg-type": "128" + "arg-type": "127" }, { "name": "COLO_EXIT", "meta-type": "event", - "arg-type": "129" + "arg-type": "128" }, { "name": "x-colo-lost-heartbeat", @@ -8171,25 +8158,25 @@ "name": "migrate-continue", "ret-type": "0", "meta-type": "command", - "arg-type": "130" + "arg-type": "129" }, { "name": "migrate_set_downtime", "ret-type": "0", "meta-type": "command", - "arg-type": "131" + "arg-type": "130" }, { "name": "migrate_set_speed", "ret-type": "0", "meta-type": "command", - "arg-type": "132" + "arg-type": "131" }, { "name": "migrate-set-cache-size", "ret-type": "0", "meta-type": "command", - "arg-type": "133" + "arg-type": "132" }, { "name": "query-migrate-cache-size", @@ -8201,29 +8188,29 @@ "name": "migrate", "ret-type": "0", "meta-type": "command", - "arg-type": "134" + "arg-type": "133" }, { "name": "migrate-incoming", "ret-type": "0", "meta-type": "command", - "arg-type": "135" + "arg-type": "134" }, { "name": "xen-save-devices-state", "ret-type": "0", "meta-type": "command", - "arg-type": "136" + "arg-type": "135" }, { "name": "xen-set-replication", "ret-type": "0", "meta-type": "command", - "arg-type": "137" + "arg-type": "136" }, { "name": "query-xen-replication-status", - "ret-type": "138", + "ret-type": "137", "meta-type": "command", "arg-type": "0" }, @@ -8235,7 +8222,7 @@ }, { "name": "query-colo-status", - "ret-type": "139", + "ret-type": "138", "meta-type": "command", "arg-type": "0" }, @@ -8244,7 +8231,7 @@ "ret-type": "0", "allow-oob": true, "meta-type": "command", - "arg-type": "140" + "arg-type": "139" }, { "name": "migrate-pause", @@ -8257,23 +8244,23 @@ "name": "transaction", "ret-type": "0", "meta-type": "command", - "arg-type": "141" + "arg-type": "140" }, { "name": "trace-event-get-state", - "ret-type": "[143]", + "ret-type": "[142]", "meta-type": "command", - "arg-type": "142" + "arg-type": "141" }, { "name": "trace-event-set-state", "ret-type": "0", "meta-type": "command", - "arg-type": "144" + "arg-type": "143" }, { "name": "query-qmp-schema", - "ret-type": "[145]", + "ret-type": "[144]", "meta-type": "command", "arg-type": "0" }, @@ -8281,17 +8268,17 @@ "name": "qmp_capabilities", "ret-type": "0", "meta-type": "command", - "arg-type": "146" + "arg-type": "145" }, { "name": "query-version", - "ret-type": "147", + "ret-type": "146", "meta-type": "command", "arg-type": "0" }, { "name": "query-commands", - "ret-type": "[148]", + "ret-type": "[147]", "meta-type": "command", "arg-type": "0" }, @@ -8299,64 +8286,64 @@ "name": "add_client", "ret-type": "0", "meta-type": "command", - "arg-type": "149" + "arg-type": "148" }, { "name": "query-name", - "ret-type": "150", + "ret-type": "149", "meta-type": "command", "arg-type": "0" }, { "name": "query-kvm", - "ret-type": "151", + "ret-type": "150", "meta-type": "command", "arg-type": "0" }, { "name": "query-uuid", - "ret-type": "152", + "ret-type": "151", "meta-type": "command", "arg-type": "0" }, { "name": "query-events", - "ret-type": "[153]", + "ret-type": "[152]", "meta-type": "command", "arg-type": "0" }, { "name": "query-cpus", - "ret-type": "[154]", + "ret-type": "[153]", "meta-type": "command", "arg-type": "0" }, { "name": "query-cpus-fast", - "ret-type": "[155]", + "ret-type": "[154]", "meta-type": "command", "arg-type": "0" }, { "name": "query-iothreads", - "ret-type": "[156]", + "ret-type": "[155]", "meta-type": "command", "arg-type": "0" }, { "name": "query-balloon", - "ret-type": "157", + "ret-type": "156", "meta-type": "command", "arg-type": "0" }, { "name": "BALLOON_CHANGE", "meta-type": "event", - "arg-type": "158" + "arg-type": "157" }, { "name": "query-pci", - "ret-type": "[159]", + "ret-type": "[158]", "meta-type": "command", "arg-type": "0" }, @@ -8388,19 +8375,19 @@ "name": "cpu-add", "ret-type": "0", "meta-type": "command", - "arg-type": "160" + "arg-type": "159" }, { "name": "memsave", "ret-type": "0", "meta-type": "command", - "arg-type": "161" + "arg-type": "160" }, { "name": "pmemsave", "ret-type": "0", "meta-type": "command", - "arg-type": "162" + "arg-type": "161" }, { "name": "cont", @@ -8430,99 +8417,99 @@ "name": "balloon", "ret-type": "0", "meta-type": "command", - "arg-type": "163" + "arg-type": "162" }, { "name": "human-monitor-command", "ret-type": "str", "meta-type": "command", - "arg-type": "164" + "arg-type": "163" }, { "name": "qom-list", - "ret-type": "[166]", + "ret-type": "[165]", "meta-type": "command", - "arg-type": "165" + "arg-type": "164" }, { "name": "qom-get", "ret-type": "any", "meta-type": "command", - "arg-type": "167" + "arg-type": "166" }, { "name": "qom-set", "ret-type": "0", "meta-type": "command", - "arg-type": "168" + "arg-type": "167" }, { "name": "change", "ret-type": "0", "meta-type": "command", - "arg-type": "169" + "arg-type": "168" }, { "name": "qom-list-types", - "ret-type": "[171]", + "ret-type": "[170]", "meta-type": "command", - "arg-type": "170" + "arg-type": "169" }, { "name": "device-list-properties", - "ret-type": "[166]", + "ret-type": "[165]", "meta-type": "command", - "arg-type": "172" + "arg-type": "171" }, { "name": "qom-list-properties", - "ret-type": "[166]", + "ret-type": "[165]", "meta-type": "command", - "arg-type": "173" + "arg-type": "172" }, { "name": "xen-set-global-dirty-log", "ret-type": "0", "meta-type": "command", - "arg-type": "174" + "arg-type": "173" }, { "name": "device_add", "ret-type": "0", "meta-type": "command", - "arg-type": "175" + "arg-type": "174" }, { "name": "device_del", "ret-type": "0", "meta-type": "command", - "arg-type": "176" + "arg-type": "175" }, { "name": "DEVICE_DELETED", "meta-type": "event", - "arg-type": "177" + "arg-type": "176" }, { "name": "dump-guest-memory", "ret-type": "0", "meta-type": "command", - "arg-type": "178" + "arg-type": "177" }, { "name": "query-dump", - "ret-type": "179", + "ret-type": "178", "meta-type": "command", "arg-type": "0" }, { "name": "DUMP_COMPLETED", "meta-type": "event", - "arg-type": "180" + "arg-type": "179" }, { "name": "query-dump-guest-memory-capability", - "ret-type": "181", + "ret-type": "180", "meta-type": "command", "arg-type": "0" }, @@ -8530,131 +8517,131 @@ "name": "dump-skeys", "ret-type": "0", "meta-type": "command", - "arg-type": "182" + "arg-type": "181" }, { "name": "object-add", "ret-type": "0", "meta-type": "command", - "arg-type": "183" + "arg-type": "182" }, { "name": "object-del", "ret-type": "0", "meta-type": "command", - "arg-type": "184" + "arg-type": "183" }, { "name": "getfd", "ret-type": "0", "meta-type": "command", - "arg-type": "185" + "arg-type": "184" }, { "name": "closefd", "ret-type": "0", "meta-type": "command", - "arg-type": "186" + "arg-type": "185" }, { "name": "query-machines", - "ret-type": "[187]", + "ret-type": "[186]", "meta-type": "command", "arg-type": "0" }, { "name": "query-current-machine", - "ret-type": "188", + "ret-type": "187", "meta-type": "command", "arg-type": "0" }, { "name": "query-memory-size-summary", - "ret-type": "189", + "ret-type": "188", "meta-type": "command", "arg-type": "0" }, { "name": "query-cpu-definitions", - "ret-type": "[190]", + "ret-type": "[189]", "meta-type": "command", "arg-type": "0" }, { "name": "query-cpu-model-expansion", - "ret-type": "192", + "ret-type": "191", "meta-type": "command", - "arg-type": "191" + "arg-type": "190" }, { "name": "query-cpu-model-comparison", - "ret-type": "194", + "ret-type": "193", "meta-type": "command", - "arg-type": "193" + "arg-type": "192" }, { "name": "query-cpu-model-baseline", - "ret-type": "196", + "ret-type": "195", "meta-type": "command", - "arg-type": "195" + "arg-type": "194" }, { "name": "add-fd", - "ret-type": "198", + "ret-type": "197", "meta-type": "command", - "arg-type": "197" + "arg-type": "196" }, { "name": "remove-fd", "ret-type": "0", "meta-type": "command", - "arg-type": "199" + "arg-type": "198" }, { "name": "query-fdsets", - "ret-type": "[200]", + "ret-type": "[199]", "meta-type": "command", "arg-type": "0" }, { "name": "query-target", - "ret-type": "201", + "ret-type": "200", "meta-type": "command", "arg-type": "0" }, { "name": "query-command-line-options", - "ret-type": "[203]", + "ret-type": "[202]", "meta-type": "command", - "arg-type": "202" + "arg-type": "201" }, { "name": "query-memdev", - "ret-type": "[204]", + "ret-type": "[203]", "meta-type": "command", "arg-type": "0" }, { "name": "query-memory-devices", - "ret-type": "[205]", + "ret-type": "[204]", "meta-type": "command", "arg-type": "0" }, { "name": "MEM_UNPLUG_ERROR", "meta-type": "event", - "arg-type": "206" + "arg-type": "205" }, { "name": "query-acpi-ospm-status", - "ret-type": "[207]", + "ret-type": "[206]", "meta-type": "command", "arg-type": "0" }, { "name": "ACPI_DEVICE_OST", "meta-type": "event", - "arg-type": "208" + "arg-type": "207" }, { "name": "rtc-reset-reinjection", @@ -8665,47 +8652,47 @@ { "name": "RTC_CHANGE", "meta-type": "event", - "arg-type": "209" + "arg-type": "208" }, { "name": "xen-load-devices-state", "ret-type": "0", "meta-type": "command", - "arg-type": "210" + "arg-type": "209" }, { "name": "query-gic-capabilities", - "ret-type": "[211]", + "ret-type": "[210]", "meta-type": "command", "arg-type": "0" }, { "name": "query-hotpluggable-cpus", - "ret-type": "[212]", + "ret-type": "[211]", "meta-type": "command", "arg-type": "0" }, { "name": "query-vm-generation-id", - "ret-type": "213", + "ret-type": "212", "meta-type": "command", "arg-type": "0" }, { "name": "query-sev", - "ret-type": "214", + "ret-type": "213", "meta-type": "command", "arg-type": "0" }, { "name": "query-sev-launch-measure", - "ret-type": "215", + "ret-type": "214", "meta-type": "command", "arg-type": "0" }, { "name": "query-sev-capabilities", - "ret-type": "216", + "ret-type": "215", "meta-type": "command", "arg-type": "0" }, @@ -8713,7 +8700,7 @@ "name": "set-numa-node", "ret-type": "0", "meta-type": "command", - "arg-type": "217" + "arg-type": "216" }, { "name": "0", @@ -8734,7 +8721,7 @@ }, { "name": "status", - "type": "218" + "type": "217" } ], "meta-type": "object" @@ -8748,7 +8735,7 @@ }, { "name": "reason", - "type": "219" + "type": "218" } ], "meta-type": "object" @@ -8762,7 +8749,7 @@ }, { "name": "reason", - "type": "219" + "type": "218" } ], "meta-type": "object" @@ -8772,7 +8759,7 @@ "members": [ { "name": "action", - "type": "220" + "type": "219" } ], "meta-type": "object" @@ -8782,7 +8769,7 @@ "members": [ { "name": "action", - "type": "220" + "type": "219" } ], "meta-type": "object" @@ -8792,12 +8779,12 @@ "members": [ { "name": "action", - "type": "221" + "type": "220" }, { "name": "info", "default": null, - "type": "222" + "type": "221" } ], "meta-type": "object" @@ -8811,7 +8798,7 @@ }, { "name": "status", - "type": "223" + "type": "222" } ], "meta-type": "object" @@ -8890,11 +8877,11 @@ }, { "name": "type", - "type": "224" + "type": "223" }, { "name": "status", - "type": "223" + "type": "222" }, { "name": "current-progress", @@ -8984,12 +8971,12 @@ { "name": "io-status", "default": null, - "type": "225" + "type": "224" }, { "name": "dirty-bitmaps", "default": null, - "type": "[226]" + "type": "[225]" } ], "meta-type": "object" @@ -9030,7 +9017,7 @@ }, { "name": "stats", - "type": "227" + "type": "226" }, { "name": "parent", @@ -9083,7 +9070,7 @@ }, { "name": "io-status", - "type": "225" + "type": "224" }, { "name": "ready", @@ -9091,7 +9078,7 @@ }, { "name": "status", - "type": "223" + "type": "222" }, { "name": "auto-finalize", @@ -9179,7 +9166,7 @@ { "name": "mode", "default": null, - "type": "228" + "type": "227" } ], "meta-type": "object" @@ -9299,12 +9286,12 @@ }, { "name": "sync", - "type": "229" + "type": "228" }, { "name": "mode", "default": null, - "type": "228" + "type": "227" }, { "name": "speed", @@ -9324,12 +9311,12 @@ { "name": "on-source-error", "default": null, - "type": "230" + "type": "229" }, { "name": "on-target-error", "default": null, - "type": "230" + "type": "229" }, { "name": "auto-finalize", @@ -9362,7 +9349,7 @@ }, { "name": "sync", - "type": "229" + "type": "228" }, { "name": "speed", @@ -9382,12 +9369,12 @@ { "name": "on-source-error", "default": null, - "type": "230" + "type": "229" }, { "name": "on-target-error", "default": null, - "type": "230" + "type": "229" }, { "name": "auto-finalize", @@ -9446,7 +9433,7 @@ }, { "name": "detect_zeroes", - "type": "231" + "type": "230" }, { "name": "bps", @@ -9474,7 +9461,7 @@ }, { "name": "image", - "type": "232" + "type": "231" }, { "name": "bps_max", @@ -9548,7 +9535,7 @@ }, { "name": "cache", - "type": "233" + "type": "232" }, { "name": "write_threshold", @@ -9590,12 +9577,12 @@ }, { "name": "sync", - "type": "229" + "type": "228" }, { "name": "mode", "default": null, - "type": "228" + "type": "227" }, { "name": "speed", @@ -9615,12 +9602,12 @@ { "name": "on-source-error", "default": null, - "type": "230" + "type": "229" }, { "name": "on-target-error", "default": null, - "type": "230" + "type": "229" }, { "name": "unmap", @@ -9630,7 +9617,7 @@ { "name": "copy-mode", "default": null, - "type": "234" + "type": "233" }, { "name": "auto-finalize", @@ -9672,7 +9659,7 @@ "type": "bool" }, { - "name": "x-disabled", + "name": "disabled", "default": null, "type": "bool" } @@ -9701,12 +9688,12 @@ "type": "str" }, { - "name": "dst_name", + "name": "target", "type": "str" }, { - "name": "src_name", - "type": "str" + "name": "bitmaps", + "type": "[str]" } ], "meta-type": "object" @@ -9744,7 +9731,7 @@ }, { "name": "sync", - "type": "229" + "type": "228" }, { "name": "speed", @@ -9764,12 +9751,12 @@ { "name": "on-source-error", "default": null, - "type": "230" + "type": "229" }, { "name": "on-target-error", "default": null, - "type": "230" + "type": "229" }, { "name": "filter-node-name", @@ -9779,7 +9766,7 @@ { "name": "copy-mode", "default": null, - "type": "234" + "type": "233" }, { "name": "auto-finalize", @@ -9939,7 +9926,7 @@ { "name": "on-error", "default": null, - "type": "230" + "type": "229" }, { "name": "auto-finalize", @@ -10039,165 +10026,165 @@ "variants": [ { "case": "blkdebug", - "type": "238" + "type": "237" }, { "case": "blklogwrites", - "type": "239" + "type": "238" }, { "case": "blkverify", - "type": "240" + "type": "239" }, { "case": "bochs", - "type": "241" + "type": "240" }, { "case": "cloop", - "type": "241" + "type": "240" }, { "case": "copy-on-read", - "type": "241" + "type": "240" }, { "case": "dmg", - "type": "241" + "type": "240" }, { "case": "file", - "type": "242" + "type": "241" }, { "case": "ftp", - "type": "243" + "type": "242" }, { "case": "ftps", - "type": "244" + "type": "243" }, { "case": "gluster", - "type": "245" + "type": "244" }, { "case": "host_cdrom", - "type": "242" + "type": "241" }, { "case": "host_device", - "type": "242" + "type": "241" }, { "case": "http", - "type": "246" + "type": "245" }, { "case": "https", - "type": "247" + "type": "246" }, { "case": "iscsi", - "type": "248" + "type": "247" }, { "case": "luks", - "type": "249" + "type": "248" }, { "case": "nbd", - "type": "250" + "type": "249" }, { "case": "nfs", - "type": "251" + "type": "250" }, { "case": "null-aio", - "type": "252" + "type": "251" }, { "case": "null-co", - "type": "252" + "type": "251" }, { "case": "nvme", - "type": "253" + "type": "252" }, { "case": "parallels", - "type": "241" + "type": "240" }, { "case": "qcow2", - "type": "254" + "type": "253" }, { "case": "qcow", - "type": "255" + "type": "254" }, { "case": "qed", - "type": "256" + "type": "255" }, { "case": "quorum", - "type": "257" + "type": "256" }, { "case": "raw", - "type": "258" + "type": "257" }, { "case": "rbd", - "type": "259" + "type": "258" }, { "case": "replication", - "type": "260" + "type": "259" }, { "case": "sheepdog", - "type": "261" + "type": "260" }, { "case": "ssh", - "type": "262" + "type": "261" }, { "case": "throttle", - "type": "263" + "type": "262" }, { "case": "vdi", - "type": "241" + "type": "240" }, { "case": "vhdx", - "type": "241" + "type": "240" }, { "case": "vmdk", - "type": "256" + "type": "255" }, { "case": "vpc", - "type": "241" + "type": "240" }, { "case": "vvfat", - "type": "264" + "type": "263" }, { "case": "vxhs", - "type": "265" + "type": "264" } ], "members": [ { "name": "driver", - "type": "235" + "type": "234" }, { "name": "node-name", @@ -10207,12 +10194,12 @@ { "name": "discard", "default": null, - "type": "236" + "type": "235" }, { "name": "cache", "default": null, - "type": "237" + "type": "236" }, { "name": "read-only", @@ -10232,7 +10219,7 @@ { "name": "detect-zeroes", "default": null, - "type": "231" + "type": "230" } ], "meta-type": "object" @@ -10256,7 +10243,7 @@ }, { "name": "options", - "type": "266" + "type": "265" } ], "meta-type": "object" @@ -10347,7 +10334,7 @@ { "name": "read-only-mode", "default": null, - "type": "267" + "type": "266" } ], "meta-type": "object" @@ -10399,11 +10386,11 @@ }, { "name": "operation", - "type": "268" + "type": "267" }, { "name": "action", - "type": "269" + "type": "268" }, { "name": "nospace", @@ -10422,7 +10409,7 @@ "members": [ { "name": "type", - "type": "224" + "type": "223" }, { "name": "device", @@ -10453,7 +10440,7 @@ "members": [ { "name": "type", - "type": "224" + "type": "223" }, { "name": "device", @@ -10483,11 +10470,11 @@ }, { "name": "operation", - "type": "268" + "type": "267" }, { "name": "action", - "type": "269" + "type": "268" } ], "meta-type": "object" @@ -10497,7 +10484,7 @@ "members": [ { "name": "type", - "type": "224" + "type": "223" }, { "name": "device", @@ -10523,7 +10510,7 @@ "members": [ { "name": "type", - "type": "224" + "type": "223" }, { "name": "id", @@ -10593,7 +10580,7 @@ }, { "name": "iothread", - "type": "270" + "type": "269" }, { "name": "force", @@ -10716,7 +10703,7 @@ "members": [ { "name": "addr", - "type": "271" + "type": "270" }, { "name": "tls-creds", @@ -10742,46 +10729,32 @@ "name": "writable", "default": null, "type": "bool" - } - ], - "meta-type": "object" - }, - { - "name": "70", - "members": [ - { - "name": "name", - "type": "str" }, { - "name": "mode", + "name": "bitmap", "default": null, - "type": "272" + "type": "str" } ], "meta-type": "object" }, { - "name": "71", + "name": "70", "members": [ { "name": "name", "type": "str" }, { - "name": "bitmap", - "type": "str" - }, - { - "name": "bitmap-export-name", + "name": "mode", "default": null, - "type": "str" + "type": "271" } ], "meta-type": "object" }, { - "name": "72", + "name": "71", "members": [ { "name": "device", @@ -10799,7 +10772,7 @@ "meta-type": "object" }, { - "name": "73", + "name": "72", "members": [ { "name": "id", @@ -10813,7 +10786,7 @@ "meta-type": "object" }, { - "name": "74", + "name": "73", "members": [ { "name": "reference", @@ -10831,11 +10804,11 @@ "meta-type": "object" }, { - "name": "75", + "name": "74", "members": [ { "name": "type", - "type": "273" + "type": "272" }, { "name": "error", @@ -10858,12 +10831,12 @@ "meta-type": "object" }, { - "name": "[76]", - "element-type": "76", + "name": "[75]", + "element-type": "75", "meta-type": "array" }, { - "name": "76", + "name": "75", "members": [ { "name": "label", @@ -10881,12 +10854,12 @@ "meta-type": "object" }, { - "name": "[77]", - "element-type": "77", + "name": "[76]", + "element-type": "76", "meta-type": "array" }, { - "name": "77", + "name": "76", "members": [ { "name": "name", @@ -10896,7 +10869,7 @@ "meta-type": "object" }, { - "name": "78", + "name": "77", "members": [ { "name": "device", @@ -10909,13 +10882,13 @@ { "name": "format", "default": null, - "type": "274" + "type": "273" } ], "meta-type": "object" }, { - "name": "79", + "name": "78", "members": [ { "name": "device", @@ -10928,7 +10901,7 @@ { "name": "format", "default": null, - "type": "274" + "type": "273" } ], "meta-type": "object" @@ -10939,7 +10912,7 @@ "meta-type": "builtin" }, { - "name": "80", + "name": "79", "members": [ { "name": "id", @@ -10947,13 +10920,13 @@ }, { "name": "backend", - "type": "275" + "type": "274" } ], "meta-type": "object" }, { - "name": "81", + "name": "80", "members": [ { "name": "pty", @@ -10964,7 +10937,7 @@ "meta-type": "object" }, { - "name": "82", + "name": "81", "members": [ { "name": "id", @@ -10972,13 +10945,13 @@ }, { "name": "backend", - "type": "275" + "type": "274" } ], "meta-type": "object" }, { - "name": "83", + "name": "82", "members": [ { "name": "id", @@ -10988,7 +10961,7 @@ "meta-type": "object" }, { - "name": "84", + "name": "83", "members": [ { "name": "id", @@ -10998,7 +10971,7 @@ "meta-type": "object" }, { - "name": "85", + "name": "84", "members": [ { "name": "id", @@ -11012,7 +10985,7 @@ "meta-type": "object" }, { - "name": "86", + "name": "85", "members": [ { "name": "name", @@ -11026,7 +10999,7 @@ "meta-type": "object" }, { - "name": "87", + "name": "86", "members": [ { "name": "type", @@ -11040,7 +11013,7 @@ "meta-type": "object" }, { - "name": "88", + "name": "87", "members": [ { "name": "id", @@ -11050,7 +11023,7 @@ "meta-type": "object" }, { - "name": "89", + "name": "88", "members": [ { "name": "name", @@ -11061,12 +11034,12 @@ "meta-type": "object" }, { - "name": "[90]", - "element-type": "90", + "name": "[89]", + "element-type": "89", "meta-type": "array" }, { - "name": "90", + "name": "89", "members": [ { "name": "name", @@ -11078,15 +11051,15 @@ }, { "name": "multicast", - "type": "276" + "type": "275" }, { "name": "unicast", - "type": "276" + "type": "275" }, { "name": "vlan", - "type": "276" + "type": "275" }, { "name": "broadcast-allowed", @@ -11120,7 +11093,7 @@ "meta-type": "object" }, { - "name": "91", + "name": "90", "members": [ { "name": "name", @@ -11135,7 +11108,7 @@ "meta-type": "object" }, { - "name": "92", + "name": "91", "members": [ { "name": "netdev", @@ -11157,7 +11130,7 @@ "meta-type": "object" }, { - "name": "93", + "name": "92", "members": [ { "name": "name", @@ -11167,7 +11140,7 @@ "meta-type": "object" }, { - "name": "94", + "name": "93", "members": [ { "name": "name", @@ -11185,7 +11158,7 @@ "meta-type": "object" }, { - "name": "95", + "name": "94", "members": [ { "name": "name", @@ -11195,12 +11168,12 @@ "meta-type": "object" }, { - "name": "[96]", - "element-type": "96", + "name": "[95]", + "element-type": "95", "meta-type": "array" }, { - "name": "96", + "name": "95", "members": [ { "name": "name", @@ -11220,17 +11193,17 @@ }, { "name": "duplex", - "type": "277" + "type": "276" }, { "name": "autoneg", - "type": "278" + "type": "277" } ], "meta-type": "object" }, { - "name": "97", + "name": "96", "members": [ { "name": "name", @@ -11245,12 +11218,12 @@ "meta-type": "object" }, { - "name": "[98]", - "element-type": "98", + "name": "[97]", + "element-type": "97", "meta-type": "array" }, { - "name": "98", + "name": "97", "members": [ { "name": "cookie", @@ -11262,21 +11235,21 @@ }, { "name": "key", - "type": "279" + "type": "278" }, { "name": "mask", - "type": "280" + "type": "279" }, { "name": "action", - "type": "281" + "type": "280" } ], "meta-type": "object" }, { - "name": "99", + "name": "98", "members": [ { "name": "name", @@ -11291,12 +11264,12 @@ "meta-type": "object" }, { - "name": "[100]", - "element-type": "100", + "name": "[99]", + "element-type": "99", "meta-type": "array" }, { - "name": "100", + "name": "99", "members": [ { "name": "id", @@ -11365,12 +11338,12 @@ "meta-type": "object" }, { - "name": "[101]", - "element-type": "101", + "name": "[100]", + "element-type": "100", "meta-type": "array" }, { - "name": "101", + "name": "100", "meta-type": "enum", "values": [ "tpm-tis", @@ -11378,12 +11351,12 @@ ] }, { - "name": "[102]", - "element-type": "102", + "name": "[101]", + "element-type": "101", "meta-type": "array" }, { - "name": "102", + "name": "101", "meta-type": "enum", "values": [ "passthrough", @@ -11391,12 +11364,12 @@ ] }, { - "name": "[103]", - "element-type": "103", + "name": "[102]", + "element-type": "102", "meta-type": "array" }, { - "name": "103", + "name": "102", "members": [ { "name": "id", @@ -11404,17 +11377,17 @@ }, { "name": "model", - "type": "101" + "type": "100" }, { "name": "options", - "type": "282" + "type": "281" } ], "meta-type": "object" }, { - "name": "104", + "name": "103", "members": [ { "name": "protocol", @@ -11433,7 +11406,7 @@ "meta-type": "object" }, { - "name": "105", + "name": "104", "members": [ { "name": "protocol", @@ -11447,7 +11420,7 @@ "meta-type": "object" }, { - "name": "106", + "name": "105", "members": [ { "name": "filename", @@ -11467,7 +11440,7 @@ "meta-type": "object" }, { - "name": "107", + "name": "106", "members": [ { "name": "enabled", @@ -11504,60 +11477,60 @@ }, { "name": "mouse-mode", - "type": "283" + "type": "282" }, { "name": "channels", "default": null, - "type": "[284]" + "type": "[283]" } ], "meta-type": "object" }, { - "name": "108", + "name": "107", "members": [ { "name": "server", - "type": "285" + "type": "284" }, { "name": "client", - "type": "285" + "type": "284" } ], "meta-type": "object" }, { - "name": "109", + "name": "108", "members": [ { "name": "server", - "type": "286" + "type": "285" }, { "name": "client", - "type": "284" + "type": "283" } ], "meta-type": "object" }, { - "name": "110", + "name": "109", "members": [ { "name": "server", - "type": "285" + "type": "284" }, { "name": "client", - "type": "285" + "type": "284" } ], "meta-type": "object" }, { - "name": "111", + "name": "110", "members": [ { "name": "enabled", @@ -11571,7 +11544,7 @@ { "name": "family", "default": null, - "type": "287" + "type": "286" }, { "name": "service", @@ -11586,18 +11559,18 @@ { "name": "clients", "default": null, - "type": "[288]" + "type": "[287]" } ], "meta-type": "object" }, { - "name": "[112]", - "element-type": "112", + "name": "[111]", + "element-type": "111", "meta-type": "array" }, { - "name": "112", + "name": "111", "members": [ { "name": "id", @@ -11605,20 +11578,20 @@ }, { "name": "server", - "type": "[289]" + "type": "[288]" }, { "name": "clients", - "type": "[288]" + "type": "[287]" }, { "name": "auth", - "type": "290" + "type": "289" }, { "name": "vencrypt", "default": null, - "type": "291" + "type": "290" }, { "name": "display", @@ -11629,7 +11602,7 @@ "meta-type": "object" }, { - "name": "113", + "name": "112", "members": [ { "name": "password", @@ -11639,54 +11612,54 @@ "meta-type": "object" }, { - "name": "114", + "name": "113", "members": [ { "name": "server", - "type": "292" + "type": "291" }, { "name": "client", - "type": "293" + "type": "292" } ], "meta-type": "object" }, { - "name": "115", + "name": "114", "members": [ { "name": "server", - "type": "292" + "type": "291" }, { "name": "client", - "type": "288" + "type": "287" } ], "meta-type": "object" }, { - "name": "116", + "name": "115", "members": [ { "name": "server", - "type": "292" + "type": "291" }, { "name": "client", - "type": "288" + "type": "287" } ], "meta-type": "object" }, { - "name": "[117]", - "element-type": "117", + "name": "[116]", + "element-type": "116", "meta-type": "array" }, { - "name": "117", + "name": "116", "members": [ { "name": "name", @@ -11708,11 +11681,11 @@ "meta-type": "object" }, { - "name": "118", + "name": "117", "members": [ { "name": "keys", - "type": "[294]" + "type": "[293]" }, { "name": "hold-time", @@ -11723,7 +11696,7 @@ "meta-type": "object" }, { - "name": "119", + "name": "118", "members": [ { "name": "device", @@ -11737,22 +11710,22 @@ }, { "name": "events", - "type": "[295]" + "type": "[294]" } ], "meta-type": "object" }, { - "name": "120", + "name": "119", "tag": "type", "variants": [ { "case": "gtk", - "type": "298" + "type": "297" }, { "case": "egl-headless", - "type": "299" + "type": "298" }, { "case": "default", @@ -11778,7 +11751,7 @@ "members": [ { "name": "type", - "type": "296" + "type": "295" }, { "name": "full-screen", @@ -11793,33 +11766,33 @@ { "name": "gl", "default": null, - "type": "297" + "type": "296" } ], "meta-type": "object" }, { - "name": "121", + "name": "120", "members": [ { "name": "status", "default": null, - "type": "300" + "type": "299" }, { "name": "ram", "default": null, - "type": "301" + "type": "300" }, { "name": "disk", "default": null, - "type": "301" + "type": "300" }, { "name": "xbzrle-cache", "default": null, - "type": "302" + "type": "301" }, { "name": "total-time", @@ -11864,32 +11837,32 @@ { "name": "compression", "default": null, - "type": "303" + "type": "302" } ], "meta-type": "object" }, { - "name": "122", + "name": "121", "members": [ { "name": "capabilities", - "type": "[123]" + "type": "[122]" } ], "meta-type": "object" }, { - "name": "[123]", - "element-type": "123", + "name": "[122]", + "element-type": "122", "meta-type": "array" }, { - "name": "123", + "name": "122", "members": [ { "name": "capability", - "type": "304" + "type": "303" }, { "name": "state", @@ -11899,7 +11872,7 @@ "meta-type": "object" }, { - "name": "124", + "name": "123", "members": [ { "name": "compress-level", @@ -11934,12 +11907,12 @@ { "name": "tls-creds", "default": null, - "type": "270" + "type": "269" }, { "name": "tls-hostname", "default": null, - "type": "270" + "type": "269" }, { "name": "max-bandwidth", @@ -11990,7 +11963,7 @@ "meta-type": "object" }, { - "name": "125", + "name": "124", "members": [ { "name": "compress-level", @@ -12081,7 +12054,7 @@ "meta-type": "object" }, { - "name": "126", + "name": "125", "members": [ { "name": "protocol", @@ -12110,17 +12083,17 @@ "meta-type": "object" }, { - "name": "127", + "name": "126", "members": [ { "name": "status", - "type": "300" + "type": "299" } ], "meta-type": "object" }, { - "name": "128", + "name": "127", "members": [ { "name": "pass", @@ -12130,31 +12103,31 @@ "meta-type": "object" }, { - "name": "129", + "name": "128", "members": [ { "name": "mode", - "type": "305" + "type": "304" }, { "name": "reason", - "type": "306" + "type": "305" } ], "meta-type": "object" }, { - "name": "130", + "name": "129", "members": [ { "name": "state", - "type": "300" + "type": "299" } ], "meta-type": "object" }, { - "name": "131", + "name": "130", "members": [ { "name": "value", @@ -12164,7 +12137,7 @@ "meta-type": "object" }, { - "name": "132", + "name": "131", "members": [ { "name": "value", @@ -12174,7 +12147,7 @@ "meta-type": "object" }, { - "name": "133", + "name": "132", "members": [ { "name": "value", @@ -12189,7 +12162,7 @@ "meta-type": "builtin" }, { - "name": "134", + "name": "133", "members": [ { "name": "uri", @@ -12219,7 +12192,7 @@ "meta-type": "object" }, { - "name": "135", + "name": "134", "members": [ { "name": "uri", @@ -12229,7 +12202,7 @@ "meta-type": "object" }, { - "name": "136", + "name": "135", "members": [ { "name": "filename", @@ -12244,7 +12217,7 @@ "meta-type": "object" }, { - "name": "137", + "name": "136", "members": [ { "name": "enable", @@ -12263,7 +12236,7 @@ "meta-type": "object" }, { - "name": "138", + "name": "137", "members": [ { "name": "error", @@ -12278,21 +12251,21 @@ "meta-type": "object" }, { - "name": "139", + "name": "138", "members": [ { "name": "mode", - "type": "305" + "type": "304" }, { "name": "reason", - "type": "306" + "type": "305" } ], "meta-type": "object" }, { - "name": "140", + "name": "139", "members": [ { "name": "uri", @@ -12302,22 +12275,22 @@ "meta-type": "object" }, { - "name": "141", + "name": "140", "members": [ { "name": "actions", - "type": "[307]" + "type": "[306]" }, { "name": "properties", "default": null, - "type": "308" + "type": "307" } ], "meta-type": "object" }, { - "name": "142", + "name": "141", "members": [ { "name": "name", @@ -12332,12 +12305,12 @@ "meta-type": "object" }, { - "name": "[143]", - "element-type": "143", + "name": "[142]", + "element-type": "142", "meta-type": "array" }, { - "name": "143", + "name": "142", "members": [ { "name": "name", @@ -12345,7 +12318,7 @@ }, { "name": "state", - "type": "309" + "type": "308" }, { "name": "vcpu", @@ -12355,7 +12328,7 @@ "meta-type": "object" }, { - "name": "144", + "name": "143", "members": [ { "name": "name", @@ -12379,41 +12352,41 @@ "meta-type": "object" }, { - "name": "[145]", - "element-type": "145", + "name": "[144]", + "element-type": "144", "meta-type": "array" }, { - "name": "145", + "name": "144", "tag": "meta-type", "variants": [ { "case": "builtin", - "type": "311" + "type": "310" }, { "case": "enum", - "type": "312" + "type": "311" }, { "case": "array", - "type": "313" + "type": "312" }, { "case": "object", - "type": "314" + "type": "313" }, { "case": "alternate", - "type": "315" + "type": "314" }, { "case": "command", - "type": "316" + "type": "315" }, { "case": "event", - "type": "317" + "type": "316" } ], "members": [ @@ -12423,28 +12396,28 @@ }, { "name": "meta-type", - "type": "310" + "type": "309" } ], "meta-type": "object" }, { - "name": "146", + "name": "145", "members": [ { "name": "enable", "default": null, - "type": "[318]" + "type": "[317]" } ], "meta-type": "object" }, { - "name": "147", + "name": "146", "members": [ { "name": "qemu", - "type": "319" + "type": "318" }, { "name": "package", @@ -12454,12 +12427,12 @@ "meta-type": "object" }, { - "name": "[148]", - "element-type": "148", + "name": "[147]", + "element-type": "147", "meta-type": "array" }, { - "name": "148", + "name": "147", "members": [ { "name": "name", @@ -12469,7 +12442,7 @@ "meta-type": "object" }, { - "name": "149", + "name": "148", "members": [ { "name": "protocol", @@ -12493,7 +12466,7 @@ "meta-type": "object" }, { - "name": "150", + "name": "149", "members": [ { "name": "name", @@ -12504,7 +12477,7 @@ "meta-type": "object" }, { - "name": "151", + "name": "150", "members": [ { "name": "enabled", @@ -12518,7 +12491,7 @@ "meta-type": "object" }, { - "name": "152", + "name": "151", "members": [ { "name": "UUID", @@ -12528,12 +12501,12 @@ "meta-type": "object" }, { - "name": "[153]", - "element-type": "153", + "name": "[152]", + "element-type": "152", "meta-type": "array" }, { - "name": "153", + "name": "152", "members": [ { "name": "name", @@ -12543,41 +12516,41 @@ "meta-type": "object" }, { - "name": "[154]", - "element-type": "154", + "name": "[153]", + "element-type": "153", "meta-type": "array" }, { - "name": "154", + "name": "153", "tag": "arch", "variants": [ { "case": "x86", - "type": "322" + "type": "321" }, { "case": "sparc", - "type": "323" + "type": "322" }, { "case": "ppc", - "type": "324" + "type": "323" }, { "case": "mips", - "type": "325" + "type": "324" }, { "case": "tricore", - "type": "326" + "type": "325" }, { "case": "s390", - "type": "327" + "type": "326" }, { "case": "riscv", - "type": "328" + "type": "327" }, { "case": "other", @@ -12608,27 +12581,27 @@ { "name": "props", "default": null, - "type": "320" + "type": "319" }, { "name": "arch", - "type": "321" + "type": "320" } ], "meta-type": "object" }, { - "name": "[155]", - "element-type": "155", + "name": "[154]", + "element-type": "154", "meta-type": "array" }, { - "name": "155", + "name": "154", "tag": "target", "variants": [ { "case": "s390x", - "type": "327" + "type": "326" }, { "case": "aarch64", @@ -12767,26 +12740,26 @@ { "name": "props", "default": null, - "type": "320" + "type": "319" }, { "name": "arch", - "type": "321" + "type": "320" }, { "name": "target", - "type": "329" + "type": "328" } ], "meta-type": "object" }, { - "name": "[156]", - "element-type": "156", + "name": "[155]", + "element-type": "155", "meta-type": "array" }, { - "name": "156", + "name": "155", "members": [ { "name": "id", @@ -12812,7 +12785,7 @@ "meta-type": "object" }, { - "name": "157", + "name": "156", "members": [ { "name": "actual", @@ -12822,7 +12795,7 @@ "meta-type": "object" }, { - "name": "158", + "name": "157", "members": [ { "name": "actual", @@ -12832,12 +12805,12 @@ "meta-type": "object" }, { - "name": "[159]", - "element-type": "159", + "name": "[158]", + "element-type": "158", "meta-type": "array" }, { - "name": "159", + "name": "158", "members": [ { "name": "bus", @@ -12845,13 +12818,13 @@ }, { "name": "devices", - "type": "[330]" + "type": "[329]" } ], "meta-type": "object" }, { - "name": "160", + "name": "159", "members": [ { "name": "id", @@ -12861,7 +12834,7 @@ "meta-type": "object" }, { - "name": "161", + "name": "160", "members": [ { "name": "val", @@ -12884,7 +12857,7 @@ "meta-type": "object" }, { - "name": "162", + "name": "161", "members": [ { "name": "val", @@ -12902,7 +12875,7 @@ "meta-type": "object" }, { - "name": "163", + "name": "162", "members": [ { "name": "value", @@ -12912,7 +12885,7 @@ "meta-type": "object" }, { - "name": "164", + "name": "163", "members": [ { "name": "command-line", @@ -12927,7 +12900,7 @@ "meta-type": "object" }, { - "name": "165", + "name": "164", "members": [ { "name": "path", @@ -12937,12 +12910,12 @@ "meta-type": "object" }, { - "name": "[166]", - "element-type": "166", + "name": "[165]", + "element-type": "165", "meta-type": "array" }, { - "name": "166", + "name": "165", "members": [ { "name": "name", @@ -12961,7 +12934,7 @@ "meta-type": "object" }, { - "name": "167", + "name": "166", "members": [ { "name": "path", @@ -12980,7 +12953,7 @@ "meta-type": "builtin" }, { - "name": "168", + "name": "167", "members": [ { "name": "path", @@ -12998,7 +12971,7 @@ "meta-type": "object" }, { - "name": "169", + "name": "168", "members": [ { "name": "device", @@ -13017,7 +12990,7 @@ "meta-type": "object" }, { - "name": "170", + "name": "169", "members": [ { "name": "implements", @@ -13033,12 +13006,12 @@ "meta-type": "object" }, { - "name": "[171]", - "element-type": "171", + "name": "[170]", + "element-type": "170", "meta-type": "array" }, { - "name": "171", + "name": "170", "members": [ { "name": "name", @@ -13058,7 +13031,7 @@ "meta-type": "object" }, { - "name": "172", + "name": "171", "members": [ { "name": "typename", @@ -13068,7 +13041,7 @@ "meta-type": "object" }, { - "name": "173", + "name": "172", "members": [ { "name": "typename", @@ -13078,7 +13051,7 @@ "meta-type": "object" }, { - "name": "174", + "name": "173", "members": [ { "name": "enable", @@ -13088,7 +13061,7 @@ "meta-type": "object" }, { - "name": "175", + "name": "174", "members": [ { "name": "driver", @@ -13108,7 +13081,7 @@ "meta-type": "object" }, { - "name": "176", + "name": "175", "members": [ { "name": "id", @@ -13118,7 +13091,7 @@ "meta-type": "object" }, { - "name": "177", + "name": "176", "members": [ { "name": "device", @@ -13133,7 +13106,7 @@ "meta-type": "object" }, { - "name": "178", + "name": "177", "members": [ { "name": "paging", @@ -13161,17 +13134,17 @@ { "name": "format", "default": null, - "type": "331" + "type": "330" } ], "meta-type": "object" }, { - "name": "179", + "name": "178", "members": [ { "name": "status", - "type": "332" + "type": "331" }, { "name": "completed", @@ -13185,11 +13158,11 @@ "meta-type": "object" }, { - "name": "180", + "name": "179", "members": [ { "name": "result", - "type": "179" + "type": "178" }, { "name": "error", @@ -13200,17 +13173,17 @@ "meta-type": "object" }, { - "name": "181", + "name": "180", "members": [ { "name": "formats", - "type": "[331]" + "type": "[330]" } ], "meta-type": "object" }, { - "name": "182", + "name": "181", "members": [ { "name": "filename", @@ -13220,7 +13193,7 @@ "meta-type": "object" }, { - "name": "183", + "name": "182", "members": [ { "name": "qom-type", @@ -13239,7 +13212,7 @@ "meta-type": "object" }, { - "name": "184", + "name": "183", "members": [ { "name": "id", @@ -13249,7 +13222,7 @@ "meta-type": "object" }, { - "name": "185", + "name": "184", "members": [ { "name": "fdname", @@ -13259,7 +13232,7 @@ "meta-type": "object" }, { - "name": "186", + "name": "185", "members": [ { "name": "fdname", @@ -13269,12 +13242,12 @@ "meta-type": "object" }, { - "name": "[187]", - "element-type": "187", + "name": "[186]", + "element-type": "186", "meta-type": "array" }, { - "name": "187", + "name": "186", "members": [ { "name": "name", @@ -13302,7 +13275,7 @@ "meta-type": "object" }, { - "name": "188", + "name": "187", "members": [ { "name": "wakeup-suspend-support", @@ -13312,7 +13285,7 @@ "meta-type": "object" }, { - "name": "189", + "name": "188", "members": [ { "name": "base-memory", @@ -13327,12 +13300,12 @@ "meta-type": "object" }, { - "name": "[190]", - "element-type": "190", + "name": "[189]", + "element-type": "189", "meta-type": "array" }, { - "name": "190", + "name": "189", "members": [ { "name": "name", @@ -13360,49 +13333,49 @@ "meta-type": "object" }, { - "name": "191", + "name": "190", "members": [ { "name": "type", - "type": "333" + "type": "332" }, { "name": "model", - "type": "334" + "type": "333" } ], "meta-type": "object" }, { - "name": "192", + "name": "191", "members": [ { "name": "model", - "type": "334" + "type": "333" } ], "meta-type": "object" }, { - "name": "193", + "name": "192", "members": [ { "name": "modela", - "type": "334" + "type": "333" }, { "name": "modelb", - "type": "334" + "type": "333" } ], "meta-type": "object" }, { - "name": "194", + "name": "193", "members": [ { "name": "result", - "type": "335" + "type": "334" }, { "name": "responsible-properties", @@ -13412,31 +13385,31 @@ "meta-type": "object" }, { - "name": "195", + "name": "194", "members": [ { "name": "modela", - "type": "334" + "type": "333" }, { "name": "modelb", - "type": "334" + "type": "333" } ], "meta-type": "object" }, { - "name": "196", + "name": "195", "members": [ { "name": "model", - "type": "334" + "type": "333" } ], "meta-type": "object" }, { - "name": "197", + "name": "196", "members": [ { "name": "fdset-id", @@ -13452,7 +13425,7 @@ "meta-type": "object" }, { - "name": "198", + "name": "197", "members": [ { "name": "fdset-id", @@ -13466,7 +13439,7 @@ "meta-type": "object" }, { - "name": "199", + "name": "198", "members": [ { "name": "fdset-id", @@ -13481,12 +13454,12 @@ "meta-type": "object" }, { - "name": "[200]", - "element-type": "200", + "name": "[199]", + "element-type": "199", "meta-type": "array" }, { - "name": "200", + "name": "199", "members": [ { "name": "fdset-id", @@ -13494,23 +13467,23 @@ }, { "name": "fds", - "type": "[336]" + "type": "[335]" } ], "meta-type": "object" }, { - "name": "201", + "name": "200", "members": [ { "name": "arch", - "type": "329" + "type": "328" } ], "meta-type": "object" }, { - "name": "202", + "name": "201", "members": [ { "name": "option", @@ -13521,12 +13494,12 @@ "meta-type": "object" }, { - "name": "[203]", - "element-type": "203", + "name": "[202]", + "element-type": "202", "meta-type": "array" }, { - "name": "203", + "name": "202", "members": [ { "name": "option", @@ -13534,18 +13507,18 @@ }, { "name": "parameters", - "type": "[337]" + "type": "[336]" } ], "meta-type": "object" }, { - "name": "[204]", - "element-type": "204", + "name": "[203]", + "element-type": "203", "meta-type": "array" }, { - "name": "204", + "name": "203", "members": [ { "name": "id", @@ -13574,39 +13547,39 @@ }, { "name": "policy", - "type": "338" + "type": "337" } ], "meta-type": "object" }, { - "name": "[205]", - "element-type": "205", + "name": "[204]", + "element-type": "204", "meta-type": "array" }, { - "name": "205", + "name": "204", "tag": "type", "variants": [ { "case": "dimm", - "type": "340" + "type": "339" }, { "case": "nvdimm", - "type": "340" + "type": "339" } ], "members": [ { "name": "type", - "type": "339" + "type": "338" } ], "meta-type": "object" }, { - "name": "206", + "name": "205", "members": [ { "name": "device", @@ -13620,12 +13593,12 @@ "meta-type": "object" }, { - "name": "[207]", - "element-type": "207", + "name": "[206]", + "element-type": "206", "meta-type": "array" }, { - "name": "207", + "name": "206", "members": [ { "name": "device", @@ -13638,7 +13611,7 @@ }, { "name": "slot-type", - "type": "341" + "type": "340" }, { "name": "source", @@ -13652,17 +13625,17 @@ "meta-type": "object" }, { - "name": "208", + "name": "207", "members": [ { "name": "info", - "type": "207" + "type": "206" } ], "meta-type": "object" }, { - "name": "209", + "name": "208", "members": [ { "name": "offset", @@ -13672,7 +13645,7 @@ "meta-type": "object" }, { - "name": "210", + "name": "209", "members": [ { "name": "filename", @@ -13682,12 +13655,12 @@ "meta-type": "object" }, { - "name": "[211]", - "element-type": "211", + "name": "[210]", + "element-type": "210", "meta-type": "array" }, { - "name": "211", + "name": "210", "members": [ { "name": "version", @@ -13705,12 +13678,12 @@ "meta-type": "object" }, { - "name": "[212]", - "element-type": "212", + "name": "[211]", + "element-type": "211", "meta-type": "array" }, { - "name": "212", + "name": "211", "members": [ { "name": "type", @@ -13722,7 +13695,7 @@ }, { "name": "props", - "type": "320" + "type": "319" }, { "name": "qom-path", @@ -13733,7 +13706,7 @@ "meta-type": "object" }, { - "name": "213", + "name": "212", "members": [ { "name": "guid", @@ -13743,7 +13716,7 @@ "meta-type": "object" }, { - "name": "214", + "name": "213", "members": [ { "name": "enabled", @@ -13767,7 +13740,7 @@ }, { "name": "state", - "type": "342" + "type": "341" }, { "name": "handle", @@ -13777,7 +13750,7 @@ "meta-type": "object" }, { - "name": "215", + "name": "214", "members": [ { "name": "data", @@ -13787,7 +13760,7 @@ "meta-type": "object" }, { - "name": "216", + "name": "215", "members": [ { "name": "pdh", @@ -13809,26 +13782,26 @@ "meta-type": "object" }, { - "name": "217", + "name": "216", "tag": "type", "variants": [ { "case": "node", - "type": "344" + "type": "343" }, { "case": "dist", - "type": "345" + "type": "344" }, { "case": "cpu", - "type": "346" + "type": "345" } ], "members": [ { "name": "type", - "type": "343" + "type": "342" } ], "meta-type": "object" @@ -13839,7 +13812,7 @@ "meta-type": "builtin" }, { - "name": "218", + "name": "217", "meta-type": "enum", "values": [ "debug", @@ -13862,7 +13835,7 @@ ] }, { - "name": "219", + "name": "218", "meta-type": "enum", "values": [ "none", @@ -13878,7 +13851,7 @@ ] }, { - "name": "220", + "name": "219", "meta-type": "enum", "values": [ "reset", @@ -13891,7 +13864,7 @@ ] }, { - "name": "221", + "name": "220", "meta-type": "enum", "values": [ "pause", @@ -13899,28 +13872,28 @@ ] }, { - "name": "222", + "name": "221", "tag": "type", "variants": [ { "case": "hyper-v", - "type": "348" + "type": "347" }, { "case": "s390", - "type": "349" + "type": "348" } ], "members": [ { "name": "type", - "type": "347" + "type": "346" } ], "meta-type": "object" }, { - "name": "223", + "name": "222", "meta-type": "enum", "values": [ "undefined", @@ -13937,7 +13910,7 @@ ] }, { - "name": "224", + "name": "223", "meta-type": "enum", "values": [ "commit", @@ -13953,7 +13926,7 @@ "meta-type": "array" }, { - "name": "225", + "name": "224", "meta-type": "enum", "values": [ "ok", @@ -13962,12 +13935,12 @@ ] }, { - "name": "[226]", - "element-type": "226", + "name": "[225]", + "element-type": "225", "meta-type": "array" }, { - "name": "226", + "name": "225", "members": [ { "name": "name", @@ -13984,13 +13957,13 @@ }, { "name": "status", - "type": "350" + "type": "349" } ], "meta-type": "object" }, { - "name": "227", + "name": "226", "members": [ { "name": "rd_bytes", @@ -14075,28 +14048,28 @@ }, { "name": "timed_stats", - "type": "[351]" + "type": "[350]" }, { "name": "x_rd_latency_histogram", "default": null, - "type": "352" + "type": "351" }, { "name": "x_wr_latency_histogram", "default": null, - "type": "352" + "type": "351" }, { "name": "x_flush_latency_histogram", "default": null, - "type": "352" + "type": "351" } ], "meta-type": "object" }, { - "name": "228", + "name": "227", "meta-type": "enum", "values": [ "existing", @@ -14104,7 +14077,7 @@ ] }, { - "name": "229", + "name": "228", "meta-type": "enum", "values": [ "top", @@ -14114,7 +14087,7 @@ ] }, { - "name": "230", + "name": "229", "meta-type": "enum", "values": [ "report", @@ -14125,7 +14098,7 @@ ] }, { - "name": "231", + "name": "230", "meta-type": "enum", "values": [ "off", @@ -14134,7 +14107,7 @@ ] }, { - "name": "232", + "name": "231", "members": [ { "name": "filename", @@ -14196,18 +14169,18 @@ { "name": "backing-image", "default": null, - "type": "232" + "type": "231" }, { "name": "format-specific", "default": null, - "type": "353" + "type": "352" } ], "meta-type": "object" }, { - "name": "233", + "name": "232", "members": [ { "name": "writeback", @@ -14225,7 +14198,7 @@ "meta-type": "object" }, { - "name": "234", + "name": "233", "meta-type": "enum", "values": [ "background", @@ -14233,7 +14206,12 @@ ] }, { - "name": "235", + "name": "[str]", + "element-type": "str", + "meta-type": "array" + }, + { + "name": "234", "meta-type": "enum", "values": [ "blkdebug", @@ -14278,7 +14256,7 @@ ] }, { - "name": "236", + "name": "235", "meta-type": "enum", "values": [ "ignore", @@ -14286,7 +14264,7 @@ ] }, { - "name": "237", + "name": "236", "members": [ { "name": "direct", @@ -14302,11 +14280,11 @@ "meta-type": "object" }, { - "name": "238", + "name": "237", "members": [ { "name": "image", - "type": "354" + "type": "353" }, { "name": "config", @@ -14346,26 +14324,26 @@ { "name": "inject-error", "default": null, - "type": "[355]" + "type": "[354]" }, { "name": "set-state", "default": null, - "type": "[356]" + "type": "[355]" } ], "meta-type": "object" }, { - "name": "239", + "name": "238", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "log", - "type": "354" + "type": "353" }, { "name": "log-sector-size", @@ -14386,31 +14364,31 @@ "meta-type": "object" }, { - "name": "240", + "name": "239", "members": [ { "name": "test", - "type": "354" + "type": "353" }, { "name": "raw", - "type": "354" + "type": "353" } ], "meta-type": "object" }, { - "name": "241", + "name": "240", "members": [ { "name": "file", - "type": "354" + "type": "353" } ], "meta-type": "object" }, { - "name": "242", + "name": "241", "members": [ { "name": "filename", @@ -14424,12 +14402,12 @@ { "name": "locking", "default": null, - "type": "357" + "type": "356" }, { "name": "aio", "default": null, - "type": "358" + "type": "357" }, { "name": "x-check-cache-dropped", @@ -14440,7 +14418,7 @@ "meta-type": "object" }, { - "name": "243", + "name": "242", "members": [ { "name": "url", @@ -14480,7 +14458,7 @@ "meta-type": "object" }, { - "name": "244", + "name": "243", "members": [ { "name": "url", @@ -14525,7 +14503,7 @@ "meta-type": "object" }, { - "name": "245", + "name": "244", "members": [ { "name": "volume", @@ -14537,7 +14515,7 @@ }, { "name": "server", - "type": "[359]" + "type": "[358]" }, { "name": "debug", @@ -14553,7 +14531,7 @@ "meta-type": "object" }, { - "name": "246", + "name": "245", "members": [ { "name": "url", @@ -14603,7 +14581,7 @@ "meta-type": "object" }, { - "name": "247", + "name": "246", "members": [ { "name": "url", @@ -14658,11 +14636,11 @@ "meta-type": "object" }, { - "name": "248", + "name": "247", "members": [ { "name": "transport", - "type": "360" + "type": "359" }, { "name": "portal", @@ -14695,7 +14673,7 @@ { "name": "header-digest", "default": null, - "type": "361" + "type": "360" }, { "name": "timeout", @@ -14706,11 +14684,11 @@ "meta-type": "object" }, { - "name": "249", + "name": "248", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "key-secret", @@ -14721,11 +14699,11 @@ "meta-type": "object" }, { - "name": "250", + "name": "249", "members": [ { "name": "server", - "type": "359" + "type": "358" }, { "name": "export", @@ -14746,11 +14724,11 @@ "meta-type": "object" }, { - "name": "251", + "name": "250", "members": [ { "name": "server", - "type": "362" + "type": "361" }, { "name": "path", @@ -14790,7 +14768,7 @@ "meta-type": "object" }, { - "name": "252", + "name": "251", "members": [ { "name": "size", @@ -14806,7 +14784,7 @@ "meta-type": "object" }, { - "name": "253", + "name": "252", "members": [ { "name": "device", @@ -14820,16 +14798,16 @@ "meta-type": "object" }, { - "name": "254", + "name": "253", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "backing", "default": null, - "type": "363" + "type": "362" }, { "name": "lazy-refcounts", @@ -14854,7 +14832,7 @@ { "name": "overlap-check", "default": null, - "type": "364" + "type": "363" }, { "name": "cache-size", @@ -14884,48 +14862,48 @@ { "name": "encrypt", "default": null, - "type": "365" + "type": "364" } ], "meta-type": "object" }, { - "name": "255", + "name": "254", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "backing", "default": null, - "type": "363" + "type": "362" }, { "name": "encrypt", "default": null, - "type": "366" + "type": "365" } ], "meta-type": "object" }, { - "name": "256", + "name": "255", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "backing", "default": null, - "type": "363" + "type": "362" } ], "meta-type": "object" }, { - "name": "257", + "name": "256", "members": [ { "name": "blkverify", @@ -14934,7 +14912,7 @@ }, { "name": "children", - "type": "[354]" + "type": "[353]" }, { "name": "vote-threshold", @@ -14948,17 +14926,17 @@ { "name": "read-pattern", "default": null, - "type": "367" + "type": "366" } ], "meta-type": "object" }, { - "name": "258", + "name": "257", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "offset", @@ -14974,7 +14952,7 @@ "meta-type": "object" }, { - "name": "259", + "name": "258", "members": [ { "name": "pool", @@ -15002,7 +14980,7 @@ { "name": "auth-client-required", "default": null, - "type": "[368]" + "type": "[367]" }, { "name": "key-secret", @@ -15012,21 +14990,21 @@ { "name": "server", "default": null, - "type": "[369]" + "type": "[368]" } ], "meta-type": "object" }, { - "name": "260", + "name": "259", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "mode", - "type": "370" + "type": "369" }, { "name": "top-id", @@ -15037,11 +15015,11 @@ "meta-type": "object" }, { - "name": "261", + "name": "260", "members": [ { "name": "server", - "type": "359" + "type": "358" }, { "name": "vdi", @@ -15061,11 +15039,11 @@ "meta-type": "object" }, { - "name": "262", + "name": "261", "members": [ { "name": "server", - "type": "371" + "type": "370" }, { "name": "path", @@ -15079,13 +15057,13 @@ { "name": "host-key-check", "default": null, - "type": "372" + "type": "371" } ], "meta-type": "object" }, { - "name": "263", + "name": "262", "members": [ { "name": "throttle-group", @@ -15093,13 +15071,13 @@ }, { "name": "file", - "type": "354" + "type": "353" } ], "meta-type": "object" }, { - "name": "264", + "name": "263", "members": [ { "name": "dir", @@ -15129,7 +15107,7 @@ "meta-type": "object" }, { - "name": "265", + "name": "264", "members": [ { "name": "vdisk-id", @@ -15137,7 +15115,7 @@ }, { "name": "server", - "type": "369" + "type": "368" }, { "name": "tls-creds", @@ -15148,64 +15126,64 @@ "meta-type": "object" }, { - "name": "266", + "name": "265", "tag": "driver", "variants": [ { "case": "file", - "type": "373" + "type": "372" }, { "case": "gluster", - "type": "374" + "type": "373" }, { "case": "luks", - "type": "375" + "type": "374" }, { "case": "nfs", - "type": "376" + "type": "375" }, { "case": "parallels", - "type": "377" + "type": "376" }, { "case": "qcow", - "type": "378" + "type": "377" }, { "case": "qcow2", - "type": "379" + "type": "378" }, { "case": "qed", - "type": "380" + "type": "379" }, { "case": "rbd", - "type": "381" + "type": "380" }, { "case": "sheepdog", - "type": "382" + "type": "381" }, { "case": "ssh", - "type": "383" + "type": "382" }, { "case": "vdi", - "type": "384" + "type": "383" }, { "case": "vhdx", - "type": "385" + "type": "384" }, { "case": "vpc", - "type": "386" + "type": "385" }, { "case": "blkdebug", @@ -15311,13 +15289,13 @@ "members": [ { "name": "driver", - "type": "235" + "type": "234" } ], "meta-type": "object" }, { - "name": "267", + "name": "266", "meta-type": "enum", "values": [ "retain", @@ -15326,7 +15304,7 @@ ] }, { - "name": "268", + "name": "267", "meta-type": "enum", "values": [ "read", @@ -15334,7 +15312,7 @@ ] }, { - "name": "269", + "name": "268", "meta-type": "enum", "values": [ "ignore", @@ -15343,7 +15321,7 @@ ] }, { - "name": "270", + "name": "269", "members": [ { "type": "str" @@ -15355,36 +15333,36 @@ "meta-type": "alternate" }, { - "name": "271", + "name": "270", "tag": "type", "variants": [ { "case": "inet", - "type": "388" + "type": "387" }, { "case": "unix", - "type": "389" + "type": "388" }, { "case": "vsock", - "type": "390" + "type": "389" }, { "case": "fd", - "type": "391" + "type": "390" } ], "members": [ { "name": "type", - "type": "387" + "type": "386" } ], "meta-type": "object" }, { - "name": "272", + "name": "271", "meta-type": "enum", "values": [ "safe", @@ -15392,7 +15370,7 @@ ] }, { - "name": "273", + "name": "272", "meta-type": "enum", "values": [ "read", @@ -15401,7 +15379,7 @@ ] }, { - "name": "274", + "name": "273", "meta-type": "enum", "values": [ "utf8", @@ -15409,100 +15387,100 @@ ] }, { - "name": "275", + "name": "274", "tag": "type", "variants": [ { "case": "file", - "type": "393" + "type": "392" }, { "case": "serial", - "type": "394" + "type": "393" }, { "case": "parallel", - "type": "394" + "type": "393" }, { "case": "pipe", - "type": "394" + "type": "393" }, { "case": "socket", - "type": "395" + "type": "394" }, { "case": "udp", - "type": "396" + "type": "395" }, { "case": "pty", - "type": "397" + "type": "396" }, { "case": "null", - "type": "397" + "type": "396" }, { "case": "mux", - "type": "398" + "type": "397" }, { "case": "msmouse", - "type": "397" + "type": "396" }, { "case": "wctablet", - "type": "397" + "type": "396" }, { "case": "braille", - "type": "397" + "type": "396" }, { "case": "testdev", - "type": "397" + "type": "396" }, { "case": "stdio", - "type": "399" + "type": "398" }, { "case": "console", - "type": "397" + "type": "396" }, { "case": "spicevmc", - "type": "400" + "type": "399" }, { "case": "spiceport", - "type": "401" + "type": "400" }, { "case": "vc", - "type": "402" + "type": "401" }, { "case": "ringbuf", - "type": "403" + "type": "402" }, { "case": "memory", - "type": "403" + "type": "402" } ], "members": [ { "name": "type", - "type": "392" + "type": "391" } ], "meta-type": "object" }, { - "name": "276", + "name": "275", "meta-type": "enum", "values": [ "normal", @@ -15511,12 +15489,7 @@ ] }, { - "name": "[str]", - "element-type": "str", - "meta-type": "array" - }, - { - "name": "277", + "name": "276", "meta-type": "enum", "values": [ "half", @@ -15524,7 +15497,7 @@ ] }, { - "name": "278", + "name": "277", "meta-type": "enum", "values": [ "off", @@ -15532,7 +15505,7 @@ ] }, { - "name": "279", + "name": "278", "members": [ { "name": "priority", @@ -15591,7 +15564,7 @@ "meta-type": "object" }, { - "name": "280", + "name": "279", "members": [ { "name": "in-pport", @@ -15632,7 +15605,7 @@ "meta-type": "object" }, { - "name": "281", + "name": "280", "members": [ { "name": "goto-tbl", @@ -15668,28 +15641,28 @@ "meta-type": "object" }, { - "name": "282", + "name": "281", "tag": "type", "variants": [ { "case": "passthrough", - "type": "405" + "type": "404" }, { "case": "emulator", - "type": "406" + "type": "405" } ], "members": [ { "name": "type", - "type": "404" + "type": "403" } ], "meta-type": "object" }, { - "name": "283", + "name": "282", "meta-type": "enum", "values": [ "client", @@ -15698,12 +15671,12 @@ ] }, { - "name": "[284]", - "element-type": "284", + "name": "[283]", + "element-type": "283", "meta-type": "array" }, { - "name": "284", + "name": "283", "members": [ { "name": "host", @@ -15715,7 +15688,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "connection-id", @@ -15737,7 +15710,7 @@ "meta-type": "object" }, { - "name": "285", + "name": "284", "members": [ { "name": "host", @@ -15749,13 +15722,13 @@ }, { "name": "family", - "type": "287" + "type": "286" } ], "meta-type": "object" }, { - "name": "286", + "name": "285", "members": [ { "name": "host", @@ -15767,7 +15740,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "auth", @@ -15778,7 +15751,7 @@ "meta-type": "object" }, { - "name": "287", + "name": "286", "meta-type": "enum", "values": [ "ipv4", @@ -15789,12 +15762,12 @@ ] }, { - "name": "[288]", - "element-type": "288", + "name": "[287]", + "element-type": "287", "meta-type": "array" }, { - "name": "288", + "name": "287", "members": [ { "name": "host", @@ -15806,7 +15779,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "websocket", @@ -15826,12 +15799,12 @@ "meta-type": "object" }, { - "name": "[289]", - "element-type": "289", + "name": "[288]", + "element-type": "288", "meta-type": "array" }, { - "name": "289", + "name": "288", "members": [ { "name": "host", @@ -15843,7 +15816,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "websocket", @@ -15851,18 +15824,18 @@ }, { "name": "auth", - "type": "290" + "type": "289" }, { "name": "vencrypt", "default": null, - "type": "291" + "type": "290" } ], "meta-type": "object" }, { - "name": "290", + "name": "289", "meta-type": "enum", "values": [ "none", @@ -15877,7 +15850,7 @@ ] }, { - "name": "291", + "name": "290", "meta-type": "enum", "values": [ "plain", @@ -15892,7 +15865,7 @@ ] }, { - "name": "292", + "name": "291", "members": [ { "name": "host", @@ -15904,7 +15877,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "websocket", @@ -15919,7 +15892,7 @@ "meta-type": "object" }, { - "name": "293", + "name": "292", "members": [ { "name": "host", @@ -15931,7 +15904,7 @@ }, { "name": "family", - "type": "287" + "type": "286" }, { "name": "websocket", @@ -15941,67 +15914,67 @@ "meta-type": "object" }, { - "name": "[294]", - "element-type": "294", + "name": "[293]", + "element-type": "293", "meta-type": "array" }, { - "name": "294", + "name": "293", "tag": "type", "variants": [ { "case": "number", - "type": "408" + "type": "407" }, { "case": "qcode", - "type": "409" + "type": "408" } ], "members": [ { "name": "type", - "type": "407" + "type": "406" } ], "meta-type": "object" }, { - "name": "[295]", - "element-type": "295", + "name": "[294]", + "element-type": "294", "meta-type": "array" }, { - "name": "295", + "name": "294", "tag": "type", "variants": [ { "case": "key", - "type": "411" + "type": "410" }, { "case": "btn", - "type": "412" + "type": "411" }, { "case": "rel", - "type": "413" + "type": "412" }, { "case": "abs", - "type": "413" + "type": "412" } ], "members": [ { "name": "type", - "type": "410" + "type": "409" } ], "meta-type": "object" }, { - "name": "296", + "name": "295", "meta-type": "enum", "values": [ "default", @@ -16014,7 +15987,7 @@ ] }, { - "name": "297", + "name": "296", "meta-type": "enum", "values": [ "off", @@ -16024,7 +15997,7 @@ ] }, { - "name": "298", + "name": "297", "members": [ { "name": "grab-on-hover", @@ -16040,7 +16013,7 @@ "meta-type": "object" }, { - "name": "299", + "name": "298", "members": [ { "name": "rendernode", @@ -16051,7 +16024,7 @@ "meta-type": "object" }, { - "name": "300", + "name": "299", "meta-type": "enum", "values": [ "none", @@ -16070,7 +16043,7 @@ ] }, { - "name": "301", + "name": "300", "members": [ { "name": "transferred", @@ -16123,12 +16096,16 @@ { "name": "multifd-bytes", "type": "int" + }, + { + "name": "pages-per-second", + "type": "int" } ], "meta-type": "object" }, { - "name": "302", + "name": "301", "members": [ { "name": "cache-size", @@ -16158,7 +16135,7 @@ "meta-type": "object" }, { - "name": "303", + "name": "302", "members": [ { "name": "pages", @@ -16184,7 +16161,7 @@ "meta-type": "object" }, { - "name": "304", + "name": "303", "meta-type": "enum", "values": [ "xbzrle", @@ -16206,7 +16183,7 @@ ] }, { - "name": "305", + "name": "304", "meta-type": "enum", "values": [ "none", @@ -16215,7 +16192,7 @@ ] }, { - "name": "306", + "name": "305", "meta-type": "enum", "values": [ "none", @@ -16229,80 +16206,80 @@ "meta-type": "builtin" }, { - "name": "[307]", - "element-type": "307", + "name": "[306]", + "element-type": "306", "meta-type": "array" }, { - "name": "307", + "name": "306", "tag": "type", "variants": [ { "case": "abort", - "type": "415" + "type": "414" }, { "case": "block-dirty-bitmap-add", - "type": "416" + "type": "415" }, { "case": "block-dirty-bitmap-clear", - "type": "417" + "type": "416" }, { - "case": "x-block-dirty-bitmap-enable", - "type": "417" + "case": "block-dirty-bitmap-enable", + "type": "416" }, { - "case": "x-block-dirty-bitmap-disable", - "type": "417" + "case": "block-dirty-bitmap-disable", + "type": "416" }, { - "case": "x-block-dirty-bitmap-merge", - "type": "418" + "case": "block-dirty-bitmap-merge", + "type": "417" }, { "case": "blockdev-backup", - "type": "419" + "type": "418" }, { "case": "blockdev-snapshot", - "type": "420" + "type": "419" }, { "case": "blockdev-snapshot-internal-sync", - "type": "421" + "type": "420" }, { "case": "blockdev-snapshot-sync", - "type": "422" + "type": "421" }, { "case": "drive-backup", - "type": "423" + "type": "422" } ], "members": [ { "name": "type", - "type": "414" + "type": "413" } ], "meta-type": "object" }, { - "name": "308", + "name": "307", "members": [ { "name": "completion-mode", "default": null, - "type": "424" + "type": "423" } ], "meta-type": "object" }, { - "name": "309", + "name": "308", "meta-type": "enum", "values": [ "unavailable", @@ -16311,7 +16288,7 @@ ] }, { - "name": "310", + "name": "309", "meta-type": "enum", "values": [ "builtin", @@ -16324,17 +16301,17 @@ ] }, { - "name": "311", + "name": "310", "members": [ { "name": "json-type", - "type": "425" + "type": "424" } ], "meta-type": "object" }, { - "name": "312", + "name": "311", "members": [ { "name": "values", @@ -16344,7 +16321,7 @@ "meta-type": "object" }, { - "name": "313", + "name": "312", "members": [ { "name": "element-type", @@ -16354,11 +16331,11 @@ "meta-type": "object" }, { - "name": "314", + "name": "313", "members": [ { "name": "members", - "type": "[426]" + "type": "[425]" }, { "name": "tag", @@ -16368,23 +16345,23 @@ { "name": "variants", "default": null, - "type": "[427]" + "type": "[426]" } ], "meta-type": "object" }, { - "name": "315", + "name": "314", "members": [ { "name": "members", - "type": "[428]" + "type": "[427]" } ], "meta-type": "object" }, { - "name": "316", + "name": "315", "members": [ { "name": "arg-type", @@ -16403,7 +16380,7 @@ "meta-type": "object" }, { - "name": "317", + "name": "316", "members": [ { "name": "arg-type", @@ -16413,19 +16390,19 @@ "meta-type": "object" }, { - "name": "[318]", - "element-type": "318", + "name": "[317]", + "element-type": "317", "meta-type": "array" }, { - "name": "318", + "name": "317", "meta-type": "enum", "values": [ "oob" ] }, { - "name": "319", + "name": "318", "members": [ { "name": "major", @@ -16443,7 +16420,7 @@ "meta-type": "object" }, { - "name": "320", + "name": "319", "members": [ { "name": "node-id", @@ -16469,7 +16446,7 @@ "meta-type": "object" }, { - "name": "321", + "name": "320", "meta-type": "enum", "values": [ "x86", @@ -16483,7 +16460,7 @@ ] }, { - "name": "322", + "name": "321", "members": [ { "name": "pc", @@ -16493,7 +16470,7 @@ "meta-type": "object" }, { - "name": "323", + "name": "322", "members": [ { "name": "pc", @@ -16507,7 +16484,7 @@ "meta-type": "object" }, { - "name": "324", + "name": "323", "members": [ { "name": "nip", @@ -16517,7 +16494,7 @@ "meta-type": "object" }, { - "name": "325", + "name": "324", "members": [ { "name": "PC", @@ -16527,7 +16504,7 @@ "meta-type": "object" }, { - "name": "326", + "name": "325", "members": [ { "name": "PC", @@ -16537,17 +16514,17 @@ "meta-type": "object" }, { - "name": "327", + "name": "326", "members": [ { "name": "cpu-state", - "type": "429" + "type": "428" } ], "meta-type": "object" }, { - "name": "328", + "name": "327", "members": [ { "name": "pc", @@ -16557,7 +16534,7 @@ "meta-type": "object" }, { - "name": "329", + "name": "328", "meta-type": "enum", "values": [ "aarch64", @@ -16594,12 +16571,12 @@ ] }, { - "name": "[330]", - "element-type": "330", + "name": "[329]", + "element-type": "329", "meta-type": "array" }, { - "name": "330", + "name": "329", "members": [ { "name": "bus", @@ -16615,11 +16592,11 @@ }, { "name": "class_info", - "type": "430" + "type": "429" }, { "name": "id", - "type": "431" + "type": "430" }, { "name": "irq", @@ -16633,17 +16610,17 @@ { "name": "pci_bridge", "default": null, - "type": "432" + "type": "431" }, { "name": "regions", - "type": "[433]" + "type": "[432]" } ], "meta-type": "object" }, { - "name": "331", + "name": "330", "meta-type": "enum", "values": [ "elf", @@ -16654,7 +16631,7 @@ ] }, { - "name": "332", + "name": "331", "meta-type": "enum", "values": [ "none", @@ -16664,12 +16641,12 @@ ] }, { - "name": "[331]", - "element-type": "331", + "name": "[330]", + "element-type": "330", "meta-type": "array" }, { - "name": "333", + "name": "332", "meta-type": "enum", "values": [ "static", @@ -16677,7 +16654,7 @@ ] }, { - "name": "334", + "name": "333", "members": [ { "name": "name", @@ -16692,7 +16669,7 @@ "meta-type": "object" }, { - "name": "335", + "name": "334", "meta-type": "enum", "values": [ "incompatible", @@ -16702,12 +16679,12 @@ ] }, { - "name": "[336]", - "element-type": "336", + "name": "[335]", + "element-type": "335", "meta-type": "array" }, { - "name": "336", + "name": "335", "members": [ { "name": "fd", @@ -16722,12 +16699,12 @@ "meta-type": "object" }, { - "name": "[337]", - "element-type": "337", + "name": "[336]", + "element-type": "336", "meta-type": "array" }, { - "name": "337", + "name": "336", "members": [ { "name": "name", @@ -16735,7 +16712,7 @@ }, { "name": "type", - "type": "434" + "type": "433" }, { "name": "help", @@ -16751,7 +16728,7 @@ "meta-type": "object" }, { - "name": "338", + "name": "337", "meta-type": "enum", "values": [ "default", @@ -16761,7 +16738,7 @@ ] }, { - "name": "339", + "name": "338", "meta-type": "enum", "values": [ "dimm", @@ -16769,17 +16746,17 @@ ] }, { - "name": "340", + "name": "339", "members": [ { "name": "data", - "type": "435" + "type": "434" } ], "meta-type": "object" }, { - "name": "341", + "name": "340", "meta-type": "enum", "values": [ "DIMM", @@ -16787,7 +16764,7 @@ ] }, { - "name": "342", + "name": "341", "meta-type": "enum", "values": [ "uninit", @@ -16799,7 +16776,7 @@ ] }, { - "name": "343", + "name": "342", "meta-type": "enum", "values": [ "node", @@ -16808,7 +16785,7 @@ ] }, { - "name": "344", + "name": "343", "members": [ { "name": "nodeid", @@ -16834,7 +16811,7 @@ "meta-type": "object" }, { - "name": "345", + "name": "344", "members": [ { "name": "src", @@ -16852,7 +16829,7 @@ "meta-type": "object" }, { - "name": "346", + "name": "345", "members": [ { "name": "node-id", @@ -16878,7 +16855,7 @@ "meta-type": "object" }, { - "name": "347", + "name": "346", "meta-type": "enum", "values": [ "hyper-v", @@ -16886,7 +16863,7 @@ ] }, { - "name": "348", + "name": "347", "members": [ { "name": "arg1", @@ -16912,7 +16889,7 @@ "meta-type": "object" }, { - "name": "349", + "name": "348", "members": [ { "name": "core", @@ -16928,13 +16905,13 @@ }, { "name": "reason", - "type": "436" + "type": "435" } ], "meta-type": "object" }, { - "name": "350", + "name": "349", "meta-type": "enum", "values": [ "active", @@ -16944,12 +16921,12 @@ ] }, { - "name": "[351]", - "element-type": "351", + "name": "[350]", + "element-type": "350", "meta-type": "array" }, { - "name": "351", + "name": "350", "members": [ { "name": "interval_length", @@ -17003,7 +16980,7 @@ "meta-type": "object" }, { - "name": "352", + "name": "351", "members": [ { "name": "boundaries", @@ -17022,32 +16999,32 @@ "meta-type": "array" }, { - "name": "353", + "name": "352", "tag": "type", "variants": [ { "case": "qcow2", - "type": "438" + "type": "437" }, { "case": "vmdk", - "type": "439" + "type": "438" }, { "case": "luks", - "type": "440" + "type": "439" } ], "members": [ { "name": "type", - "type": "437" + "type": "436" } ], "meta-type": "object" }, { - "name": "354", + "name": "353", "members": [ { "type": "44" @@ -17059,16 +17036,16 @@ "meta-type": "alternate" }, { - "name": "[355]", - "element-type": "355", + "name": "[354]", + "element-type": "354", "meta-type": "array" }, { - "name": "355", + "name": "354", "members": [ { "name": "event", - "type": "441" + "type": "440" }, { "name": "state", @@ -17099,16 +17076,16 @@ "meta-type": "object" }, { - "name": "[356]", - "element-type": "356", + "name": "[355]", + "element-type": "355", "meta-type": "array" }, { - "name": "356", + "name": "355", "members": [ { "name": "event", - "type": "441" + "type": "440" }, { "name": "state", @@ -17123,7 +17100,7 @@ "meta-type": "object" }, { - "name": "357", + "name": "356", "meta-type": "enum", "values": [ "auto", @@ -17132,7 +17109,7 @@ ] }, { - "name": "358", + "name": "357", "meta-type": "enum", "values": [ "threads", @@ -17140,41 +17117,41 @@ ] }, { - "name": "[359]", - "element-type": "359", + "name": "[358]", + "element-type": "358", "meta-type": "array" }, { - "name": "359", + "name": "358", "tag": "type", "variants": [ { "case": "inet", - "type": "371" + "type": "370" }, { "case": "unix", - "type": "443" + "type": "442" }, { "case": "vsock", - "type": "444" + "type": "443" }, { "case": "fd", - "type": "445" + "type": "444" } ], "members": [ { "name": "type", - "type": "442" + "type": "441" } ], "meta-type": "object" }, { - "name": "360", + "name": "359", "meta-type": "enum", "values": [ "tcp", @@ -17182,7 +17159,7 @@ ] }, { - "name": "361", + "name": "360", "meta-type": "enum", "values": [ "crc32c", @@ -17192,11 +17169,11 @@ ] }, { - "name": "362", + "name": "361", "members": [ { "name": "type", - "type": "446" + "type": "445" }, { "name": "host", @@ -17206,7 +17183,7 @@ "meta-type": "object" }, { - "name": "363", + "name": "362", "members": [ { "type": "44" @@ -17221,62 +17198,62 @@ "meta-type": "alternate" }, { - "name": "364", + "name": "363", "members": [ { - "type": "447" + "type": "446" }, { - "type": "448" + "type": "447" } ], "meta-type": "alternate" }, { - "name": "365", + "name": "364", "tag": "format", "variants": [ { "case": "aes", - "type": "450" + "type": "449" }, { "case": "luks", - "type": "451" + "type": "450" } ], "members": [ { "name": "format", - "type": "449" + "type": "448" } ], "meta-type": "object" }, { - "name": "366", + "name": "365", "tag": "format", "variants": [ { "case": "aes", - "type": "450" + "type": "449" } ], "members": [ { "name": "format", - "type": "452" + "type": "451" } ], "meta-type": "object" }, { - "name": "[354]", - "element-type": "354", + "name": "[353]", + "element-type": "353", "meta-type": "array" }, { - "name": "367", + "name": "366", "meta-type": "enum", "values": [ "quorum", @@ -17284,12 +17261,12 @@ ] }, { - "name": "[368]", - "element-type": "368", + "name": "[367]", + "element-type": "367", "meta-type": "array" }, { - "name": "368", + "name": "367", "meta-type": "enum", "values": [ "cephx", @@ -17297,12 +17274,12 @@ ] }, { - "name": "[369]", - "element-type": "369", + "name": "[368]", + "element-type": "368", "meta-type": "array" }, { - "name": "369", + "name": "368", "members": [ { "name": "host", @@ -17316,7 +17293,7 @@ "meta-type": "object" }, { - "name": "370", + "name": "369", "meta-type": "enum", "values": [ "primary", @@ -17324,7 +17301,7 @@ ] }, { - "name": "371", + "name": "370", "members": [ { "name": "host", @@ -17358,12 +17335,12 @@ "meta-type": "object" }, { - "name": "372", + "name": "371", "tag": "mode", "variants": [ { "case": "hash", - "type": "454" + "type": "453" }, { "case": "none", @@ -17377,13 +17354,13 @@ "members": [ { "name": "mode", - "type": "453" + "type": "452" } ], "meta-type": "object" }, { - "name": "373", + "name": "372", "members": [ { "name": "filename", @@ -17396,7 +17373,7 @@ { "name": "preallocation", "default": null, - "type": "455" + "type": "454" }, { "name": "nocow", @@ -17407,11 +17384,11 @@ "meta-type": "object" }, { - "name": "374", + "name": "373", "members": [ { "name": "location", - "type": "245" + "type": "244" }, { "name": "size", @@ -17420,13 +17397,13 @@ { "name": "preallocation", "default": null, - "type": "455" + "type": "454" } ], "meta-type": "object" }, { - "name": "375", + "name": "374", "members": [ { "name": "key-secret", @@ -17436,27 +17413,27 @@ { "name": "cipher-alg", "default": null, - "type": "456" + "type": "455" }, { "name": "cipher-mode", "default": null, - "type": "457" + "type": "456" }, { "name": "ivgen-alg", "default": null, - "type": "458" + "type": "457" }, { "name": "ivgen-hash-alg", "default": null, - "type": "459" + "type": "458" }, { "name": "hash-alg", "default": null, - "type": "459" + "type": "458" }, { "name": "iter-time", @@ -17465,7 +17442,7 @@ }, { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17475,11 +17452,11 @@ "meta-type": "object" }, { - "name": "376", + "name": "375", "members": [ { "name": "location", - "type": "251" + "type": "250" }, { "name": "size", @@ -17489,11 +17466,11 @@ "meta-type": "object" }, { - "name": "377", + "name": "376", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17508,11 +17485,11 @@ "meta-type": "object" }, { - "name": "378", + "name": "377", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17526,17 +17503,17 @@ { "name": "encrypt", "default": null, - "type": "460" + "type": "459" } ], "meta-type": "object" }, { - "name": "379", + "name": "378", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17545,7 +17522,7 @@ { "name": "version", "default": null, - "type": "461" + "type": "460" }, { "name": "backing-file", @@ -17555,12 +17532,12 @@ { "name": "backing-fmt", "default": null, - "type": "235" + "type": "234" }, { "name": "encrypt", "default": null, - "type": "460" + "type": "459" }, { "name": "cluster-size", @@ -17570,7 +17547,7 @@ { "name": "preallocation", "default": null, - "type": "455" + "type": "454" }, { "name": "lazy-refcounts", @@ -17586,11 +17563,11 @@ "meta-type": "object" }, { - "name": "380", + "name": "379", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17604,7 +17581,7 @@ { "name": "backing-fmt", "default": null, - "type": "235" + "type": "234" }, { "name": "cluster-size", @@ -17620,11 +17597,11 @@ "meta-type": "object" }, { - "name": "381", + "name": "380", "members": [ { "name": "location", - "type": "259" + "type": "258" }, { "name": "size", @@ -17639,11 +17616,11 @@ "meta-type": "object" }, { - "name": "382", + "name": "381", "members": [ { "name": "location", - "type": "261" + "type": "260" }, { "name": "size", @@ -17657,12 +17634,12 @@ { "name": "preallocation", "default": null, - "type": "455" + "type": "454" }, { "name": "redundancy", "default": null, - "type": "462" + "type": "461" }, { "name": "object-size", @@ -17673,11 +17650,11 @@ "meta-type": "object" }, { - "name": "383", + "name": "382", "members": [ { "name": "location", - "type": "262" + "type": "261" }, { "name": "size", @@ -17687,11 +17664,11 @@ "meta-type": "object" }, { - "name": "384", + "name": "383", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17700,17 +17677,17 @@ { "name": "preallocation", "default": null, - "type": "455" + "type": "454" } ], "meta-type": "object" }, { - "name": "385", + "name": "384", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17729,7 +17706,7 @@ { "name": "subformat", "default": null, - "type": "463" + "type": "462" }, { "name": "block-state-zero", @@ -17740,11 +17717,11 @@ "meta-type": "object" }, { - "name": "386", + "name": "385", "members": [ { "name": "file", - "type": "354" + "type": "353" }, { "name": "size", @@ -17753,7 +17730,7 @@ { "name": "subformat", "default": null, - "type": "464" + "type": "463" }, { "name": "force-size", @@ -17769,7 +17746,7 @@ "meta-type": "builtin" }, { - "name": "387", + "name": "386", "meta-type": "enum", "values": [ "inet", @@ -17779,47 +17756,47 @@ ] }, { - "name": "388", + "name": "387", "members": [ { "name": "data", - "type": "371" + "type": "370" } ], "meta-type": "object" }, { - "name": "389", + "name": "388", "members": [ { "name": "data", - "type": "443" + "type": "442" } ], "meta-type": "object" }, { - "name": "390", + "name": "389", "members": [ { "name": "data", - "type": "444" + "type": "443" } ], "meta-type": "object" }, { - "name": "391", + "name": "390", "members": [ { "name": "data", - "type": "445" + "type": "444" } ], "meta-type": "object" }, { - "name": "392", + "name": "391", "meta-type": "enum", "values": [ "file", @@ -17844,6 +17821,16 @@ "memory" ] }, + { + "name": "392", + "members": [ + { + "name": "data", + "type": "464" + } + ], + "meta-type": "object" + }, { "name": "393", "members": [ @@ -17946,16 +17933,6 @@ }, { "name": "403", - "members": [ - { - "name": "data", - "type": "475" - } - ], - "meta-type": "object" - }, - { - "name": "404", "meta-type": "enum", "values": [ "passthrough", @@ -17963,27 +17940,27 @@ ] }, { - "name": "405", + "name": "404", "members": [ { "name": "data", - "type": "476" + "type": "475" } ], "meta-type": "object" }, { - "name": "406", + "name": "405", "members": [ { "name": "data", - "type": "477" + "type": "476" } ], "meta-type": "object" }, { - "name": "407", + "name": "406", "meta-type": "enum", "values": [ "number", @@ -17991,7 +17968,7 @@ ] }, { - "name": "408", + "name": "407", "members": [ { "name": "data", @@ -18001,17 +17978,17 @@ "meta-type": "object" }, { - "name": "409", + "name": "408", "members": [ { "name": "data", - "type": "478" + "type": "477" } ], "meta-type": "object" }, { - "name": "410", + "name": "409", "meta-type": "enum", "values": [ "key", @@ -18021,45 +17998,45 @@ ] }, { - "name": "411", + "name": "410", "members": [ { "name": "data", - "type": "479" + "type": "478" } ], "meta-type": "object" }, { - "name": "412", + "name": "411", "members": [ { "name": "data", - "type": "480" + "type": "479" } ], "meta-type": "object" }, { - "name": "413", + "name": "412", "members": [ { "name": "data", - "type": "481" + "type": "480" } ], "meta-type": "object" }, { - "name": "414", + "name": "413", "meta-type": "enum", "values": [ "abort", "block-dirty-bitmap-add", "block-dirty-bitmap-clear", - "x-block-dirty-bitmap-enable", - "x-block-dirty-bitmap-disable", - "x-block-dirty-bitmap-merge", + "block-dirty-bitmap-enable", + "block-dirty-bitmap-disable", + "block-dirty-bitmap-merge", "blockdev-backup", "blockdev-snapshot", "blockdev-snapshot-internal-sync", @@ -18068,17 +18045,17 @@ ] }, { - "name": "415", + "name": "414", "members": [ { "name": "data", - "type": "482" + "type": "481" } ], "meta-type": "object" }, { - "name": "416", + "name": "415", "members": [ { "name": "data", @@ -18088,7 +18065,7 @@ "meta-type": "object" }, { - "name": "417", + "name": "416", "members": [ { "name": "data", @@ -18098,7 +18075,7 @@ "meta-type": "object" }, { - "name": "418", + "name": "417", "members": [ { "name": "data", @@ -18108,7 +18085,7 @@ "meta-type": "object" }, { - "name": "419", + "name": "418", "members": [ { "name": "data", @@ -18118,7 +18095,7 @@ "meta-type": "object" }, { - "name": "420", + "name": "419", "members": [ { "name": "data", @@ -18128,7 +18105,7 @@ "meta-type": "object" }, { - "name": "421", + "name": "420", "members": [ { "name": "data", @@ -18138,7 +18115,7 @@ "meta-type": "object" }, { - "name": "422", + "name": "421", "members": [ { "name": "data", @@ -18148,7 +18125,7 @@ "meta-type": "object" }, { - "name": "423", + "name": "422", "members": [ { "name": "data", @@ -18158,7 +18135,7 @@ "meta-type": "object" }, { - "name": "424", + "name": "423", "meta-type": "enum", "values": [ "individual", @@ -18166,7 +18143,7 @@ ] }, { - "name": "425", + "name": "424", "meta-type": "enum", "values": [ "string", @@ -18180,12 +18157,12 @@ ] }, { - "name": "[426]", - "element-type": "426", + "name": "[425]", + "element-type": "425", "meta-type": "array" }, { - "name": "426", + "name": "425", "members": [ { "name": "name", @@ -18204,12 +18181,12 @@ "meta-type": "object" }, { - "name": "[427]", - "element-type": "427", + "name": "[426]", + "element-type": "426", "meta-type": "array" }, { - "name": "427", + "name": "426", "members": [ { "name": "case", @@ -18223,12 +18200,12 @@ "meta-type": "object" }, { - "name": "[428]", - "element-type": "428", + "name": "[427]", + "element-type": "427", "meta-type": "array" }, { - "name": "428", + "name": "427", "members": [ { "name": "type", @@ -18238,7 +18215,7 @@ "meta-type": "object" }, { - "name": "429", + "name": "428", "meta-type": "enum", "values": [ "uninitialized", @@ -18249,7 +18226,7 @@ ] }, { - "name": "430", + "name": "429", "members": [ { "name": "desc", @@ -18264,7 +18241,7 @@ "meta-type": "object" }, { - "name": "431", + "name": "430", "members": [ { "name": "device", @@ -18288,27 +18265,27 @@ "meta-type": "object" }, { - "name": "432", + "name": "431", "members": [ { "name": "bus", - "type": "483" + "type": "482" }, { "name": "devices", "default": null, - "type": "[330]" + "type": "[329]" } ], "meta-type": "object" }, { - "name": "[433]", - "element-type": "433", + "name": "[432]", + "element-type": "432", "meta-type": "array" }, { - "name": "433", + "name": "432", "members": [ { "name": "bar", @@ -18340,7 +18317,7 @@ "meta-type": "object" }, { - "name": "434", + "name": "433", "meta-type": "enum", "values": [ "string", @@ -18350,7 +18327,7 @@ ] }, { - "name": "435", + "name": "434", "members": [ { "name": "id", @@ -18389,7 +18366,7 @@ "meta-type": "object" }, { - "name": "436", + "name": "435", "meta-type": "enum", "values": [ "unknown", @@ -18400,7 +18377,7 @@ ] }, { - "name": "437", + "name": "436", "meta-type": "enum", "values": [ "qcow2", @@ -18409,37 +18386,37 @@ ] }, { - "name": "438", + "name": "437", "members": [ { "name": "data", - "type": "484" + "type": "483" } ], "meta-type": "object" }, { - "name": "439", + "name": "438", "members": [ { "name": "data", - "type": "485" + "type": "484" } ], "meta-type": "object" }, { - "name": "440", + "name": "439", "members": [ { "name": "data", - "type": "486" + "type": "485" } ], "meta-type": "object" }, { - "name": "441", + "name": "440", "meta-type": "enum", "values": [ "l1_update", @@ -18491,7 +18468,7 @@ ] }, { - "name": "442", + "name": "441", "meta-type": "enum", "values": [ "inet", @@ -18501,7 +18478,7 @@ ] }, { - "name": "443", + "name": "442", "members": [ { "name": "path", @@ -18511,7 +18488,7 @@ "meta-type": "object" }, { - "name": "444", + "name": "443", "members": [ { "name": "cid", @@ -18525,7 +18502,7 @@ "meta-type": "object" }, { - "name": "445", + "name": "444", "members": [ { "name": "str", @@ -18535,19 +18512,19 @@ "meta-type": "object" }, { - "name": "446", + "name": "445", "meta-type": "enum", "values": [ "inet" ] }, { - "name": "447", + "name": "446", "members": [ { "name": "template", "default": null, - "type": "448" + "type": "447" }, { "name": "main-header", @@ -18598,7 +18575,7 @@ "meta-type": "object" }, { - "name": "448", + "name": "447", "meta-type": "enum", "values": [ "none", @@ -18608,7 +18585,7 @@ ] }, { - "name": "449", + "name": "448", "meta-type": "enum", "values": [ "aes", @@ -18616,7 +18593,7 @@ ] }, { - "name": "450", + "name": "449", "members": [ { "name": "key-secret", @@ -18627,7 +18604,7 @@ "meta-type": "object" }, { - "name": "451", + "name": "450", "members": [ { "name": "key-secret", @@ -18638,14 +18615,14 @@ "meta-type": "object" }, { - "name": "452", + "name": "451", "meta-type": "enum", "values": [ "aes" ] }, { - "name": "453", + "name": "452", "meta-type": "enum", "values": [ "none", @@ -18654,11 +18631,11 @@ ] }, { - "name": "454", + "name": "453", "members": [ { "name": "type", - "type": "487" + "type": "486" }, { "name": "hash", @@ -18668,7 +18645,7 @@ "meta-type": "object" }, { - "name": "455", + "name": "454", "meta-type": "enum", "values": [ "off", @@ -18678,7 +18655,7 @@ ] }, { - "name": "456", + "name": "455", "meta-type": "enum", "values": [ "aes-128", @@ -18696,7 +18673,7 @@ ] }, { - "name": "457", + "name": "456", "meta-type": "enum", "values": [ "ecb", @@ -18706,7 +18683,7 @@ ] }, { - "name": "458", + "name": "457", "meta-type": "enum", "values": [ "plain", @@ -18715,7 +18692,7 @@ ] }, { - "name": "459", + "name": "458", "meta-type": "enum", "values": [ "md5", @@ -18728,28 +18705,28 @@ ] }, { - "name": "460", + "name": "459", "tag": "format", "variants": [ { "case": "qcow", - "type": "450" + "type": "449" }, { "case": "luks", - "type": "489" + "type": "488" } ], "members": [ { "name": "format", - "type": "488" + "type": "487" } ], "meta-type": "object" }, { - "name": "461", + "name": "460", "meta-type": "enum", "values": [ "v2", @@ -18757,28 +18734,28 @@ ] }, { - "name": "462", + "name": "461", "tag": "type", "variants": [ { "case": "full", - "type": "491" + "type": "490" }, { "case": "erasure-coded", - "type": "492" + "type": "491" } ], "members": [ { "name": "type", - "type": "490" + "type": "489" } ], "meta-type": "object" }, { - "name": "463", + "name": "462", "meta-type": "enum", "values": [ "dynamic", @@ -18786,7 +18763,7 @@ ] }, { - "name": "464", + "name": "463", "meta-type": "enum", "values": [ "dynamic", @@ -18794,7 +18771,7 @@ ] }, { - "name": "465", + "name": "464", "members": [ { "name": "logfile", @@ -18824,7 +18801,7 @@ "meta-type": "object" }, { - "name": "466", + "name": "465", "members": [ { "name": "logfile", @@ -18844,7 +18821,7 @@ "meta-type": "object" }, { - "name": "467", + "name": "466", "members": [ { "name": "logfile", @@ -18858,7 +18835,7 @@ }, { "name": "addr", - "type": "271" + "type": "270" }, { "name": "tls-creds", @@ -18904,7 +18881,7 @@ "meta-type": "object" }, { - "name": "468", + "name": "467", "members": [ { "name": "logfile", @@ -18918,18 +18895,18 @@ }, { "name": "remote", - "type": "271" + "type": "270" }, { "name": "local", "default": null, - "type": "271" + "type": "270" } ], "meta-type": "object" }, { - "name": "469", + "name": "468", "members": [ { "name": "logfile", @@ -18945,7 +18922,7 @@ "meta-type": "object" }, { - "name": "470", + "name": "469", "members": [ { "name": "logfile", @@ -18965,7 +18942,7 @@ "meta-type": "object" }, { - "name": "471", + "name": "470", "members": [ { "name": "logfile", @@ -18986,7 +18963,7 @@ "meta-type": "object" }, { - "name": "472", + "name": "471", "members": [ { "name": "logfile", @@ -19006,7 +18983,7 @@ "meta-type": "object" }, { - "name": "473", + "name": "472", "members": [ { "name": "logfile", @@ -19026,7 +19003,7 @@ "meta-type": "object" }, { - "name": "474", + "name": "473", "members": [ { "name": "logfile", @@ -19062,7 +19039,7 @@ "meta-type": "object" }, { - "name": "475", + "name": "474", "members": [ { "name": "logfile", @@ -19083,7 +19060,7 @@ "meta-type": "object" }, { - "name": "476", + "name": "475", "members": [ { "name": "path", @@ -19099,7 +19076,7 @@ "meta-type": "object" }, { - "name": "477", + "name": "476", "members": [ { "name": "chardev", @@ -19109,7 +19086,7 @@ "meta-type": "object" }, { - "name": "478", + "name": "477", "meta-type": "enum", "values": [ "unmapped", @@ -19263,11 +19240,11 @@ ] }, { - "name": "479", + "name": "478", "members": [ { "name": "key", - "type": "294" + "type": "293" }, { "name": "down", @@ -19277,11 +19254,11 @@ "meta-type": "object" }, { - "name": "480", + "name": "479", "members": [ { "name": "button", - "type": "493" + "type": "492" }, { "name": "down", @@ -19291,11 +19268,11 @@ "meta-type": "object" }, { - "name": "481", + "name": "480", "members": [ { "name": "axis", - "type": "494" + "type": "493" }, { "name": "value", @@ -19305,13 +19282,13 @@ "meta-type": "object" }, { - "name": "482", + "name": "481", "members": [ ], "meta-type": "object" }, { - "name": "483", + "name": "482", "members": [ { "name": "number", @@ -19327,21 +19304,21 @@ }, { "name": "io_range", - "type": "495" + "type": "494" }, { "name": "memory_range", - "type": "495" + "type": "494" }, { "name": "prefetchable_range", - "type": "495" + "type": "494" } ], "meta-type": "object" }, { - "name": "484", + "name": "483", "members": [ { "name": "compat", @@ -19364,13 +19341,13 @@ { "name": "encrypt", "default": null, - "type": "496" + "type": "495" } ], "meta-type": "object" }, { - "name": "485", + "name": "484", "members": [ { "name": "create-type", @@ -19386,34 +19363,34 @@ }, { "name": "extents", - "type": "[232]" + "type": "[231]" } ], "meta-type": "object" }, { - "name": "486", + "name": "485", "members": [ { "name": "cipher-alg", - "type": "456" + "type": "455" }, { "name": "cipher-mode", - "type": "457" + "type": "456" }, { "name": "ivgen-alg", - "type": "458" + "type": "457" }, { "name": "ivgen-hash-alg", "default": null, - "type": "459" + "type": "458" }, { "name": "hash-alg", - "type": "459" + "type": "458" }, { "name": "payload-offset", @@ -19429,13 +19406,13 @@ }, { "name": "slots", - "type": "[497]" + "type": "[496]" } ], "meta-type": "object" }, { - "name": "487", + "name": "486", "meta-type": "enum", "values": [ "md5", @@ -19443,7 +19420,7 @@ ] }, { - "name": "488", + "name": "487", "meta-type": "enum", "values": [ "qcow", @@ -19451,7 +19428,7 @@ ] }, { - "name": "489", + "name": "488", "members": [ { "name": "key-secret", @@ -19461,27 +19438,27 @@ { "name": "cipher-alg", "default": null, - "type": "456" + "type": "455" }, { "name": "cipher-mode", "default": null, - "type": "457" + "type": "456" }, { "name": "ivgen-alg", "default": null, - "type": "458" + "type": "457" }, { "name": "ivgen-hash-alg", "default": null, - "type": "459" + "type": "458" }, { "name": "hash-alg", "default": null, - "type": "459" + "type": "458" }, { "name": "iter-time", @@ -19492,7 +19469,7 @@ "meta-type": "object" }, { - "name": "490", + "name": "489", "meta-type": "enum", "values": [ "full", @@ -19500,7 +19477,7 @@ ] }, { - "name": "491", + "name": "490", "members": [ { "name": "copies", @@ -19510,7 +19487,7 @@ "meta-type": "object" }, { - "name": "492", + "name": "491", "members": [ { "name": "data-strips", @@ -19524,7 +19501,7 @@ "meta-type": "object" }, { - "name": "493", + "name": "492", "meta-type": "enum", "values": [ "left", @@ -19537,7 +19514,7 @@ ] }, { - "name": "494", + "name": "493", "meta-type": "enum", "values": [ "x", @@ -19545,7 +19522,7 @@ ] }, { - "name": "495", + "name": "494", "members": [ { "name": "base", @@ -19559,12 +19536,12 @@ "meta-type": "object" }, { - "name": "496", + "name": "495", "tag": "format", "variants": [ { "case": "luks", - "type": "486" + "type": "485" }, { "case": "aes", @@ -19574,23 +19551,23 @@ "members": [ { "name": "format", - "type": "449" + "type": "448" } ], "meta-type": "object" }, { - "name": "[232]", - "element-type": "232", + "name": "[231]", + "element-type": "231", "meta-type": "array" }, { - "name": "[497]", - "element-type": "497", + "name": "[496]", + "element-type": "496", "meta-type": "array" }, { - "name": "497", + "name": "496", "members": [ { "name": "active", @@ -19731,7 +19708,7 @@ "pge": true, "avx512bitalg": false, "pdcm": false, - "model": 142, + "model": 94, "movbe": true, "nrip-save": false, "ssse3": true, @@ -19744,7 +19721,7 @@ "cx16": true, "de": true, "pconfig": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -19814,7 +19791,7 @@ "rdseed": true, "avx512-4vnniw": false, "vme": true, - "vmx": true, + "vmx": false, "dtes64": false, "mtrr": true, "rdtscp": true, @@ -19822,7 +19799,7 @@ "kvm-pv-tlb-flush": true, "tbm": false, "wdt": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "sha-ni": false, "abm": true, "avx512pf": false, @@ -19938,7 +19915,7 @@ "pge": true, "avx512bitalg": false, "pdcm": false, - "model": 142, + "model": 94, "movbe": true, "nrip-save": false, "ssse3": true, @@ -19951,7 +19928,7 @@ "cx16": true, "de": true, "pconfig": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -20021,7 +19998,7 @@ "rdseed": true, "avx512-4vnniw": false, "vme": true, - "vmx": true, + "vmx": false, "dtes64": false, "mtrr": true, "rdtscp": true, @@ -20029,7 +20006,7 @@ "kvm-pv-tlb-flush": true, "tbm": false, "wdt": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "sha-ni": false, "abm": true, "avx512pf": false, @@ -20077,6 +20054,7 @@ "sse4-1": true, "family": 6, "legacy-cache": true, + "host-phys-bits-limit": 0, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": false, @@ -20187,7 +20165,7 @@ "nodeid_msr": false, "pdcm": false, "movbe": true, - "model": 142, + "model": 94, "nrip_save": false, "nrip-save": false, "kvm_pv_unhalt": true, @@ -20202,7 +20180,7 @@ "de": true, "pconfig": false, "enforce": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -20297,7 +20275,7 @@ "rdrand": true, "rdseed": true, "avx512-4vnniw": false, - "vmx": true, + "vmx": false, "vme": true, "dtes64": false, "mtrr": true, @@ -20308,7 +20286,7 @@ "wdt": false, "pause_filter": false, "sha-ni": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "abm": true, "avx512pf": false, "xstore-en": false @@ -20435,7 +20413,7 @@ "pge": true, "avx512bitalg": false, "pdcm": false, - "model": 142, + "model": 94, "movbe": true, "nrip-save": false, "ssse3": true, @@ -20448,7 +20426,7 @@ "cx16": true, "de": true, "pconfig": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -20518,7 +20496,7 @@ "rdseed": true, "avx512-4vnniw": false, "vme": true, - "vmx": true, + "vmx": false, "dtes64": false, "mtrr": true, "rdtscp": true, @@ -20526,7 +20504,7 @@ "kvm-pv-tlb-flush": true, "tbm": false, "wdt": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "sha-ni": false, "abm": true, "avx512pf": false, @@ -20642,7 +20620,7 @@ "pge": true, "avx512bitalg": false, "pdcm": false, - "model": 142, + "model": 94, "movbe": true, "nrip-save": false, "ssse3": true, @@ -20655,7 +20633,7 @@ "cx16": true, "de": true, "pconfig": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -20725,7 +20703,7 @@ "rdseed": true, "avx512-4vnniw": false, "vme": true, - "vmx": true, + "vmx": false, "dtes64": false, "mtrr": true, "rdtscp": true, @@ -20733,7 +20711,7 @@ "kvm-pv-tlb-flush": true, "tbm": false, "wdt": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "sha-ni": false, "abm": true, "avx512pf": false, @@ -20781,6 +20759,7 @@ "sse4-1": true, "family": 6, "legacy-cache": true, + "host-phys-bits-limit": 0, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": false, @@ -20891,7 +20870,7 @@ "nodeid_msr": false, "pdcm": false, "movbe": true, - "model": 142, + "model": 94, "nrip_save": false, "nrip-save": false, "kvm_pv_unhalt": true, @@ -20906,7 +20885,7 @@ "de": true, "pconfig": false, "enforce": false, - "stepping": 10, + "stepping": 3, "xsave": true, "clflush": true, "skinit": false, @@ -21001,7 +20980,7 @@ "rdrand": true, "rdseed": true, "avx512-4vnniw": false, - "vmx": true, + "vmx": false, "vme": true, "dtes64": false, "mtrr": true, @@ -21012,7 +20991,7 @@ "wdt": false, "pause_filter": false, "sha-ni": false, - "model-id": "Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz", + "model-id": "Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz", "abm": true, "avx512pf": false, "xstore-en": false @@ -22234,6 +22213,7 @@ "sse4-1": true, "family": 6, "legacy-cache": true, + "host-phys-bits-limit": 0, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": false, @@ -22938,6 +22918,7 @@ "sse4-1": true, "family": 6, "legacy-cache": true, + "host-phys-bits-limit": 0, "vmware-cpuid-freq": true, "wbnoinvd": false, "avx512f": false, diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index 3d4d53023e..dc3cc1f11d 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -89,7 +89,6 @@ - @@ -213,7 +212,7 @@ 3001050 0 43100758 - v3.1.0-759-g15bede5541 + v3.1.0-1222-g90315924b9 x86_64 @@ -248,6 +247,7 @@ + @@ -358,7 +358,7 @@ - + @@ -373,7 +373,7 @@ - + @@ -468,7 +468,7 @@ - + @@ -479,7 +479,7 @@ - + @@ -517,6 +517,7 @@ + @@ -1346,7 +1347,6 @@ - @@ -1357,7 +1357,6 @@ - @@ -1375,8 +1374,8 @@ - + --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692403379933.5762538531148; Mon, 28 Jan 2019 08:20:03 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DFB41440B7; Mon, 28 Jan 2019 16:20:00 +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 A9154C95C8; Mon, 28 Jan 2019 16:19:59 +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 52B3418033A9; Mon, 28 Jan 2019 16:19:59 +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 x0SGJcDg018314 for ; Mon, 28 Jan 2019 11:19:38 -0500 Received: by smtp.corp.redhat.com (Postfix) id 76EBC82EDC; Mon, 28 Jan 2019 16:19:38 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id F049F82ED8 for ; Mon, 28 Jan 2019 16:19:37 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:18:59 +0100 Message-Id: <0a5b93349f557df721290e5023f9628f1131b382.1548692131.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 30/32] qemu: caps: Introduce capability for 'device_id' property of 'scsi-disk' 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: , 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.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 28 Jan 2019 16:20:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The property allows to control the guest-visible content of the vendor specific designator of the 'Device Identification' page of a SCSI device's VPD (vital product data). QEMU was leaking the id string of -drive as the value if the 'serial' of the disk was not specified. Switching to -blockdev would impose an ABI change. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 2 ++ src/qemu/qemu_capabilities.h | 1 + tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml | 1 + 3 files changed, 4 insertions(+) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 901c0bca40..4ed995d59f 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -520,6 +520,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST, /* 325 */ "memory-backend-file.pmem", "nvdimm.unarmed", + "scsi-disk.device_id", ); @@ -1159,6 +1160,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsDevic= ePropsSCSIDisk[] =3D { { "wwn", QEMU_CAPS_SCSI_DISK_WWN }, { "share-rw", QEMU_CAPS_DISK_SHARE_RW }, { "write-cache", QEMU_CAPS_DISK_WRITE_CACHE }, + { "device_id", QEMU_CAPS_SCSI_DISK_DEVICE_ID }, }; static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsIDEDrive[] =3D { diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index 18abd555f4..928cf78e3d 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -504,6 +504,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for = syntax-check */ /* 325 */ QEMU_CAPS_OBJECT_MEMORY_FILE_PMEM, /* -object memory-backend-file,pmem= =3D */ QEMU_CAPS_DEVICE_NVDIMM_UNARMED, /* -device nvdimm,unarmed=3D */ + QEMU_CAPS_SCSI_DISK_DEVICE_ID, /* 'device_id' property of scsi disk */ QEMU_CAPS_LAST /* this must always be the last item */ } virQEMUCapsFlags; diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml b/tests/qemuc= apabilitiesdata/caps_4.0.0.x86_64.xml index dc3cc1f11d..32b4f2cb14 100644 --- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml @@ -209,6 +209,7 @@ + 3001050 0 43100758 --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692421453620.8447739989625; Mon, 28 Jan 2019 08:20:21 -0800 (PST) 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 mx1.redhat.com (Postfix) with ESMTPS id 9BEECC0C4273; Mon, 28 Jan 2019 16:20:17 +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 47D0284016; Mon, 28 Jan 2019 16:20:17 +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 E996C3F60B; Mon, 28 Jan 2019 16:20:16 +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 x0SGJdHP018327 for ; Mon, 28 Jan 2019 11:19:39 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4A8A682EDC; Mon, 28 Jan 2019 16:19:39 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id C3E8F82ED8 for ; Mon, 28 Jan 2019 16:19:38 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:19:00 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 31/32] qemu: Use the 'device_id' property of SCSI disks to avoid regressing 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Jan 2019 16:20:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" QEMU accidentally exposed the id of -drive (or same value as disk serial, if provided) in one of the identifiers visible from the guest. To avoid regression in case when -blockdev will be used we need to always specify it ourselves. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 22 +++++++++++++++++++ .../controller-virtio-scsi.x86_64-latest.args | 20 ++++++++--------- .../disk-cache.x86_64-latest.args | 4 ++-- .../disk-scsi-device-auto.x86_64-latest.args | 3 ++- .../disk-scsi.x86_64-latest.args | 16 ++++++++------ .../disk-shared.x86_64-latest.args | 5 +++-- ...threads-virtio-scsi-pci.x86_64-latest.args | 4 ++-- 7 files changed, 50 insertions(+), 24 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 0a62317a33..2036ae663c 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -1873,6 +1873,7 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, const char *bus =3D virDomainDiskQEMUBusTypeToString(disk->bus); const char *contAlias; char *backendAlias =3D NULL; + char *scsiVPDDeviceId =3D NULL; int controllerModel; if (qemuCheckDiskConfig(disk, qemuCaps) < 0) @@ -1962,6 +1963,21 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, virBufferAddLit(&opt, "scsi-cd"); else virBufferAddLit(&opt, "scsi-hd"); + + /* qemu historically used the name of -drive as one of the dev= ice + * ids in the Vital Product Data Device Identification page if + * disk serial was not set and the disk serial otherwise. + * To avoid a guest-visible regression we need to provide it + * ourselves especially for cases when -blockdev will be used = */ + if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_DISK_DEVICE_ID)) { + if (disk->serial) { + if (VIR_STRDUP(scsiVPDDeviceId, disk->serial) < 0) + goto error; + } else { + if (!(scsiVPDDeviceId =3D qemuAliasDiskDriveFromDisk(d= isk))) + goto error; + } + } } if (!(contAlias =3D virDomainControllerAliasFind(def, VIR_DOMAIN_C= ONTROLLER_TYPE_SCSI, @@ -2004,6 +2020,12 @@ qemuBuildDiskDeviceStr(const virDomainDef *def, disk->info.addr.drive.target, disk->info.addr.drive.unit); } + + if (scsiVPDDeviceId) { + virBufferAddLit(&opt, ",device_id=3D"); + virBufferEscape(&opt, '\\', " ", "%s", scsiVPDDeviceId); + } + break; case VIR_DOMAIN_DISK_BUS_SATA: diff --git a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.ar= gs b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args index cf8a497eb7..095b4724d3 100644 --- a/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/controller-virtio-scsi.x86_64-latest.args @@ -30,20 +30,20 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -device virtio-scsi-pci,id=3Dscsi3,max_sectors=3D512,bus=3Dpci.0,addr=3D0x= 5 \ -device virtio-scsi-pci,id=3Dscsi4,ioeventfd=3Don,bus=3Dpci.0,addr=3D0x6 \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Draw,if=3Dnone,id=3Ddrive-scs= i0-0-0-0 \ --device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi0-0-0-0,\ -id=3Dscsi0-0-0-0,bootindex=3D1 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi0-0-0-0,drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,b= ootindex=3D1 \ -drive file=3D/dev/HostVG/QEMUGuest2,format=3Draw,if=3Dnone,id=3Ddrive-scs= i1-0-0-0 \ --device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ -id=3Dscsi1-0-0-0 \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi1-0-0-0,drive=3Ddrive-scsi1-0-0-0,id=3Dscsi1-0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest3,format=3Draw,if=3Dnone,id=3Ddrive-scs= i2-0-0-0 \ --device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ -id=3Dscsi2-0-0-0 \ +-device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi2-0-0-0,drive=3Ddrive-scsi2-0-0-0,id=3Dscsi2-0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest4,format=3Draw,if=3Dnone,id=3Ddrive-scs= i3-0-0-0 \ --device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi3-0-0-0,\ -id=3Dscsi3-0-0-0 \ +-device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi3-0-0-0,drive=3Ddrive-scsi3-0-0-0,id=3Dscsi3-0-0-0 \ -drive file=3D/dev/HostVG/QEMUGuest5,format=3Draw,if=3Dnone,id=3Ddrive-scs= i4-0-0-0 \ --device scsi-hd,bus=3Dscsi4.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi4-0-0-0,\ -id=3Dscsi4-0-0-0 \ +-device scsi-hd,bus=3Dscsi4.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi4-0-0-0,drive=3Ddrive-scsi4-0-0-0,id=3Dscsi4-0-0-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x7 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ diff --git a/tests/qemuxml2argvdata/disk-cache.x86_64-latest.args b/tests/q= emuxml2argvdata/disk-cache.x86_64-latest.args index 9220e6bee9..7f703d0861 100644 --- a/tests/qemuxml2argvdata/disk-cache.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-cache.x86_64-latest.args @@ -35,8 +35,8 @@ cache=3Dunsafe \ write-cache=3Don \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-s= csi0-0-0,\ cache=3Dnone \ --device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0,\ -write-cache=3Don \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,device_id=3Ddrive-scsi0-0-0,\ +drive=3Ddrive-scsi0-0-0,id=3Dscsi0-0-0,write-cache=3Don \ -drive file=3D/dev/HostVG/QEMUGuest1,format=3Dqcow2,if=3Dnone,id=3Ddrive-v= irtio-disk0,\ cache=3Dwritethrough \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,drive=3Ddrive-vir= tio-disk0,\ diff --git a/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.arg= s b/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args index 549a162808..508daa0365 100644 --- a/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi-device-auto.x86_64-latest.args @@ -28,7 +28,8 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ --device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,device_id=3Ddrive-scsi0-0-0,\ +drive=3Ddrive-scsi0-0-0,id=3Dscsi0-0-0 \ -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/disk-scsi.x86_64-latest.args b/tests/qe= muxml2argvdata/disk-scsi.x86_64-latest.args index 68a8b2921d..e5b930a28a 100644 --- a/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-scsi.x86_64-latest.args @@ -31,16 +31,18 @@ file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \ -drive file=3D/dev/HostVG/QEMUGuest1,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=3D/tmp/scsidisk.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0 \ --device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,drive=3Ddrive-scsi0-0-0,id=3Dscs= i0-0-0 \ +-device scsi-hd,bus=3Dscsi0.0,scsi-id=3D0,device_id=3Ddrive-scsi0-0-0,\ +drive=3Ddrive-scsi0-0-0,id=3Dscsi0-0-0 \ -drive file=3D/tmp/scsidisk2.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi1-0= -0-0 \ --device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi1-0-0-0,\ -id=3Dscsi1-0-0-0,serial=3Dabcdefghijklmn \ +-device scsi-hd,bus=3Dscsi1.0,channel=3D0,scsi-id=3D0,lun=3D0,device_id=3D= abcdefghijklmn,\ +drive=3Ddrive-scsi1-0-0-0,id=3Dscsi1-0-0-0,serial=3Dabcdefghijklmn \ -drive file=3D/tmp/scsidisk3.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi2-0= -0-0 \ --device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi2-0-0-0,\ -id=3Dscsi2-0-0-0,wwn=3D0x5000c50015ea71ac \ +-device scsi-hd,bus=3Dscsi2.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi2-0-0-0,drive=3Ddrive-scsi2-0-0-0,id=3Dscsi2-0-0-0,\ +wwn=3D0x5000c50015ea71ac \ -drive file=3D/tmp/scsidisk4.img,format=3Draw,if=3Dnone,id=3Ddrive-scsi3-0= -0-0 \ --device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddriv= e-scsi3-0-0-0,\ -id=3Dscsi3-0-0-0 \ +-device scsi-hd,bus=3Dscsi3.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi3-0-0-0,drive=3Ddrive-scsi3-0-0-0,id=3Dscsi3-0-0-0 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x5 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ diff --git a/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args b/tests/= qemuxml2argvdata/disk-shared.x86_64-latest.args index 4913d1ed20..141cf735a5 100644 --- a/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args +++ b/tests/qemuxml2argvdata/disk-shared.x86_64-latest.args @@ -33,8 +33,9 @@ bootindex=3D1,write-cache=3Don,serial=3DXYZXYZXYZYXXYZYZY= XYZY \ readonly=3Don \ -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 \ -drive file=3D/dev/scsi,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-0-0,cach= e=3Dnone \ --device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,share-rw=3Do= n,\ -drive=3Ddrive-scsi0-0-0-0,id=3Dscsi0-0-0-0,write-cache=3Don \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,\ +device_id=3Ddrive-scsi0-0-0-0,share-rw=3Don,drive=3Ddrive-scsi0-0-0-0,id= =3Dscsi0-0-0-0,\ +write-cache=3Don \ -drive file=3D/dev/virtio,format=3Draw,if=3Dnone,id=3Ddrive-virtio-disk0,c= ache=3Dnone \ -device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x3,share-rw=3Don,\ drive=3Ddrive-virtio-disk0,id=3Dvirtio-disk0,write-cache=3Don \ diff --git a/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest= .args b/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args index 4513edcdd0..cde42c7dd1 100644 --- a/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args +++ b/tests/qemuxml2argvdata/iothreads-virtio-scsi-pci.x86_64-latest.args @@ -35,8 +35,8 @@ id=3Ddrive-virtio-disk1 \ drive=3Ddrive-virtio-disk1,id=3Dvirtio-disk1 \ -drive file=3D/var/lib/libvirt/images/iothrtest2.img,format=3Draw,if=3Dnon= e,\ id=3Ddrive-scsi0-0-0-3 \ --device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D3,drive=3Ddriv= e-scsi0-0-0-3,\ -id=3Dscsi0-0-0-3 \ +-device scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D3,\ +device_id=3Ddrive-scsi0-0-0-3,drive=3Ddrive-scsi0-0-0-3,id=3Dscsi0-0-0-3 \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\ resourcecontrol=3Ddeny \ -msg timestamp=3Don --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Tue May 7 10:09:50 2024 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; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1548692393786635.4084530639948; Mon, 28 Jan 2019 08:19:53 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 52429A7888; Mon, 28 Jan 2019 16:19:51 +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 125B677DC1; Mon, 28 Jan 2019 16:19:51 +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 A524418033A7; Mon, 28 Jan 2019 16:19:50 +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 x0SGJeO4018345 for ; Mon, 28 Jan 2019 11:19:40 -0500 Received: by smtp.corp.redhat.com (Postfix) id 3B81E611D0; Mon, 28 Jan 2019 16:19:40 +0000 (UTC) Received: from angien.brq.redhat.com (unknown [10.43.2.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id B184A85889 for ; Mon, 28 Jan 2019 16:19:39 +0000 (UTC) From: Peter Krempa To: libvir-list@redhat.com Date: Mon, 28 Jan 2019 17:19:01 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 32/32] qemu: caps: Add lockout for -blockdev if QEMU_CAPS_SCSI_DISK_DEVICE_ID is not present 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 28 Jan 2019 16:19:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Avoid regressions by disallowing the BLOCKDEV capability. Signed-off-by: Peter Krempa --- src/qemu/qemu_capabilities.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 4ed995d59f..09d48282a5 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -4332,6 +4332,11 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps, virQEMUCapsClear(qemuCaps, QEMU_CAPS_SEV_GUEST); } + /* To avoid guest ABI regression, blockdev shall be enabled only when + * we are able to pass the custom 'device_id' for SCSI disks and cdrom= s. */ + if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_SCSI_DISK_DEVICE_ID)) + virQEMUCapsClear(qemuCaps, QEMU_CAPS_BLOCKDEV); + ret =3D 0; cleanup: return ret; --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list