Description of problem:
I installed qemu-system-m68k and downloaded a Debian m68k filesystem image from http://zigo.mirbsd.org:8080/t/2015-Jan/Ara2015A.ima.gz and tried to create a VM on my x86_64 host.
It didn't work. The error message is: "Unable to complete install: 'XML error: No PCI buses available'".
I don't think it makes sense to expect PCI bus present on m68k emulation.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download the image mentioned above and decompress it
2. Try using it as the image when creating an m68k VM in virt-manager
Unable to complete install: 'XML error: No PCI buses available'
Searching bugzilla I have found similar bugs for arm and ppc VM creation.
Can you post the domain XML? It should be visible on the console when running virt-manager with the --debug option.
The 'No PCI buses available' error means the domain does not have a PCI bus, but there are some devices that require a PCI address.
Either virt-manager requests these devices, or libvirt adds them automatically.
Memballoon and usb controller could be such devices, and you may need to disable them using:
<controller type='usb' model='none'/>
Created attachment 998002 [details]
Apart from memballoon and usb controller, which need to be disabled explicitly,
libvirt assumes virtio-net needs a PCI address (/* Network interfaces */ section of qemuAssignDevicePCISlots) and that there is a IDE controller present.
I don't know what buses are available for storage and networking on this architecture, but if libvirt's assumptions are wrong or it does not allow to represent these devices in the domain XML, you're welcome to send a patch:
QEMU also requires a -kernel image for this architecture (<os><kernel> element).
Does the machine boot without network, without storage, with memballoon and usb disabled and a kernel image?
No response, so just closing. The fact that libvirt doesn't work well with the esoteric qemu architectures is well known; to fix it's going to take someone to sit down with the debian images and command lines, patch libvirt to get them working, and then document how to invoke virt-install for each arch