Skip to contentSkip to conversation

qemu: cirrus reset-related fixes

PATCH New Michael S. Tsirkin 1 participant 1 message Oct 8, 2009 KVM

lore
Share & tools
lore
#0 lore raw

v2 cover qemu: cirrus reset-related fixes

Quoted 6 lines · Avi Kivity
Quoted 3 lines

Reset BARs and a couple of other registers on bus reset, as per PCI spec.

This commit breaks Windows XP restart. After a restart Windows switches from 800x600 cirrus logic vga to 640x480 standard vga.

Reposting fom qemu tree now.

So I just sent patches for pcbios and seabios to fix this. Once applied, reset works fine. Further, we can also fix PCI incompliancy in cirrus, disabling memory and i/o on reset.

To apply these patches:
- apply pcbios and seabios patches
- generate binaries and commit
- apply this patchset

Michael S. Tsirkin (4):
qemu: update pcbios to enable i/o for cirrus
qemu: update seabios to enable i/o for cirrus
qemu: make cirrus init value pci spec compliant
qemu: cleanup unused macros in cirrus

 hw/cirrus_vga.c |   38 +-------------------------------------
 roms/pcbios     |    2 +-
 roms/seabios    |    2 +-
 3 files changed, 3 insertions(+), 39 deletions(-)
Signature · 1 line
MST