From nobody Sun Feb 8 19:40:03 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=1564968242; cv=none; d=zoho.com; s=zohoarc; b=HAHNsBEI1H6gZbOHnaWyQktzy9XzYt1dweaqw23mqi1jmld5d2DuIWl2rFOdDQ8ULai3/1p+w3zHnPq6qe1u4bm1fi8y+IJR94dbmMT21UimtWynflRSZk2+9WMuJyvTOgRx8gwiAgR4ZJn81GAxsjWjLZ7urF7dGUE1oN0ZRcg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564968242; 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=1omh6eH4izzt+m1m7tfpgLOgxfIBk7P3ZF8pAamPO4Q=; b=JSUWgshfNSKPTqpLC/ItVm1Kc8b9hq6B8RBK696iL4iXWSjFFy18xaOyvSz7N6wZhrotM6OAjz3h2EASV8lqcKQparndKkJ/hxMIDCS4IklmchXkgsN40qoIlP85b8SgWzTPFc1/LVA/Ict2liuAaT04k9c+89nrP2mxE6Ideas= 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 1564968242929463.55345771241343; Sun, 4 Aug 2019 18:24:02 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 5A7A53086272; Mon, 5 Aug 2019 01:24:01 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3027D1001B03; Mon, 5 Aug 2019 01:24:01 +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 DD3C2180B7B0; Mon, 5 Aug 2019 01:24:00 +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 x751LZ3k004730 for ; Sun, 4 Aug 2019 21:21:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id F0B7E60BFC; Mon, 5 Aug 2019 01:21:35 +0000 (UTC) Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EAE6960BE5 for ; Mon, 5 Aug 2019 01:21:33 +0000 (UTC) Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) (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 13A4BA3EA7 for ; Mon, 5 Aug 2019 01:21:33 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id l9so79392129qtu.6 for ; Sun, 04 Aug 2019 18:21:33 -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.30 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 18:21:31 -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=5klLBAkzpGVP9u6McxMsjW9EVFW5544fZFBtohmcW0Q=; b=Cz/O5qxKJjyncDGIJj4XDEg+y8sb3F1MZseQ/J70tvl8IeDhuap5xKnFuDrCxaTRZi FJtqLfRRzXHgag7oGB/CbZ6uL4Cg5kRPRe3i0ymNn1Bp0mYhAwQk/ZPk4nHOZfw5La1M 5gdrPibOZBgOuWb+y8KR1vrO9DNhovVl+q/FbSaGeAPZWzwYJljr7Mv9/jmB0n/pfaIT N600ctfYBUu1Rl07k763VNL6AA9Yuw1uufApZtrWbAWl35Fim3eg1VxIa/aqkpMI0tr7 Y1c4u4I1sQVcovqrV4p51rl5OOwnranNMjaLXE3rZs1rWITUnIEwEiRsOd8oGMLsZw5c TPfw== 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=5klLBAkzpGVP9u6McxMsjW9EVFW5544fZFBtohmcW0Q=; b=HAB9u0EgZ6RSba3wzcBwluukOe+ykTab+TTjGBO2ZsBzn8Z8bW16DqiTjiC8ZwqFtC z8dPE0JGd1NgHdSRJYJuOVVNY5izfGX/lbcKX794uKEOqjBARWIWDmSDGjCEinPIma7X higVlqPisFFpCCWmzE5BJ+KH+/6Za3rcc09bp2USh9Q+0hgVt2ae6XYCamMdvsngmsPV /1e2kfdSmdhGIYsEL65XGssmtmHBflSZKaPKgBTRGg4RihuPLVEgU8a5PaaI6Fy1nY6Y fMelTDkFButsLvqNBdcCPM8k0+ZyL+3eo+L41LBflP/MVz3b9ipVScZHZXRVVou7nLj0 mgsw== X-Gm-Message-State: APjAAAWhm053VgSr0bjG31LEIoqZFupsm2VS0khkA4vbch94G9R2Taz3 eVqJ4LiPZPy6hfEjQcEQ0AkBJ32H X-Google-Smtp-Source: APXvYqzR3Bzwo5xrgN+UH4aTe3J9rVW9MhbR9zUCWQEUHKy9FN4kkeB9X7OvDynG4t/52TuI4iuNDQ== X-Received: by 2002:a0c:f20e:: with SMTP id h14mr106125942qvk.246.1564968092056; Sun, 04 Aug 2019 18:21:32 -0700 (PDT) From: jcfaracco@gmail.com To: libvir-list@redhat.com Date: Sun, 4 Aug 2019 22:21:20 -0300 Message-Id: <20190805012121.7261-4-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.30]); Mon, 05 Aug 2019 01:21:33 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 05 Aug 2019 01:21:33 +0000 (UTC) for IP:'209.85.160.194' DOMAIN:'mail-qt1-f194.google.com' HELO:'mail-qt1-f194.google.com' FROM:'jcfaracco@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.097 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS) 209.85.160.194 mail-qt1-f194.google.com 209.85.160.194 mail-qt1-f194.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.30 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: Julio Faracco Subject: [libvirt] [PATCH 3/4] qemu: Generate 'xres' and 'yres' for qxl device. 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.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Mon, 05 Aug 2019 01:24:01 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Julio Faracco Now, QEMU command line can define 'xres' and 'yres' if XML contains both properties from qxl model. Signed-off-by: Julio Faracco --- src/qemu/qemu_command.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index fee51158a9..82430e7e98 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -4713,6 +4713,10 @@ qemuBuildDeviceVideoStr(const virDomainDef *def, if (video->heads) virBufferAsprintf(&buf, ",max_outputs=3D%u", video->heads); } + + if (video->xres && video->yres) + virBufferAsprintf(&buf, ",xres=3D%u,yres=3D%u", video->xres, v= ideo->yres); + } else if (video->type =3D=3D VIR_DOMAIN_VIDEO_TYPE_VIRTIO) { if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_VIRTIO_GPU_MAX_OUTPUTS)) { if (video->heads) --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list