Statistics
| Branch: | Revision:

root / hw / vga-pci.c @ 2a424990

History | View | Annotate | Download (4.7 kB)

# Date Author Comment
bc90ff77 11/13/2009 09:00 pm Blue Swirl

Fix PPC crash

Because of a typo, structure field vga_bios_size was not initialized
properly and a bogus BAR6 for the nonexistent VGA BIOS appeared.

The bug was uncovered by c169998802505c244b8bcad562633f29de7d74a4.

Signed-off-by: Blue Swirl <>

6e355d90 11/09/2009 04:43 pm Isaku Yamahata

pci: introduce pcibus_t to represent pci bus address/size instead of uint32_t

This patch is preliminary for 64 bit BAR support.
Introduce dedicated type, pcibus_t, to represent pci bus address/size
instead of uint32_t.
Later this type will be changed to uint64_t....

0392a017 11/09/2009 04:43 pm Isaku Yamahata

pci: s/PCI_ADDRESS_SPACE_/PCI_BASE_ADDRESS_SPACE_/ to match pci_regs.h

make constants for pci base address match pci_regs.h by
renaming PCI_ADDRESS_SPACE_xxx to PCI_BASE_ADDRESS_SPACE_xxx.

Signed-off-by: Isaku Yamahata <>
Acked-by: Michael S. Tsirkin <>...

5245d57a 10/30/2009 03:39 pm Gerd Hoffmann

vga roms: move loading from pc.c to vga drivers.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

a4f9631c 10/27/2009 07:28 pm Juan Quintela

vga: port vga-pci to vmstate

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e23a1b33 10/07/2009 04:54 pm Markus Armbruster

New qdev_init_nofail()

Like qdev_init(), but terminate program via hw_error() instead of
returning an error value.

Use it instead of qdev_init() where terminating the program on failure
is okay, either because it's during machine construction, or because...

48042d86 10/05/2009 05:32 pm Markus Armbruster

Fix pci_vga_init() not to ignore bus argument

Commit a414c306 converted all VGA devices to qdev. It used
pci_create_simple() for all devices, except for this one it used
pci_create(). That's wrong, because it uses PCI bus#0 regardless of
the bus argument. Fix by switching to pci_create_noinit()....

499cf102 10/05/2009 05:32 pm Markus Armbruster

Rename pci_create_noinit() to pci_create()

It's qdev_create() specialized for PCI, so name it accordingly.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

50af3246 10/05/2009 05:32 pm Juan Quintela

vga: move back dirty_log functions to vga.c

They are needed there on qemu-kvm.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

47d37dd9 09/09/2009 10:55 pm Juan Quintela

vga: split pci bits into vga-pci.c

Adjust all the VGAState in VGACommonState
Compile vga-pci.o only for targets that use it.

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>