[libvirt] [PATCH] Fix pci bus naming for PPC

Eric Blake eblake at redhat.com
Wed Apr 23 15:50:35 UTC 2014


On 04/23/2014 09:38 AM, Daniel P. Berrange wrote:
> 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 at redhat.com>
> ---
>  src/qemu/qemu_capabilities.c | 80 +++++++++++++++++++++++++++++++++++++++-----
>  src/qemu/qemu_capabilities.h |  3 ++
>  src/qemu/qemu_command.c      |  2 +-
>  3 files changed, 75 insertions(+), 10 deletions(-)

Ugly, but I don't see any better alternatives.  Reluctant ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140423/d9b76939/attachment-0001.sig>


More information about the libvir-list mailing list