WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vr

To: qemu-devel@xxxxxxxxxx
Subject: [Xen-devel] Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer
From: "andrzej zaborowski" <balrogg@xxxxxxxxx>
Date: Mon, 10 Dec 2007 20:03:35 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Dec 2007 09:45:19 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UVZ/onw85jQAzZgfCGl4fNRDK70HFqruoPmr33lNHD0=; b=WdLsVz6QmEHypOgcZJq8nQvI+SB+qamo8u7uZR2EAEQwbjOgeQIfoQwYqEWx6iFRswGKYRHeIHOFAGobKvKRtDQSVG8faAJFgFrmxwgL2dd2p86DsFaL0yzEkoTg9Ud1KUch5SoOswiBC/maGggEaccnjS9mGbNbsiQIUxzTaLs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fl/UhPFeTdV97VSE8TX3Bs46t0Elo2VEzWlkFLsZ4DFZ60Xs4zsHaV8vabuCZjF6Wv+EsxvJqp8iInyRYBKxYJRvmbfpnxCiBFsEeJ7Owprh0xEdBuQqT4JzrCknP0rG0NfSfvfeEXFmnmDvkbVFC4anr3AGdLKlMP0s3ht+28k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <18269.33299.414015.995882@xxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <18269.33299.414015.995882@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 10/12/2007, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> The existing stdvga driver from xen-unstable tools/ioemu/hw/vga* does
> not save the emulated VGA memory contents.  The symptoms include video
> malfunction after restore, including black screen (which can often be
> fixed by asking the guest to redraw) but also missing font setup etc.
> The attached patch fixes this by saving the entire VGA memory buffer,
> just like the Xen ioemu Cirrus emulator does.

Sounds reasonable.

>
> I have reinterpreted the `is_vbe' byte, which is related to
> CONFIG_BOCHS_VBE, as a general flags word.  This enables my code to
> allow old images to be restored (albeit with loss of VGA memory), by
> using another bit in that word to indicate whether the VGA memory dump
> is present.

You can use the version_id parameter for that. Increase the value
passed to register_savevm and load the vram only if version_id >= 2.

Regards

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>