]> xenbits.xensource.com Git - libvirt.git/commit
qemu: assign PCI address to primary video card
authorVitor de Lima <vitor.lima@eldorado.org.br>
Wed, 6 Nov 2013 16:13:54 +0000 (14:13 -0200)
committerLaine Stump <laine@laine.org>
Fri, 8 Nov 2013 10:48:32 +0000 (12:48 +0200)
commit54e4d9d081e816b35a097ddd2596899cc3846b1a
tree37d3ab999d09ecc77557dd0e0413ff2d6cd92b0b
parentba95426d6f39aec1da6e069dd7222f7a8c6a5862
qemu: assign PCI address to primary video card

When adding support for Q35 guests, the code to assign a PCI address
to the primary video card was moved into Q35 and i440fx(PIIX3)
specific functions, but no fallback was kept for other machine types
that might have a video card.

This patch remedies that by assigning a PCI address to the primary
video card if it does not have any kind of address.  In particular,
this fixes issues with pseries guests.

Signed-off-by: Vitor de Lima <vitor.lima@eldorado.org.br>
Signed-off-by: Laine Stump <laine@laine.org>
src/qemu/qemu_command.c