[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer |
Date: |
Mon, 10 Dec 2007 20:03:35 +0100 |
On 10/12/2007, Ian Jackson <address@hidden> 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
- [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer, Ian Jackson, 2007/12/10
- Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer,
andrzej zaborowski <=
- [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer (revised), Ian Jackson, 2007/12/12
- Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer (revised), andrzej zaborowski, 2007/12/16
- Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer (revised), Ian Jackson, 2007/12/17
- Re: [Qemu-devel] [PATCH] ioemu/qemu vga: save and restore vram buffer (revised), Paul Brook, 2007/12/17
- Re: [Qemu-devel] xen / qemu convergence ?, Ian Jackson, 2007/12/17
- Re: [Qemu-devel] xen / qemu convergence ?, andrzej zaborowski, 2007/12/17
- Re: [Qemu-devel] xen / qemu convergence ?, Ian Jackson, 2007/12/18
- Re: [Qemu-devel] xen / qemu convergence ?, Paul Brook, 2007/12/17