From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <t.lamprecht@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 8650961E78
 for <pve-devel@lists.proxmox.com>; Wed, 19 Aug 2020 19:35:27 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 7795027783
 for <pve-devel@lists.proxmox.com>; Wed, 19 Aug 2020 19:35:27 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [212.186.127.180])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS id 9FEA827773
 for <pve-devel@lists.proxmox.com>; Wed, 19 Aug 2020 19:35:25 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 6DD7F403D0
 for <pve-devel@lists.proxmox.com>; Wed, 19 Aug 2020 19:35:25 +0200 (CEST)
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
 Aaron Lauterer <a.lauterer@proxmox.com>
References: <20200727135525.18622-1-a.lauterer@proxmox.com>
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Message-ID: <676fd816-8d1e-59bd-58fe-01d55a69ffb3@proxmox.com>
Date: Wed, 19 Aug 2020 19:35:23 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101
 Thunderbird/80.0
MIME-Version: 1.0
In-Reply-To: <20200727135525.18622-1-a.lauterer@proxmox.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.061 Adjusted score from AWL reputation of From: address
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 RCVD_IN_DNSWL_MED        -2.3 Sender listed at https://www.dnswl.org/,
 medium trust
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [nongnu.org, qemuserver.pm]
Subject: [pve-devel] applied: [PATCH qemu-server] cfg2cmd: vga: fix #2749:
 disable edid for Win+BIOS+VGA machines
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Wed, 19 Aug 2020 17:35:27 -0000

On 27.07.20 15:55, Aaron Lauterer wrote:
> Edid support was added with Qemu 5. Windows guests seem to not be able
> to get all possible resolutions if the default std VGA device is used as
> GPU and the VM boots in BIOS mode. The result is that only one of the
> following three resolutions can be configured:
> 
> 800x600
> 1024x768
> 1920x1080
> 
> It is important to note that just booting a Windows VM with the edid=off
> parameter will not make the large list of resolutions available. It
> seems that Windows is caching the list of possible resolutions
> somewhere [0].
> 
> Uninstalling the 'Microsoft Basic Display Adapter' in the device manager
> and rebooting the VM is one way I found to force Windows to recreate the
> list of possible resolutions.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> 
> [0] https://lists.nongnu.org/archive/html/qemu-devel/2020-07/msg07128.html
> ---
> 
> I did test live migration in both directions and it does seem to work.
> Would be great if someone else could verify this as well. Not having to
> version guard this would be nice.
> 
>  PVE/QemuServer.pm                                     | 7 ++++++-
>  test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd | 2 +-
>  test/cfg2cmd/custom-cpu-model.conf.cmd                | 2 +-
>  3 files changed, 8 insertions(+), 3 deletions(-)
> 
>

applied, thanks! Tested a bit around with migrations and changing screen
resolutions and such in-between, worked so far OK.