Ian Pilcher
2017-Mar-14 14:18 UTC
Re: [libvirt-users] MIPS emulation broken - No PCI buses available
On 03/14/2017 05:59 AM, Daniel P. Berrange wrote:> You are probably better off using PPC64 which is big-endian and much more > widely tested in libvirt than MIPS, so actually likely to work reliably.I did try that, but I wasn't able to get past errors about the machine type not supporting IDE (or something like that). I finally just gave up and use qemu-system-ppc directly, along with an older Debian QCOW image that I found somewhere.> Please do file a bug against libvirt so this doesn't get lost again.https://bugzilla.redhat.com/show_bug.cgi?id=1432101 -- =======================================================================Ian Pilcher arequipeno@gmail.com -------- "I grew up before Mark Zuckerberg invented friendship" -------- ========================================================================
Andrea Bolognani
2017-Mar-14 19:18 UTC
Re: [libvirt-users] MIPS emulation broken - No PCI buses available
On Tue, 2017-03-14 at 09:18 -0500, Ian Pilcher wrote:> > You are probably better off using PPC64 which is big-endian and much more > > widely tested in libvirt than MIPS, so actually likely to work reliably. > > I did try that, but I wasn't able to get past errors about the > machine type not supporting IDE (or something like that). I finally > just gave up and use qemu-system-ppc directly, along with an older > Debian QCOW image that I found somewhere.You keep referring to ppc instead of ppc64, so I'm not sure you're trying exactly the same thing, but you can create a ppc64 guest with recent software quite easily by using virt-builder: $ virt-builder \ fedora-25 \ --arch ppc64 \ --output f25-ppc64.qcow2 \ --format qcow2 \ --root-password password:dangerzone This is a minimal guest XML that will allow you to import the image generated above into libvirt: <domain type='qemu'> <name>f25-ppc64</name> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='ppc64' machine='pseries'>hvm</type> </os> <devices> <emulator>/usr/bin/qemu-system-ppc64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/f25-ppc64.qcow2'/> <target dev='sda' bus='scsi'/> <address type='drive'/> </disk> <controller type='scsi' model='virtio-scsi'/> <controller type='usb' model='nec-xhci'/> <interface type='network'> <source network='default'/> <model type='virtio'/> </interface> <console type='pty'/> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial'/> </channel> <memballoon model='virtio'/> </devices> </domain> I just tried the steps on my Fedora 24/x86_64 laptop and I didn't run into any issues: if the experience is not quite as seamless for you, I'd be interested in having the details. -- Andrea Bolognani / Red Hat / Virtualization
Ian Pilcher
2017-Mar-15 15:27 UTC
Re: [libvirt-users] MIPS emulation broken - No PCI buses available
On 03/14/2017 02:18 PM, Andrea Bolognani wrote:> You keep referring to ppc instead of ppc64, so I'm not sure > you're trying exactly the same thing, but you can create a > ppc64 guest with recent software quite easily by using > virt-builder:Perfect! I was unaware that this existed. Thank you! -- =======================================================================Ian Pilcher arequipeno@gmail.com -------- "I grew up before Mark Zuckerberg invented friendship" -------- ========================================================================
Reasonably Related Threads
- Re: MIPS emulation broken - No PCI buses available
- Re: MIPS emulation broken - No PCI buses available
- MIPS emulation broken - No PCI buses available
- Inconsistent behavior between x86_64 and ppc64 when creating guests with NUMA node placement
- virt-install on powerpc64 issues