From nobody Fri May 3 08:34:02 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=1564968217; cv=none; d=zoho.com; s=zohoarc; b=LDfCgneIQted2FCW8oSQeq8vCpiPKupD2ujNqrhD36G7cNcEhvmEWWrDPAVmp9tcYIO8HQTqYyJOd7HuVr0xfeXNrHKal6utArr3gVJBiTZvZW/NnkSucN+YYGdFYSglJyo4I0psybNGiDFvWMeS0i5dRqq3RsMMtrHuK4DqSKc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564968217; 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=64WSmGPqMiUWJjy/ZvH3EsrjE8sxIbDJBBhl2IlRxjo=; b=A1pVDdCih9QF/bZboy5QJHdo3lCeTEDjdorIPOvU+L4JZiUSepog1z2Hv6C06Lcz02HutaUnFA/s2S7SAdUSvZOsQcNUFwQh3sfZolFO41j0gMxiF3euV0W8AFo2q6FAhFxwaH4RoKP6UpgqdFH7OSvWmK/q/XRYv1k/WFvz/wI= 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 15649682176731022.0198228621622; Sun, 4 Aug 2019 18:23:37 -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 E0F7F30C62A0; Mon, 5 Aug 2019 01:23:34 +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 A3A2F5D9E5; Mon, 5 Aug 2019 01:23:31 +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 6520941F53; Mon, 5 Aug 2019 01:23:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x751LXiI004437 for ; Sun, 4 Aug 2019 21:21:33 -0400 Received: by smtp.corp.redhat.com (Postfix) id 187D9100032C; Mon, 5 Aug 2019 01:21:33 +0000 (UTC) Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.32]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1288C1001284 for ; Mon, 5 Aug 2019 01:21:30 +0000 (UTC) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (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 E71CFC0AD29C for ; Mon, 5 Aug 2019 01:21:29 +0000 (UTC) Received: by mail-qk1-f175.google.com with SMTP id r6so58974167qkc.0 for ; Sun, 04 Aug 2019 18:21:29 -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.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 18:21:28 -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=YyrIOwFZsSx9LN1QNV5sczk1y5T8Tw48wgyBkQHlGR4=; b=ee2yxunRyXkYvz7lJd4tBFYquAvzcRZBY0NHkBknekxCqEKu0xCWVbCmsiI4vCyZoF T0SjT4lp+ZxrRXuPg6LuLHqBdvoK4u0c5/oDViomC5IlkE+Dke2K1IbUzxWZePrb4yRz g6YtIWmCSyw8GWHMu/7VDkGvvdTG6KOsGEhGUh8LFnqkwmRoxrMC+8wZHsXoEdjm+VSa nOOKi0xjnwNntj+ROuj3MqCEK2e0MyaPQQ50IBF6m2lYQyQOHGMKtBv+AF9dVLySo3Bf p/mmzcZzm4r44om3yXZfVBm/a+lbSix3/30I+/QzJLh+/tSmH+eWjpJzaT6GJy6vEvlW uiNQ== 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=YyrIOwFZsSx9LN1QNV5sczk1y5T8Tw48wgyBkQHlGR4=; b=hcLHTyJnga172+WIeSaZDnrJVk/3s+o9UMtoptJJ5sgc/w7jGeZg0mKQGnQIpjnpxg IeXcjj2/TpsROlg8oc7aW9iiflPGhhlQHHLpLCFvPCNlXl9jCSHcoJ37PrUnnfb1/5YK g/rDaH7e5G2+RyiWMiKmGxVCLz1HTuYlol4vIxEk4KMdLHfkTzNqx0rbxbUKYY96E9W6 jxacejXhkIPhBjjc9qsGu801HeLZcLqiUx3vA1xIUT9azwpMIBXEWli1Ke+24x3Gw2ph FlwYnDjkLKxXXvbLgJV+y1dGzZdT2LIzgbaK8iw4Zxfwgb0ZWaDZsxuxGDxsvxsGaPEb 6jRA== X-Gm-Message-State: APjAAAUJ1MC+IWR7cqpMXrWr5S1Wl9w++aHKYH2sjVDEcpPjttgv3qoK hvGI6FOhbflyVwsi0vRdvVl8Bnik X-Google-Smtp-Source: APXvYqyxw5KNXP7H+axlWmIAZx1RZF1E2e3dV8Wa5xdQGYs5dUN82JGx2bEeeS7YMy97spaTPIX+Hw== X-Received: by 2002:a05:620a:1537:: with SMTP id n23mr94071167qkk.441.1564968088941; Sun, 04 Aug 2019 18:21:28 -0700 (PDT) From: jcfaracco@gmail.com To: libvir-list@redhat.com Date: Sun, 4 Aug 2019 22:21:18 -0300 Message-Id: <20190805012121.7261-2-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.32]); Mon, 05 Aug 2019 01:21:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 05 Aug 2019 01:21:30 +0000 (UTC) for IP:'209.85.222.175' DOMAIN:'mail-qk1-f175.google.com' HELO:'mail-qk1-f175.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.222.175 mail-qk1-f175.google.com 209.85.222.175 mail-qk1-f175.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.32 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Cc: Julio Faracco Subject: [libvirt] [PATCH 1/4] docs: Adding 'xres' and 'yres' into qxl 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.46]); Mon, 05 Aug 2019 01:23:36 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Julio Faracco This commit adds 'xres' and 'yres' into qxl XML Domain group definition. Both, properties were added into properties group inside qxl model and they are set as optional. Signed-off-by: Julio Faracco --- docs/schemas/domaincommon.rng | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index a0771da45b..8d95948595 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -3606,6 +3606,16 @@ + + + + + + + + + + --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Fri May 3 08:34:02 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=1564968245; cv=none; d=zoho.com; s=zohoarc; b=X91dUkk+Y5nifltfCk6BCu/C50klskmJGcWXI3MdK3moX85vMgCRyvtXungExd8YnKEGhlvhvRK8iO9Z4jR/IbUVbITOgZN742420y5huoaJoUP0tNAfJsYe8qdyqtv2PHE/We+qUDFYJLVr6jAMZqRtLWSnIBpvy+WTkxE1yss= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564968245; 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=YqwuCZ0eIywxyI+qwpEuiom5mhWy6iELJNCeamqPzEw=; b=n6dCfunoAJTl7uAzPRwoL1jqvFB4OZdGNLSBrEamsg4NmEpPMWVva/0Qu2jJIgYkc1EWaN78fPHFE8QW4yLl//axwVgdInvkKpwMz4F5HERXrh+iBfcSvQQEw5ezcw27xMhQGxoM4jvc4AwgtvpXIyWfubyDAv4LBsBvYxzu7zQ= 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 1564968245337390.3587896603718; Sun, 4 Aug 2019 18:24:05 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C368C83E; Mon, 5 Aug 2019 01:24:03 +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 8AFDA19C71; Mon, 5 Aug 2019 01:24:03 +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 23C0141F66; Mon, 5 Aug 2019 01:24:03 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x751LY8J004577 for ; Sun, 4 Aug 2019 21:21:34 -0400 Received: by smtp.corp.redhat.com (Postfix) id 909C06012E; Mon, 5 Aug 2019 01:21:34 +0000 (UTC) Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8A48960127 for ; Mon, 5 Aug 2019 01:21:32 +0000 (UTC) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) (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 8A8F6EB9A0 for ; Mon, 5 Aug 2019 01:21:31 +0000 (UTC) Received: by mail-qk1-f193.google.com with SMTP id r21so59008599qke.2 for ; Sun, 04 Aug 2019 18:21:31 -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.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 04 Aug 2019 18:21:30 -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=HfZFKBoL3HnBSBkOVaLu1u1ssECHbBWzysd6HrINb7k=; b=R2dpk11nGOhMXq2SWlB9Z94A+tRWmyxFPYWWKcsuRLMrptRIFGwMKWJ+ncp9cS6q18 PN4/2F+TfxsCpnK+KxqdvLoCjABc6V9Xs54adDzPCyjV179eE36sviNeYXXPfA2IwHfg TexLOK6+LgS0r5fc6nbFYjEtobI4YXjfn6My32jyLs1BUKPhfbyvroxAh8JfuuqwrIUI 0dM9H6yenDULIYUVA1RvBAu4R0JMXB3JCm4C7vIfATFRglB6QULSeJRBqJZMLG0/kAK2 b8p+G4JAQ/smpCEa/jQIAAnqCOSflv2gtXtCMsKSrvlb2hzYTbDG/b8XnORfqCti2DcB 3SWg== 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=HfZFKBoL3HnBSBkOVaLu1u1ssECHbBWzysd6HrINb7k=; b=pds7NOdmfsVwY1qutaqu6c1N+DzQrQIpnMeogvtMaUYnWutfNAyMUdwggwXIXEKtwY sqRcCF8qobhHuEo8onS44U8Tvo/N4m5095+kgcaMxAgdcxLquVs/alDTY0MhF9w4rSGo Tvx/AGBbAoH9oX6FSDygx/Oh9xn2+z9ppjuhWbwzmLhdg/64H0XS8qW4Ri0j6qGxzIV2 IS4bK1QuzYIsn6tBSnNk9PaHEPH8roLZmWkrsPLk6HeYpe5Mx7xpQHhEm/wZKoEcK3Y9 UqTzmVpokGEj1CPBtNs75eTFtuVk945c/s+W+BGXgMjZuRsOAstMwy8hhemplmrnX7xk 4v+g== X-Gm-Message-State: APjAAAWCceqAKVhK+wDpICLppn4nh++x3c9Kas4gtMhL5zftzw8Rzx8z rb5yFc9r1Gh3n/mc5lWNbw2kLKP0 X-Google-Smtp-Source: APXvYqziISQxvncWI/M5T4sMA1hzAah7VnhTxzLU3SPOy9Fwb1DQe0sLGbDNhcPyYgghV16YBDb6Yw== X-Received: by 2002:a37:4cd2:: with SMTP id z201mr88287233qka.284.1564968090526; Sun, 04 Aug 2019 18:21:30 -0700 (PDT) From: jcfaracco@gmail.com To: libvir-list@redhat.com Date: Sun, 4 Aug 2019 22:21:19 -0300 Message-Id: <20190805012121.7261-3-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.38]); Mon, 05 Aug 2019 01:21:31 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 05 Aug 2019 01:21:31 +0000 (UTC) for IP:'209.85.222.193' DOMAIN:'mail-qk1-f193.google.com' HELO:'mail-qk1-f193.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.193 mail-qk1-f193.google.com 209.85.222.193 mail-qk1-f193.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: Julio Faracco Subject: [libvirt] [PATCH 2/4] conf: Adding XML support 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.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 05 Aug 2019 01:24:04 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Julio Faracco XML need to support both properties together. This commit adds XML support for QXL model if they are set. Domain configuration is able to parse this properties. Signed-off-by: Julio Faracco Reviewed-by: J=C3=A1n Tomko --- src/conf/domain_conf.c | 26 ++++++++++++++++++++++++++ src/conf/domain_conf.h | 2 ++ 2 files changed, 28 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 441eb1a5a2..120c6ccf5f 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -15360,6 +15360,8 @@ virDomainVideoDefParseXML(virDomainXMLOptionPtr xml= opt, VIR_AUTOFREE(char *) ram =3D NULL; VIR_AUTOFREE(char *) vgamem =3D NULL; VIR_AUTOFREE(char *) primary =3D NULL; + VIR_AUTOFREE(char *) xres =3D NULL; + VIR_AUTOFREE(char *) yres =3D NULL; =20 if (!(def =3D virDomainVideoDefNew())) return NULL; @@ -15377,6 +15379,8 @@ virDomainVideoDefParseXML(virDomainXMLOptionPtr xml= opt, vram64 =3D virXMLPropString(cur, "vram64"); vgamem =3D virXMLPropString(cur, "vgamem"); heads =3D virXMLPropString(cur, "heads"); + xres =3D virXMLPropString(cur, "xres"); + yres =3D virXMLPropString(cur, "yres"); =20 if ((primary =3D virXMLPropString(cur, "primary")) !=3D NU= LL) { if (STREQ(primary, "yes")) @@ -15459,6 +15463,24 @@ virDomainVideoDefParseXML(virDomainXMLOptionPtr xm= lopt, } } =20 + if (xres && yres) { + if (def->type !=3D VIR_DOMAIN_VIDEO_TYPE_QXL) { + virReportError(VIR_ERR_XML_ERROR, "%s", + _("xres and yres attribute only supported for t= ype of qxl")); + goto error; + } + if (virStrToLong_uip(xres, NULL, 10, &def->xres) < 0) { + virReportError(VIR_ERR_XML_ERROR, + _("cannot parse video xres '%s'"), xres); + goto error; + } + if (virStrToLong_uip(yres, NULL, 10, &def->yres) < 0) { + virReportError(VIR_ERR_XML_ERROR, + _("cannot parse video yres '%s'"), yres); + goto error; + } + } + if (virDomainDeviceInfoParseXML(xmlopt, node, &def->info, flags) < 0) goto error; =20 @@ -26427,6 +26449,10 @@ virDomainVideoDefFormat(virBufferPtr buf, virBufferAsprintf(buf, " vgamem=3D'%u'", def->vgamem); if (def->heads) virBufferAsprintf(buf, " heads=3D'%u'", def->heads); + if (def->xres) + virBufferAsprintf(buf, " xres=3D'%u'", def->xres); + if (def->yres) + virBufferAsprintf(buf, " yres=3D'%u'", def->yres); if (def->primary) virBufferAddLit(buf, " primary=3D'yes'"); if (def->accel) { diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index 8a4425df64..bfee86efcf 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -1419,6 +1419,8 @@ struct _virDomainVideoDef { unsigned int vram64; /* kibibytes (multiples of 1024) */ unsigned int vgamem; /* kibibytes (multiples of 1024) */ unsigned int heads; + unsigned int xres; + unsigned int yres; bool primary; virDomainVideoAccelDefPtr accel; virDomainVideoDriverDefPtr driver; --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Fri May 3 08:34:02 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=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 From nobody Fri May 3 08:34:02 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=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 + + + + +
+ + +
+ + +
+ + + + +