]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix pci bus naming for PPC
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Apr 2014 15:35:37 +0000 (16:35 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 24 Apr 2014 13:21:39 +0000 (14:21 +0100)
commit27b2b987bf41ba1ba3aab8c8d9b2d8bc740fd925
tree04c7cb3eb9f959a28e97eabce7be7656f6136c38
parent8823272d41a259c1246c05d89f40ad3614fba58c
Fix pci bus naming for PPC

Recent discussions around naming of 'pci' vs 'pci.0' for PPC
made me go back and look at the PPC emulator in every historical
version of QEMU since 1.0. The results were worse than I imagined.
This patch adds the logic required to make libvirt work with PPC
correctly with naming variations across all versions & machine
types.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c