To check any qemu-system-* emulator's expected pci bus naming:

$ qemu-system-ppc64 -nographic -nodefconfig -nodefaults -machine pseries 
-monitor stdio
QEMU 2.0.0 monitor - type 'help' for more information
(qemu) Warning: Disabling some instructions which are not emulated by TCG (0x0, 
0x4)


then use the command 'info qtree' which will print something similar to:

bus: main-system-bus
  type System
  dev: spapr-pci-host-bridge, id ""
    index = 0 (0)
    buid = 576460752840294400 (0x800000020000000)
    liobn = 2147483648 (0x80000000)
    mem_win_addr = 1102195982336 (0x100a0000000)
    mem_win_size = 536870912 (0x20000000)
    io_win_addr = 1101659111424 (0x10080000000)
    io_win_size = 65536 (0x10000)
    irq 0
    bus: pci.0
      type PCI

note the 'bus: pci.0' in the above output.

That will work for any qemu-system-* arch emulator.  To find what
-machine types a specific arch emulator includes, try:

$ qemu-system-ppc64 -machine ?
Supported machines are:
taihu                taihu
mac99                Mac99 based PowerMAC
pseries              pSeries Logical Partition (PAPR compliant) (default)
prep                 PowerPC PREP platform
g3beige              Heathrow based PowerMAC
bamboo               bamboo
mpc8544ds            mpc8544ds
ppce500              generic paravirt e500 platform
virtex-ml507         Xilinx Virtex ML507 reference design
none                 empty machine
ref405ep             ref405ep

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571075

Title:
  ppc emulated pseries expecting 'pci.0' bus fails to start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1571075/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to