qemu: make cirrus init value pci spec compliant
commitf74ab486d573e7b122ad9702194104aa90f30d53
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 30 Nov 2009 19:02:26 +0000 (30 21:02 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 17:45:50 +0000 (3 11:45 -0600)
treeb64f9649b6a5cbd356362249a5f87f226b99c667
parent40ff6d7e8dceca227e7f8a3e8e0d58b2c66d19b4
qemu: make cirrus init value pci spec compliant

PCI memory should be disabled at reset, otherwise
we might claim transactions at address 0.
I/O should also be disabled, although for cirrus
it is harmless to enable it as we do not
have I/O bar.

Note: bios fix needed for this patch to work
was already applied:
previously bios incorrently assumed that it does not
need to enable i/o unless device has i/o bar.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/cirrus_vga.c