From nobody Tue Nov 26 20:00:43 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; 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=1567201444; cv=none; d=zoho.com; s=zohoarc; b=M5s34WNwCcf/I5SUJ+Fk+rWIpf7WfIuUOSRjkDi1FvcpRSLqa8GlVOOH590EKx8mb+ZeUmShaZvuR/zWP7QffnRFhJM4NGsdz3Fk3D3nPYRjQ8ACTJqwPeHSzkR1HqwyfCjgKpT5NozCf97cKTbDyEmmFeQnqBHP/sTYvTmTJho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567201444; 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=OgpuM60kNIVOWBuT13bgH1hFMfooW5VWE/3zBVDreiM=; b=P3GnWfBMynZIx8jaY+ZHHRTjXEFFWq0fkncYUvclFg/NEh2QqXNfrtr7fAXrBAYGFTUW4KSiUgmkw7LrcpIvH/FOBsO4uAZg6+eX13UOFplL8lyDSmZgzJpB/jpq+A+kfmBClY2aep3EdjrqXAGSrE/xgnmU8FnnUcQrEIRIlyw= 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 1567201444343703.8643336990222; Fri, 30 Aug 2019 14:44:04 -0700 (PDT) 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 C53BC2A09D3; Fri, 30 Aug 2019 21:44:02 +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 A004E5C207; Fri, 30 Aug 2019 21:44:02 +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 5E2082551D; Fri, 30 Aug 2019 21:44:02 +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 x7ULhx2K005614 for ; Fri, 30 Aug 2019 17:43:59 -0400 Received: by smtp.corp.redhat.com (Postfix) id D2BA919D7A; Fri, 30 Aug 2019 21:43:59 +0000 (UTC) Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.40]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CD0AA3DB4 for ; Fri, 30 Aug 2019 21:43:59 +0000 (UTC) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (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 EE47D3001836 for ; Fri, 30 Aug 2019 21:43:58 +0000 (UTC) Received: by mail-qt1-f170.google.com with SMTP id b2so5773950qtq.5 for ; Fri, 30 Aug 2019 14:43:58 -0700 (PDT) Received: from localhost.localdomain ([191.17.58.35]) by smtp.gmail.com with ESMTPSA id y25sm2970689qtf.83.2019.08.30.14.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2019 14:43:57 -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=8vf0fUP1xJcT6NZ1I5DgXywQ63xn+JWzup4ia4NUoqI=; b=AWlVLH7ptZIjfVfHhpivaf2sa2t7IBqvr4gMQrcJq+z3Tmj0arKU/Tkf+gJav2Y/p4 uosA8HoK8fJe8VBmBS7sjOip2O49oaPemEoHhGR7y95piiJT/uuCGnRp04DmMi3k6E8E ShXWfp8gQFHm2uAlPRP0YsVxaX5wJb0q7eSdyb2grOCZS10HoPl9D6gnTwxBcOYmyJeX TqGSonj9r0JBvg+YvXuMzDnizme6a1oD0asb6oZt9IoyP4GaEs3u8nLuftfg2wt9CAno DulA8JW16+Nd1Y0Q/qE3nuMaJMoxYuwDiIWHZN7GRpgiUHsKoqRf2nQlfLbvBBcXO1WV 6JMw== 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=8vf0fUP1xJcT6NZ1I5DgXywQ63xn+JWzup4ia4NUoqI=; b=Pf1NR/1I9tWAard7Tiu1u1KCec7sqbPQFYDwm1R4FoNQvG+IoCxnXZPugE3e6BqgYK E3cX7vvxwJRd4tSwOAIvldRTr/NxyOTCKgp4+UqRK2kgUZCnAnXAy1SE2xB5TLlWZI8Z ZaSsV9T+ab0AQQ63cDNj5z935UanWZqagQR6Q/lKrHTmo62K5CzXbAe8AOZwKZW8LXob 3pUBcZ3CYvi94J8p+8UiU1cVROFyFRpD4EwHwOXYnUdPcSlqMm/HCyeqDm66qFswnQ6X 0TIMRF8h1MW/59waxdetUY1EaKVtxc842YBlTprD2Twj/KWpRcCv4SVohV8yJPBh42JT nHyQ== X-Gm-Message-State: APjAAAXT8WUqyeFasshnhcF0Sk7d7XPUonNzDliSZsK9pHTbUqAi9s3O KpXgKxRFPoMg1kNxfpV2tXH46HP+ X-Google-Smtp-Source: APXvYqyfU7+/NGhDb8WikIhFVteokmvwQ1dpNiuUyv5eEgqlHEYoj3Z3Zf7koxtYW5DKxT4MXsFGbA== X-Received: by 2002:ac8:4691:: with SMTP id g17mr17724421qto.104.1567201437945; Fri, 30 Aug 2019 14:43:57 -0700 (PDT) From: jcfaracco@gmail.com To: libvir-list@redhat.com Date: Fri, 30 Aug 2019 18:41:01 -0300 Message-Id: <20190830214101.8759-10-jcfaracco@gmail.com> In-Reply-To: <20190830214101.8759-1-jcfaracco@gmail.com> References: <20190830214101.8759-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.40]); Fri, 30 Aug 2019 21:43:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Fri, 30 Aug 2019 21:43:59 +0000 (UTC) for IP:'209.85.160.170' DOMAIN:'mail-qt1-f170.google.com' HELO:'mail-qt1-f170.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.170 mail-qt1-f170.google.com 209.85.160.170 mail-qt1-f170.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.40 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: Julio Faracco Subject: [libvirt] [PATCH v2 09/10] tests: Introduce resolution test for Bochs model 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]); Fri, 30 Aug 2019 21:44:03 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Julio Faracco New test case was added to cover 'xres' and 'yres' properties for Bochs model due to latest QEMU version. Signed-off-by: Julio Faracco --- ...ochs-display-resolution.x86_64-latest.args | 35 +++++++++++++++++++ .../video-bochs-display-resolution.xml | 33 +++++++++++++++++ tests/qemuxml2argvtest.c | 1 + ...bochs-display-resolution.x86_64-latest.xml | 33 +++++++++++++++++ tests/qemuxml2xmltest.c | 2 ++ 5 files changed, 104 insertions(+) create mode 100644 tests/qemuxml2argvdata/video-bochs-display-resolution.x= 86_64-latest.args create mode 100644 tests/qemuxml2argvdata/video-bochs-display-resolution.x= ml create mode 100644 tests/qemuxml2xmloutdata/video-bochs-display-resolution= .x86_64-latest.xml diff --git a/tests/qemuxml2argvdata/video-bochs-display-resolution.x86_64-l= atest.args b/tests/qemuxml2argvdata/video-bochs-display-resolution.x86_64-l= atest.args new file mode 100644 index 0000000000..48e58d839f --- /dev/null +++ b/tests/qemuxml2argvdata/video-bochs-display-resolution.x86_64-latest.a= rgs @@ -0,0 +1,35 @@ +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-x86_64 \ +-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 1024 \ +-overcommit mem-lock=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 bochs-display,id=3Dvideo0,vgamem=3D16384k,xres=3D1280,yres=3D720,\ +bus=3Dpci.0,addr=3D0x2 \ +-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/video-bochs-display-resolution.xml b/te= sts/qemuxml2argvdata/video-bochs-display-resolution.xml new file mode 100644 index 0000000000..f21d9955f3 --- /dev/null +++ b/tests/qemuxml2argvdata/video-bochs-display-resolution.xml @@ -0,0 +1,33 @@ + + QEMUGuest1 + c7a5fdbd-edaf-9455-926a-d65c16db1809 + 1048576 + 1048576 + 1 + + hvm + + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + +
+ + + + +