diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-09-25 03:53:48 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:53 -0500 |
commit | 48042d861e364c04d0431cc6f52594ea00267c80 (patch) | |
tree | 98301ac79d5fac590a465d4d4d0c0064003ba43c /hw/pci-hotplug.c | |
parent | 19a2223feaabc6c574af57c8c5f1c21a60e8d194 (diff) |
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().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci-hotplug.c')
0 files changed, 0 insertions, 0 deletions