Add cirrus reset handler
commit4abc796d41ee01a698032e74ac17c1cdc5d290c3
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Jan 2009 17:37:06 +0000 (5 17:37 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 5 Jan 2009 17:37:06 +0000 (5 17:37 +0000)
tree2766fbe0feae85ffb186cc3c42a7f5d509e3f05f
parent785f451b62c8008428343d84549d175cd4f9d099
Add cirrus reset handler

The vga reset handler overwrites some cirrus registers, causing reboots
to corrupt cirrus state to the point that guests can only bring up 640x480
resolutions.

Fix by adding a dedicated cirrus reset handler (which calls the common vga
handler).

Signed-off-by: Avi Kivity <avi@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6191 c046a42c-6fe2-441c-8c8c-71466251a162
hw/cirrus_vga.c
hw/vga.c
hw/vga_int.h