@Maijestro
Quote:
He wants to use the extra installer of the Pegasos 2 AmigaOs4.1, via the SDL GUI output of Qemu no iso images can be included, it must be told Qemu directly in the command line. Unlike under MacOs with the display manager "Cocoa", where you can include iso,s directly via the menu.
With -display sdl there's no menu but there's the QEMU monitor to control it (Ctrl-Alt-2 if you haven't redirected it from the command line. See "info block" and "help change" commands or the QEMU documentation. You may need to add a CD drive without a disk first with -device ide-cd,bus=ide.1 to have a drive connected where you can insert disks. If you also want to add a disk in the drive from the command line you can use -drive if=none,id=something,format=raw,file=path_to.iso then refer to this drive by its id in the -device ide-cd option. This is the longest and most detailed way to add it which defines the disk and the drive separately but there are two shortcuts to do the sam and omit the ide-cd or both options. One is -drive media=cdrom,format=raw,file=iso which will imply -device ide-cd so you don't need to specify that or to omit both you can use -cdrom path_to.iso which will take care of both but there's no way to specify format this way which may be a problem when writing to disks added that way (as the error about format detection says) but cdroms are not writable so -cdrom is safe.
If you want to pass through USB device attached to the host you have to make sure there's no driver is driving it on the host otherwise both guest and host drivers attempt to talk to it which will fail. So you need to unbind the driver from host or make sure it's not loaded when you plug the device (no idea how to do that on Windows or macOS) then you can use -device usb-host or the equivalent device_add command from QEMU Monitor to pass through an USB device. This may also need running QEMU as root unless you can access the raw USB device node as your user. There should be docs on this somewhere as this is a generic QEMU thing, not specific to PPC or Amiga.
There might be also other ways to emulate USB drives but I don't know much about that. See qemu-system-ppc -device help then check what usb-* devices are available and seach for docs or check their code in qemu/hw/usb.