From nobody Tue Feb 10 14:32:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1586831929; cv=none; d=zohomail.com; s=zohoarc; b=KerrLvzeuKJaZsShuFCWcjOJBb+ezoh3USxoWdjfAAkivezrwBI5UFA+sIFDPl8HGWitIgPTFDXIPT+eu/7RW7/hzQ/m8tc4JTUHcU1Audr6B5p3LasOcNhRlxkt1aL8SHsVRSTiN/dhYKpDbEDLFnQyu+vkZnuQOiuyo2Rqn3o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586831929; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Hn3JSP6Vk+DopR22z+GSsC+/7lSpSPC9pHIAtD0RUm4=; b=bvluefHGRM3FyYjoIgqO+oz3GBsVvvL76k+uUu3g8rk+VZ0GuPjWVhcVU31gc0T1uVudnno3U3fDwuNaybh/lLwO6fivfkS6I7YBFwZcNXWsJDi/USeXDjxLkFOEz3Ghdmj4G237NbegmkTAW6WDLJG3fMTvaBk8VouCOVSMY8Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1586831929869693.5363600259135; Mon, 13 Apr 2020 19:38:49 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-42-3HHn6cphPvSr9Dgx_d-pQw-1; Mon, 13 Apr 2020 22:38:46 -0400 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2EE33107ACC7; Tue, 14 Apr 2020 02:38:41 +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 9688110002B0; Tue, 14 Apr 2020 02:38: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 A70C293097; Tue, 14 Apr 2020 02:38:39 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03E2bWjI022217 for ; Mon, 13 Apr 2020 22:37:32 -0400 Received: by smtp.corp.redhat.com (Postfix) id 33D1D2093CED; Tue, 14 Apr 2020 02:37:32 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2FDF22026D68 for ; Tue, 14 Apr 2020 02:37:32 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0CD6A101A55F for ; Tue, 14 Apr 2020 02:37:32 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-4zk7aDppPImrtTtlg9qg_Q-1; Mon, 13 Apr 2020 22:37:29 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 19B199EA; Mon, 13 Apr 2020 22:37:28 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 13 Apr 2020 22:37:28 -0400 Received: from localhost.localdomain (ip5b412221.dynamic.kabel-deutschland.de [91.65.34.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 011413060066; Mon, 13 Apr 2020 22:37:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586831928; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Hn3JSP6Vk+DopR22z+GSsC+/7lSpSPC9pHIAtD0RUm4=; b=eFOk4UHUXP0Ex2TzWOZx0A5R/sU2LnLMbhGDnFoMTNVuS6liA9uCccoE72t52MnDN3GRkF TOiGjlQzWDXG3sMpAI1ytbxQfHwm3dt29fx4nsYesf/Md9pvXgT+T6KzFERgrqMpqucBKx KoXubw/h5jdV3alD6MjKM7lpb+KeNSs= X-MC-Unique: 3HHn6cphPvSr9Dgx_d-pQw-1 X-MC-Unique: 4zk7aDppPImrtTtlg9qg_Q-1 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfedtgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghrvghk ucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesihhnvh hishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucfkphepledurdeihedrfeegrdef feenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg hrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= To: libvir-list@redhat.com Subject: [PATCH v2 4/4] tests: check e820_host option handling Date: Tue, 14 Apr 2020 04:37:07 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 03E2bWjI022217 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Marek Marczykowski-G=C3=B3recki Reviewed-by: Jim Fehlig --- tests/xlconfigdata/test-paravirt-e820_host.cfg | 13 +++++++- tests/xlconfigdata/test-paravirt-e820_host.xml | 37 +++++++++++++++++++- tests/xlconfigtest.c | 1 +- 3 files changed, 51 insertions(+) create mode 100644 tests/xlconfigdata/test-paravirt-e820_host.cfg create mode 100644 tests/xlconfigdata/test-paravirt-e820_host.xml diff --git a/tests/xlconfigdata/test-paravirt-e820_host.cfg b/tests/xlconfi= gdata/test-paravirt-e820_host.cfg new file mode 100644 index 0000000..b9e5a48 --- /dev/null +++ b/tests/xlconfigdata/test-paravirt-e820_host.cfg @@ -0,0 +1,13 @@ +name =3D "XenGuest1" +uuid =3D "45b60f51-88a9-47a8-a3b3-5e66d71b2283" +maxmem =3D 512 +memory =3D 512 +vcpus =3D 4 +e820_host =3D 1 +localtime =3D 0 +on_poweroff =3D "preserve" +on_reboot =3D "restart" +on_crash =3D "preserve" +vif =3D [ "mac=3D5a:36:0e:be:00:09" ] +bootloader =3D "/usr/bin/pygrub" +disk =3D [ "format=3Dqcow2,vdev=3Dxvda,access=3Drw,backendtype=3Dqdisk,tar= get=3D/var/lib/xen/images/debian/disk.qcow2" ] diff --git a/tests/xlconfigdata/test-paravirt-e820_host.xml b/tests/xlconfi= gdata/test-paravirt-e820_host.xml new file mode 100644 index 0000000..955a780 --- /dev/null +++ b/tests/xlconfigdata/test-paravirt-e820_host.xml @@ -0,0 +1,37 @@ + + XenGuest1 + 45b60f51-88a9-47a8-a3b3-5e66d71b2283 + 524288 + 524288 + 4 + /usr/bin/pygrub + + linux + + + + + + + + preserve + restart + preserve + + + + + + + + + + + + + + + + + + diff --git a/tests/xlconfigtest.c b/tests/xlconfigtest.c index 8faef16..8ea2503 100644 --- a/tests/xlconfigtest.c +++ b/tests/xlconfigtest.c @@ -300,6 +300,7 @@ mymain(void) DO_TEST("vif-multi-ip"); DO_TEST("usb"); DO_TEST("usbctrl"); + DO_TEST("paravirt-e820_host"); =20 testXLFreeDriver(driver); =20 --=20 git-series 0.9.1