From nobody Sun Feb 8 22:48:59 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; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1564968249; cv=none; d=zoho.com; s=zohoarc; b=iWkpa3hFu8slAl6FPruUVI3yOzSWMoBHlTIXvy5i3KPduaJdnpJg60vdbY/sy07rwU2S8bIci++eXhldyJ737aAGU1WIJG+VjtTfDSQ1XraKo1VwXtL+fOPnT0DPUamWtrp+UjcRT+OP8e28/4LuPSTG4F8rkCgzoLomheCvZZY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564968249; 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=Lr2Wq4oajlfSr8D3pgT3a1xnQreH7uiaP6vScgiyF1w=; b=ILe34/UOzyCBzK/YQOSOn6ACCemDesh3rcvPai53b1y11NbMvUisOwicOG6az1NBO5RkLCF8+LRio2BN+3wMfFj8OD4RscrFC/zXHPDWX50snrW00KdJG4Lce/b6w+KlggUGSXd0P402NE1So01F0xLW6ClBBadIxoIM3WbOVXs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail 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 1564968249718317.3370294136406; Sun, 4 Aug 2019 18:24:09 -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 8237C793FF; Mon, 5 Aug 2019 01:24:07 +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 51F9E60605; Mon, 5 Aug 2019 01:24:07 +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 161573FA9A; Mon, 5 Aug 2019 01:24:07 +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 x751LcPx004761 for ; Sun, 4 Aug 2019 21:21:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 04EB95D6B7; Mon, 5 Aug 2019 01:21:38 +0000 (UTC) Received: from mx1.redhat.com (ext-mx17.extmail.prod.ext.phx2.redhat.com [10.5.110.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F27715D6B0 for ; Mon, 5 Aug 2019 01:21:35 +0000 (UTC) Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EB28630C7473 for ; Mon, 5 Aug 2019 01:21:34 +0000 (UTC) Received: by mail-qt1-f172.google.com with SMTP id z4so79507209qtc.3 for ; Sun, 04 Aug 2019 18:21:34 -0700 (PDT) Received: from localhost.localdomain ([2804:431:c7ca:4e73:559c:bb3e:5c1a:a6f6]) by smtp.gmail.com with ESMTPSA id d9sm35765172qke.136.2019.08.04.18.21.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 18:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PMbDE7PXay7jYNUddO3JxJA1LudmsKPSdIYSXXC5Ryw=; b=Fy0E92hJCUJhndJ5O/yi7nBG1u6DaexnVVq4QCw7A/K1OOpUqAEBD4P6uWl1km+mdU aaIInrbRghYKWElgPaVDwyJHEzSWgDsUfHsA2mvSz+55V36Z87MjejdXReYYb6AJ+1ai uE49Wii+GF/CViBDCMqNwcrdoKw8LPr2Ug8JZWasKRPC8H8unBRVSsQJFE1iv5JZ4ru6 d8SBybqUIZztcwETiFqEL5TFWTHxuaisKoKJZ130zCTc7zd+yONt0ex29bmixdIWVIFe rTUDe/8AsXdd54sMMOyDTU/p8pV4YZ9JOznNB7Zm5/DgQ4l0Cu5nNfXyVO9T9+f2kez2 RhGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PMbDE7PXay7jYNUddO3JxJA1LudmsKPSdIYSXXC5Ryw=; b=FzNRvdGmKozCoC4O86CnaLgXT64FmcDsfWj/zwFuX7kGiqTz2YvvisVFEANTUfjwNb HRcJQ/dkKe5ggiyGam+9xfmLRpWA6cNW0AuNAKn3W36JTvKXnH63ixMeUBe0e3fGPVHw /RUeLl0yNoSshR1JjVMc5D/HQPEHfTHvyncwI+P/M24z8iF2SOeGWklMqj/Iugo3PyST pZorgWU5vm2CzxhADMeL8XoH/Wjm+GreYp0veZVvt4jaUx8VMLcGUjFUY2eQ+aBTlC7+ GbU0F5tG6BA4fPmj1fkj980s5nismCeYqAIIl5tauYKGWHRv3zmlRIodyCWuFj6+hwnS t0Sw== X-Gm-Message-State: APjAAAX0qFgAMwrsqpp30rL7+laS7fhsLmVDy2gZ93MF9omfa0cRmHVo GO40Nr2kQOkj48h84ZeC/pD7iKbH X-Google-Smtp-Source: APXvYqwLxmrVBXX9zWCJ3HKz23TjWWUY9exd2+21PIZdr0Vko5a436CPNwU5qDsajSUzFxJEbwWRlw== X-Received: by 2002:ac8:2baa:: with SMTP id m39mr106047593qtm.242.1564968093553; Sun, 04 Aug 2019 18:21:33 -0700 (PDT) From: jcfaracco@gmail.com To: libvir-list@redhat.com Date: Sun, 4 Aug 2019 22:21:21 -0300 Message-Id: <20190805012121.7261-5-jcfaracco@gmail.com> In-Reply-To: <20190805012121.7261-1-jcfaracco@gmail.com> References: <20190805012121.7261-1-jcfaracco@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Mon, 05 Aug 2019 01:21:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Mon, 05 Aug 2019 01:21:35 +0000 (UTC) for IP:'209.85.160.172' DOMAIN:'mail-qt1-f172.google.com' HELO:'mail-qt1-f172.google.com' FROM:'jcfaracco@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.099 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS) 209.85.160.172 mail-qt1-f172.google.com 209.85.160.172 mail-qt1-f172.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.46 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Cc: Julio Faracco Subject: [libvirt] [PATCH 4/4] tests: Add separate tests for 'xres' and 'yres' 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.25]); Mon, 05 Aug 2019 01:24:08 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Julio Faracco New tests to verify resolution properties of a simple qxl video. Signed-off-by: Julio Faracco --- .../video-qxl-resolution.args | 32 +++++++++++++++ .../qemuxml2argvdata/video-qxl-resolution.xml | 40 +++++++++++++++++++ tests/qemuxml2argvtest.c | 4 ++ .../video-qxl-resolution.xml | 40 +++++++++++++++++++ tests/qemuxml2xmltest.c | 1 + 5 files changed, 117 insertions(+) create mode 100644 tests/qemuxml2argvdata/video-qxl-resolution.args create mode 100644 tests/qemuxml2argvdata/video-qxl-resolution.xml create mode 100644 tests/qemuxml2xmloutdata/video-qxl-resolution.xml diff --git a/tests/qemuxml2argvdata/video-qxl-resolution.args b/tests/qemux= ml2argvdata/video-qxl-resolution.args new file mode 100644 index 0000000000..71370ff735 --- /dev/null +++ b/tests/qemuxml2argvdata/video-qxl-resolution.args @@ -0,0 +1,32 @@ +LC_ALL=3DC \ +PATH=3D/bin \ +HOME=3D/tmp/lib/domain--1-QEMUGuest1 \ +USER=3Dtest \ +LOGNAME=3Dtest \ +XDG_DATA_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.local/share \ +XDG_CACHE_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.cache \ +XDG_CONFIG_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.config \ +QEMU_AUDIO_DRV=3Dnone \ +/usr/bin/qemu-system-i686 \ +-name QEMUGuest1 \ +-S \ +-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,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 \ +-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,\ +xres=3D1280,yres=3D720,bus=3Dpci.0,addr=3D0x2 \ +-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/video-qxl-resolution.xml b/tests/qemuxm= l2argvdata/video-qxl-resolution.xml new file mode 100644 index 0000000000..c6275c1bc5 --- /dev/null +++ b/tests/qemuxml2argvdata/video-qxl-resolution.xml @@ -0,0 +1,40 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 219136 + 219136 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-i686 + + + + +
+ + +
+ + +
+ + + + +