From nobody Tue Feb 10 21:59:58 2026 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 ARC-Seal: i=1; a=rsa-sha256; t=1566839040; cv=none; d=zoho.com; s=zohoarc; b=Y116kQCqIFOqTFhO54l/BCJ274u85vd4AxFu++U62SHsfe3GjjQ+dSyEcINmKmaoQ1njsIiEBVBkABA7lRa+3lJ6qSrEZa5SLPzEo5IIY4bm2Ie0bbsa/20fVmVPcWOv1nAHyyveAmYoh+/+BctxTkjunWeolNoKj2JNwn0b6FQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566839040; h=Content-Type:Content-Transfer-Encoding:Cc: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:ARC-Authentication-Results; bh=WylW3T+x1lKhXq6HbKDrLjz60+nfRoiIJoQK2sUC0Y8=; b=bm3CbeDShkhFK0YjuQsUr8ZBrDVOXPIyjB4QHDYHWmJXT6pLtCACD4zFDaC11jb6KKDudhcxy8SYI+xD+MenuZULl/A4bTcC36wpImAB/hto8UaYHScgUy2EPblIrZA36lEg/vKoCXGBYHPgtu+5UULu+jRGdXrjYub1MoDpdys= ARC-Authentication-Results: i=1; mx.zoho.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 156683904078447.80269698334894; Mon, 26 Aug 2019 10:04:00 -0700 (PDT) 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 6BDCF10576E7; Mon, 26 Aug 2019 17:03:59 +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 45C50608C1; Mon, 26 Aug 2019 17:03: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 0407624F32; Mon, 26 Aug 2019 17:03:59 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x7QH3Xlp013217 for ; Mon, 26 Aug 2019 13:03:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id E054619D7A; Mon, 26 Aug 2019 17:03:33 +0000 (UTC) Received: from dahmer.redhat.com (ovpn-200-27.brq.redhat.com [10.40.200.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id BAF9D196AE; Mon, 26 Aug 2019 17:03:32 +0000 (UTC) From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= To: libvir-list@redhat.com Date: Mon, 26 Aug 2019 20:03:23 +0300 Message-Id: <20190826170323.23050-3-fidencio@redhat.com> In-Reply-To: <20190826170323.23050-1-fidencio@redhat.com> References: <20190826170323.23050-1-fidencio@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Subject: [libvirt] [glib PATCH 2/2] tests, test-gconfig: Check _domain_os_get_machine() 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-Type: text/plain; charset="utf-8" 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.6.2 (mx1.redhat.com [10.5.110.64]); Mon, 26 Aug 2019 17:03:59 +0000 (UTC) Let's add one more simple check for gvir_config_domain_os_get_machine(). Signed-off-by: Fabiano Fid=C3=AAncio --- tests/test-gconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c index 6cd36d1..b707325 100644 --- a/tests/test-gconfig.c +++ b/tests/test-gconfig.c @@ -235,6 +235,7 @@ static void test_domain_os(void) g_assert(os !=3D NULL); g_assert_cmpstr(gvir_config_domain_os_get_arch(os), =3D=3D, "x86_64"); g_assert_cmpint(gvir_config_domain_os_get_os_type(os), =3D=3D, GVIR_CO= NFIG_DOMAIN_OS_TYPE_HVM); + g_assert_cmpstr(gvir_config_domain_os_get_machine(os), =3D=3D, "q35"); g_assert_cmpint(gvir_config_domain_os_get_firmware(os), =3D=3D, GVIR_C= ONFIG_DOMAIN_OS_FIRMWARE_EFI); domain_os_check_boot_devices(os); g_object_unref(G_OBJECT(os)); --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list