This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH][qemu]Fix hvm guest cirrus_vga hvm s3 resume failure

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Ian.jackson@xxxxxxxxxxxxx" <Ian.jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][qemu]Fix hvm guest cirrus_vga hvm s3 resume failure
From: "Ke, Liping" <liping.ke@xxxxxxxxx>
Date: Tue, 21 Apr 2009 14:53:41 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Apr 2009 23:54:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnCTeekegFYInvkQQqUVDXWzfk46g==
Thread-topic: [Xen-devel] [PATCH][qemu]Fix hvm guest cirrus_vga hvm s3 resume failure
Hi, Keir
This patch is for fixing hvm guest cirrus_vga hvm s3 resume failure.
We found latest Qemu (after Mar 3.10) will cause HVM guest vga fails to resume 
back from S3.
It's because vga_bios_init is not only needed during init, but also needed 
after cirrus_vga
reset (hvm s3 will do qemu_reset).  

Also, we found the outdated s->vram_ptr reset will  cause s3 resume screen 
so we remove it. (win2000 boot up does not need it now)

We verified the fix with the latest cs/qemu.

Thanks a lot!


Attachment: fix_vga_resume.patch
Description: fix_vga_resume.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>