From nobody Wed May 14 13:34:38 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1525827738418432.3996785921197; Tue, 8 May 2018 18:02:18 -0700 (PDT) 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 6E63D6146F; Wed, 9 May 2018 01:02:16 +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 40DA9620AA; Wed, 9 May 2018 01:02:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id DEAE2180BAE6; Wed, 9 May 2018 01:02:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w4911rQG002800 for ; Tue, 8 May 2018 21:01:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 56C595D756; Wed, 9 May 2018 01:01:53 +0000 (UTC) Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4F0B45D6A3 for ; Wed, 9 May 2018 01:01:49 +0000 (UTC) Received: from mail.physik.tu-berlin.de (mail.physik-pool.tu-berlin.de [130.149.50.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 36093804F2 for ; Wed, 9 May 2018 01:01:47 +0000 (UTC) Received: from rosa.physik-pool.tu-berlin.de (rosa.physik-pool.tu-berlin.de [130.149.50.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.physik.tu-berlin.de (Postfix) with ESMTPSA id B26CE61FEF; Wed, 9 May 2018 01:01:45 +0000 (UTC) From: Fabian Freyer To: libvir-list@redhat.com Date: Wed, 9 May 2018 03:01:36 +0200 Message-Id: <20180509010137.78400-3-fabian.freyer@physik.tu-berlin.de> In-Reply-To: <20180509010137.78400-1-fabian.freyer@physik.tu-berlin.de> References: <20180509010137.78400-1-fabian.freyer@physik.tu-berlin.de> X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 207 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 09 May 2018 01:01:48 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 09 May 2018 01:01:48 +0000 (UTC) for IP:'130.149.50.25' DOMAIN:'mail.physik-pool.tu-berlin.de' HELO:'mail.physik.tu-berlin.de' FROM:'fabian.freyer@physik.tu-berlin.de' RCPT:'' X-RedHat-Spam-Score: -2.3 (RCVD_IN_DNSWL_MED) 130.149.50.25 mail.physik-pool.tu-berlin.de 130.149.50.25 mail.physik-pool.tu-berlin.de X-Scanned-By: MIMEDefang 2.78 on 10.5.110.27 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Fabian Freyer Subject: [libvirt] [PATCH 2/3] bhyve: add tests for wiring memory X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.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.39]); Wed, 09 May 2018 01:02:17 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" --- tests/bhyveargv2xmldata/bhyveargv2xml-wired.args | 7 +++++ tests/bhyveargv2xmldata/bhyveargv2xml-wired.xml | 19 ++++++++++++ tests/bhyveargv2xmltest.c | 1 + tests/bhyvexml2argvdata/bhyvexml2argv-wired.args | 10 ++++++ tests/bhyvexml2argvdata/bhyvexml2argv-wired.ldargs | 3 ++ tests/bhyvexml2argvdata/bhyvexml2argv-wired.xml | 26 ++++++++++++++++ tests/bhyvexml2argvtest.c | 1 + .../bhyvexml2xmloutdata/bhyvexml2xmlout-wired.xml | 36 ++++++++++++++++++= ++++ tests/bhyvexml2xmltest.c | 1 + 9 files changed, 104 insertions(+) create mode 100644 tests/bhyveargv2xmldata/bhyveargv2xml-wired.args create mode 100644 tests/bhyveargv2xmldata/bhyveargv2xml-wired.xml create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-wired.args create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-wired.ldargs create mode 100644 tests/bhyvexml2argvdata/bhyvexml2argv-wired.xml create mode 100644 tests/bhyvexml2xmloutdata/bhyvexml2xmlout-wired.xml diff --git a/tests/bhyveargv2xmldata/bhyveargv2xml-wired.args b/tests/bhyve= argv2xmldata/bhyveargv2xml-wired.args new file mode 100644 index 000000000..5d0ad765b --- /dev/null +++ b/tests/bhyveargv2xmldata/bhyveargv2xml-wired.args @@ -0,0 +1,7 @@ +/usr/sbin/bhyve \ +-c 1 \ +-m 214 \ +-H \ +-P \ +-S \ +-s 0:0,hostbridge bhyve diff --git a/tests/bhyveargv2xmldata/bhyveargv2xml-wired.xml b/tests/bhyvea= rgv2xmldata/bhyveargv2xml-wired.xml new file mode 100644 index 000000000..0f4cea544 --- /dev/null +++ b/tests/bhyveargv2xmldata/bhyveargv2xml-wired.xml @@ -0,0 +1,19 @@ + + bhyve + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + + + + 1 + + hvm + + + destroy + destroy + destroy + + + diff --git a/tests/bhyveargv2xmltest.c b/tests/bhyveargv2xmltest.c index e5d78530c..d55236484 100644 --- a/tests/bhyveargv2xmltest.c +++ b/tests/bhyveargv2xmltest.c @@ -163,6 +163,7 @@ mymain(void) driver.bhyvecaps =3D BHYVE_CAP_RTC_UTC; =20 DO_TEST("base"); + DO_TEST("wired"); DO_TEST("oneline"); DO_TEST("name"); DO_TEST("console"); diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-wired.args b/tests/bhyve= xml2argvdata/bhyvexml2argv-wired.args new file mode 100644 index 000000000..13d4f4909 --- /dev/null +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-wired.args @@ -0,0 +1,10 @@ +/usr/sbin/bhyve \ +-c 1 \ +-m 214 \ +-S \ +-u \ +-H \ +-P \ +-s 0:0,hostbridge \ +-s 2:0,ahci,hd:/tmp/freebsd.img \ +-s 3:0,virtio-net,faketapdev,mac=3D52:54:00:b9:94:02 bhyve diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-wired.ldargs b/tests/bhy= vexml2argvdata/bhyvexml2argv-wired.ldargs new file mode 100644 index 000000000..32538b558 --- /dev/null +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-wired.ldargs @@ -0,0 +1,3 @@ +/usr/sbin/bhyveload \ +-m 214 \ +-d /tmp/freebsd.img bhyve diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-wired.xml b/tests/bhyvex= ml2argvdata/bhyvexml2argv-wired.xml new file mode 100644 index 000000000..639e047dd --- /dev/null +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-wired.xml @@ -0,0 +1,26 @@ + + bhyve + df3be7e7-a104-11e3-aeb0-50e5492bd3dc + 219136 + + + + 1 + + hvm + + + + + + +
+ + + + + +
+ + + diff --git a/tests/bhyvexml2argvtest.c b/tests/bhyvexml2argvtest.c index 6f3b0c2eb..b08b1675f 100644 --- a/tests/bhyvexml2argvtest.c +++ b/tests/bhyvexml2argvtest.c @@ -179,6 +179,7 @@ mymain(void) BHYVE_CAP_FBUF | BHYVE_CAP_XHCI; =20 DO_TEST("base"); + DO_TEST("wired"); DO_TEST("acpiapic"); DO_TEST("disk-cdrom"); DO_TEST("disk-virtio"); diff --git a/tests/bhyvexml2xmloutdata/bhyvexml2xmlout-wired.xml b/tests/bh= yvexml2xmloutdata/bhyvexml2xmlout-wired.xml new file mode 100644 index 000000000..ed564e277 --- /dev/null +++ b/tests/bhyvexml2xmloutdata/bhyvexml2xmlout-wired.xml @@ -0,0 +1,36 @@ + + bhyve + df3be7e7-a104-11e3-aeb0-50e5492bd3dc + 219136 + 219136 + + + + 1 + + hvm + + + + destroy + restart + destroy + + + + + +
+ + + +
+ + + + + +
+ + + diff --git a/tests/bhyvexml2xmltest.c b/tests/bhyvexml2xmltest.c index 4d9c1681d..6aaeab741 100644 --- a/tests/bhyvexml2xmltest.c +++ b/tests/bhyvexml2xmltest.c @@ -84,6 +84,7 @@ mymain(void) =20 DO_TEST_DIFFERENT("acpiapic"); DO_TEST_DIFFERENT("base"); + DO_TEST_DIFFERENT("wired"); DO_TEST_DIFFERENT("bhyveload-bootorder"); DO_TEST_DIFFERENT("bhyveload-bootorder1"); DO_TEST_DIFFERENT("bhyveload-bootorder2"); --=20 2.15.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list