From nobody Mon Feb 9 00:20:37 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=1571287066; cv=none;
d=zoho.com; s=zohoarc;
b=iqRFWYcT2TtoNa7MoIPWnIQs9zebD4ZOfCUMjepy2RW2nodtnDiDRa/FO2KkEIHA31FpCEjxXoyphyhZGJwNHvNnFPANioMXeid0CElr+ZkLyTizvcSfYOocxjoS98qL2K6+1204CfqTxuW1wgeWAWcpTn0dh9RPcManytF9+WQ=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
s=zohoarc;
t=1571287066;
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;
bh=BNn9NfqJ9ZXJ1LelMRDeBFSY/6kk4S1Llcu8utiD/Rc=;
b=C6mbAvWFILkOmZjoRiNZQKuAOjiCx4Y6U1WsRMOvChDlva0ywAUu+zWEO9SEh0nIPN8VrCO/4u8IaeJw4TQF1CijDFT1wekKJ6OaW1FL97CvrOQmqYViQqSkxz+E+1WnVGVBeq4c/fPJ/TylfC764puD9xFhX5aXWpUADjwIhtQ=
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 1571287066062229.83901714991384;
Wed, 16 Oct 2019 21:37:46 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com
[10.5.11.14])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 19AC93090FD1;
Thu, 17 Oct 2019 04:37:43 +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 9E2845DA32;
Thu, 17 Oct 2019 04:37: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 68FB64A486;
Thu, 17 Oct 2019 04:37:36 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com
[10.5.11.12])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id x9H4V0sE005894 for ;
Thu, 17 Oct 2019 00:31:00 -0400
Received: by smtp.corp.redhat.com (Postfix)
id E6AE060C5D; Thu, 17 Oct 2019 04:31:00 +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 5E4C960BE1;
Thu, 17 Oct 2019 04:30:58 +0000 (UTC)
Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com
[209.85.222.174])
(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 29AD7300C22F;
Thu, 17 Oct 2019 04:30:57 +0000 (UTC)
Received: by mail-qk1-f174.google.com with SMTP id p10so665970qkg.8;
Wed, 16 Oct 2019 21:30:57 -0700 (PDT)
Received: from localhost.localdomain
([2804:431:c7cb:b2eb:4438:8ed0:10c8:ea71])
by smtp.gmail.com with ESMTPSA id
l129sm636219qkd.84.2019.10.16.21.30.53
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 16 Oct 2019 21:30:55 -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=lwVIrkCBEqepxcMuVWn/lkT0v/TwH5RKjZrGZBXNqsc=;
b=qjUlxPOhlUMhQHA2zTBUDsvnoMuK0hrgTf9jBRbTCDjpTQ9ut/hr8+BHvp4lC8Wd/t
CkvFCvm4vK3BnCvJ/SoiShz4mbDxx6XxTfn8Xk6L7CRFPZs1xek0EGkHkvgD+jD8N9B0
czXUeC9VX2BiM3hgByiJoaHWrw+lU1naD1pfJhIYX5KjYZu56fwzy36jDoe/RlY0jSg9
CQzcUhOYkiPaI5f3V4La6faQccorB7SH9cioCkdyd9ZD+XbI+lCBQGEwqkxB3RR6v1Vi
AzSCTOlYOCEHGi4oQ0XxYT7DTcMqtAGB4SKTOeNP6NDX5aO7qnMOHzHL/m1+ainC5GiC
W5IQ==
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=lwVIrkCBEqepxcMuVWn/lkT0v/TwH5RKjZrGZBXNqsc=;
b=kuxHVf1eXDAWauc2OBsma+XeSQtXIWxiQhBetUF90lPO8D6wN18SulNj0SLTdzUaB5
fFrmwhTj7NkeBtfMMyqVayKaBQbH38/5zVxEUtmBA8y/J8FAshpogdfRWEr597VZbISq
uwjXyMDPK5sYQ8JFuOSA3A/Wyfnio1h+kW7XsD3PswevuEBEK00I+w8FL+utrfCG1aCi
v+ATFmWTtt/ZYHWQ4z/I6bJWuNej7YGcbcmt6jChyI0b2qJGj2SGRGe4rC5EBWsv/1Q8
e+OrDYGl5TUHTnCw8+urCKoxzdoUr8VTIo+XPk468ZoCqSjv310++tLV4tTsM2c07byv
sAWA==
X-Gm-Message-State: APjAAAXVX2AIV96UgbQxYaAL8Xk0TrAPCdcpoB9Ga1MkwadwyOirlR4d
cv5ngCV+Irl7WW5cPaZwfNSY2FjN
X-Google-Smtp-Source:
APXvYqwv6paxQWXcaBtXwqJAbRvXRJxEm0aoi9AYGp1c8K0rTkfu+ElbJAeB8B3BUI2+hpQYO/HKnQ==
X-Received: by 2002:a37:353:: with SMTP id 80mr1410590qkd.439.1571286655703;
Wed, 16 Oct 2019 21:30:55 -0700 (PDT)
From: jcfaracco@gmail.com
To: libvir-list@redhat.com
Date: Thu, 17 Oct 2019 01:30:31 -0300
Message-Id: <20191017043032.17123-2-jcfaracco@gmail.com>
In-Reply-To: <20191017043032.17123-1-jcfaracco@gmail.com>
References: <20191017043032.17123-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]);
Thu, 17 Oct 2019 04:30:57 +0000 (UTC)
X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com
[10.5.110.46]);
Thu, 17 Oct 2019 04:30:57 +0000 (UTC) for IP:'209.85.222.174'
DOMAIN:'mail-qk1-f174.google.com'
HELO:'mail-qk1-f174.google.com' FROM:'jcfaracco@gmail.com' RCPT:''
X-RedHat-Spam-Score: -0.1 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE,
SPF_PASS) 209.85.222.174 mail-qk1-f174.google.com 209.85.222.174
mail-qk1-f174.google.com
X-Scanned-By: MIMEDefang 2.84 on 10.5.110.46
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-loop: libvir-list@redhat.com
Cc: Julio Faracco
Subject: [libvirt] [PATCH v4 1/2] conf: Add 'x' and 'y' resolution into
video XML definition
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.14
X-Greylist: Sender IP whitelisted,
not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]);
Thu, 17 Oct 2019 04:37:44 +0000 (UTC)
X-ZohoMail-DKIM: fail (Header signature does not verify)
Content-Type: text/plain; charset="utf-8"
From: Julio Faracco
This commit adds resolution element with parameters 'x' and 'y' into video
XML domain group definition. Both, properties were added into an element
called 'resolution' and it was added inside 'model' element. They are set
as optional. This element does not follow QEMU properties 'xres' and
'yres' format. Both HTML documentation and schema were changed too. This
commit includes a simple test case to cover resolution for QEMU video
models. The new XML format for resolution looks like:
Signed-off-by: Julio Faracco
---
docs/formatdomain.html.in | 5 +-
docs/schemas/domaincommon.rng | 10 +++
src/conf/domain_conf.c | 63 ++++++++++++++++++-
src/conf/domain_conf.h | 5 ++
src/conf/virconftypes.h | 3 +
.../video-qxl-resolution.args | 32 ++++++++++
.../qemuxml2argvdata/video-qxl-resolution.xml | 40 ++++++++++++
tests/qemuxml2argvtest.c | 4 ++
.../video-qxl-resolution.xml | 40 ++++++++++++
tests/qemuxml2xmltest.c | 1 +
10 files changed, 201 insertions(+), 2 deletions(-)
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/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 500f114f41..962766b792 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -7077,7 +7077,10 @@ qemu-kvm -net nic,model=3D? /dev/null
vgamem (since 1.2.11) =
to set
the size of VGA framebuffer for fallback mode of QXL device.
Attribute vram64 (since 1.3.3=
)
- extends secondary bar and makes it addressable as 64bit memory.
+ extends secondary bar and makes it addressable as 64bit memory. =
For
+ resolution settings, there are x and y
+ (since 5.9.0) optional attributes t=
o set
+ minimum resolution for model.