Page 6 of 7

Re: Qemu

Posted: Mon Apr 18, 2022 5:33 pm
by xeno74
Lubuntu 14.04 in a virtual QEMU PowerPC machine with KVM-PR:

Code: Select all

qemu-system-ppc -M mac99 -enable-kvm -m 2047 -boot c -hda Lubuntu_14.04_PowerPC_QEMU.img -g 1280x1024x32 -kernel vmlinux -initrd initrd -append "ro root=/dev/sda3" -device usb-mouse -nic user,model=e1000

Re: Qemu

Posted: Fri Oct 21, 2022 4:31 pm
by xeno74

Re: Qemu

Posted: Sun Nov 06, 2022 7:00 am
by xeno74
Lubuntu 14.04 in a virtual G3 Beige QEMU machine with KVM-PR:

Image

QEMU command:

Code: Select all

qemu-system-ppc -M g3beige -enable-kvm -m 2047 -bios /home/amigaone/Lubuntu_14.04_PowerPC_QEMU/openbios-ppc -boot c -hda /home/amigaone/Lubuntu_14.04_PowerPC_QEMU/Lubuntu_14.04_PowerPC_QEMU.img -g 1280x1024x32 -kernel /home/amigaone/Lubuntu_14.04_PowerPC_QEMU/vmlinux -initrd /home/amigaone/Lubuntu_14.04_PowerPC_QEMU/initrd -append "ro root=/dev/sda3" -device pci-ohci,id=newusb -device usb-tablet -nic user,model=e1000

Re: Qemu

Posted: Sun Mar 19, 2023 3:00 am
by xeno74
Usually we use a VirtIO GPU for our QEMU machines. (-device virtio-gpu-pci)

There is another possibility.

The Bochs VGA.

QEMU argument: -device VGA,vgamem_mb=256


Please note: If you want to use a higher resolution then please delete the xorg conf file with the fbdev entry and login again.

Re: Qemu

Posted: Mon Mar 27, 2023 11:10 am
by xeno74
If you have wrong colors in the virtual display then try -display sdl.

Re: Qemu

Posted: Fri Jul 28, 2023 2:59 pm
by xeno74
Adding an IDE drive:

Code: Select all

-drive id=disk,file=disk.qcow2,format=qcow2,if=none -device ahci,id=ahci -device ide-cf,drive=disk,bus=ahci.0

Re: Qemu

Posted: Fri Aug 11, 2023 9:13 pm
by Hypex
Can it boot a ppc64le Linux image? :P

Re: Qemu

Posted: Sat Aug 12, 2023 8:30 am
by xeno74
Hypex wrote: Fri Aug 11, 2023 9:13 pm Can it boot a ppc64le Linux image? :P
I haven’t tested it yet.

Re: Qemu

Posted: Sat Aug 12, 2023 12:43 pm
by Hypex
Want to try one of these ppc64el images with my loader. But I need to add a LE ELF loader to do that. Could cheat and see if enabling LE in MSR before and after loading works but that seems dirty. By the looks of it the kernel brings up in BE mode. deals with the device tree, then starts and switches endian to LE when it really starts. I'll test a standard image and if it loads (then crashes eventually) I'll look into compiling an LE kernel. :D

Re: Qemu

Posted: Mon Mar 18, 2024 10:36 am
by xeno74
Convert an img to a vmdk for VMware:

Code: Select all

qemu-img convert fienix_6.0.1-noboot-r1.img -O vmdk fienix_6.0.1-noboot-r1.vmdk