daschmc Posted November 20, 2022 Share Posted November 20, 2022 Need help setting up qemu-system-ppc. Due to missing template I used virt-manager to setup this VM. Folder "pc-bios" was manually added by myself to /usr/bin/ VM fails to boot What am I missing? <?xml version='1.0' encoding='UTF-8'?> <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>PPCVM</name> <uuid>f9957e6d-1ad7-4b29-8d94-a05d828d402c</uuid> <title>PowerMAC</title> <memory unit='KiB'>131072</memory> <currentMemory unit='KiB'>131072</currentMemory> <vcpu placement='static'>1</vcpu> <os> <type arch='ppc' machine='mac99'>hvm</type> <loader type='rom'>/usr/bin/pc-bios/openbios-ppc</loader> <nvram>/etc/libvirt/qemu/nvram/ppcnvram.qcow2</nvram> <boot dev='cdrom'/> <bootmenu enable='no'/> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-ppc</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/MacOS904DE.iso'/> <target dev='sda' bus='scsi'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw'/> <source file='/mnt/disks/SecondCache/PPC/MacHD.img'/> <target dev='sdb' bus='scsi'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='scsi' index='0' model='virtio-scsi'> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:a7:f9:c8'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <graphics type='vnc' port='-1' autoport='yes' keymap='de'> <listen type='address'/> </graphics> <audio id='1' type='none'/> <video> <model type='virtio' heads='1' primary='yes'> <acceleration accel3d='no'/> </model> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </video> <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <rom file='/usr/bin/pc-bios/qemu_vga.ndrv'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </memballoon> </devices> <qemu:commandline> <qemu:arg value='-L'/> <qemu:arg value='/usr/bin/pc-bios/'/> <qemu:arg value='-M'/> <qemu:arg value='mac99,via=pmu'/> <qemu:arg value='-device'/> <qemu:arg value='VGA,edid=on'/> <qemu:arg value='-prom-env'/> <qemu:arg value='auto-boot?=true'/> <qemu:arg value='-prom-env'/> <qemu:arg value='vga-ndrv?=true'/> </qemu:commandline> </domain> Quote Link to comment
sasdakota Posted November 28, 2022 Share Posted November 28, 2022 I thought in 6.11.1 + there should already be qemu-ppc binaries? I'm not seeing them. Quote Link to comment
daschmc Posted November 29, 2022 Author Share Posted November 29, 2022 They are at /usr/bin/qemu-system-ppc but im not able to figure out how to manage libvirt if i run ./qemu-system-ppc with args from cli it works Quote Link to comment
sasdakota Posted November 29, 2022 Share Posted November 29, 2022 I am working this issue under another thread, used a couple pieces of your template merged with mine. Getting closer to a working solution I think. Check here: 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.