Emaculation.com
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ppc-osx-on-qemu-for-windows [2019/01/15 03:43]
cat_7 [Networking]
ppc-osx-on-qemu-for-windows [2019/09/16 23:25]
cat_7 [Networking]
Line 25: Line 25:
  
   * Open your favorite text editor and create a file called qemu.bat in your qemu folder. (If one is contained in the download, edit that one).   * Open your favorite text editor and create a file called qemu.bat in your qemu folder. (If one is contained in the download, edit that one).
-  * Paste the code below into the file (all on one line!):+  * Paste the code below into the file:
  
-  qemu-system-ppc.exe -L pc-bios -boot d -m 512 -M mac99 -prom-env "auto-boot?=true" -prom-env  +   
-  "boot-args=-v" -prom-env "vga-ndrv?=true" -drive file=MacOS9.2.iso,format=raw,media=cdrom -drive file=MacOS9.2.img,format=raw,media=disk -sdl -netdev user,id=network01 -device sungem,netdev=network01 +  qemu-system-ppc.exe -L pc-bios -boot d -M mac99,via=pmu -m 512 ^ 
 +  -prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" 
 +  -drive file=MacOS9.2.iso,format=raw,media=cdrom 
 +  -drive file=MacOS9.2.img,format=raw,media=disk 
 +  -sdl 
 +  -netdev user,id=network01 -device sungem,netdev=network01 
 +  -device VGA,edid=on ^
  
   * Save qemu.bat    * Save qemu.bat 
Line 45: Line 51:
 -sdl instructs Qemu to use SDL for the graphical display\\ -sdl instructs Qemu to use SDL for the graphical display\\
 -netdev user,id=network01 -device sungem,netdev=network01  tell qemu to use the sungem network device on a qemu-internal DHCP server\\ -netdev user,id=network01 -device sungem,netdev=network01  tell qemu to use the sungem network device on a qemu-internal DHCP server\\
 +-device VGA,edid=on presents additional resolutions to choose from in the guest \\
  
 (*)The mac model entry accepts 3 options for the via parameter: \\ (*)The mac model entry accepts 3 options for the via parameter: \\
Line 114: Line 121:
   * -netdev tap,ifname=TapEthernet1,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:56   * -netdev tap,ifname=TapEthernet1,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:56
   * -netdev tap,ifname=TapEthernet2,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66   * -netdev tap,ifname=TapEthernet2,id=network01 -device sungem,netdev=network01,mac=52:54:00:12:34:66
 +
 +=== Forwarding ports to the host ===
 +
 +You can provide services running on the guest to the host by forwarding ports to the host. To provide access to a webserver running in the guest you can use:
 +
 +  * -netdev user,id=network01,hostfwd=tcp::80-:80
 +
 +The webserver running on the guest is then accessible through e.g., http://localhost
 +
  
  
Line 170: Line 186:
 Type "change ide1-cd0 Driveletter:/path/name-of-cd-image.iso" (note the forward slashes!) \\ Type "change ide1-cd0 Driveletter:/path/name-of-cd-image.iso" (note the forward slashes!) \\
 Close the Qemu Monitor by pressing Ctrl-Alt-2 again (do **not** close the window by clicking the close button)\\ Close the Qemu Monitor by pressing Ctrl-Alt-2 again (do **not** close the window by clicking the close button)\\
 +
 +Also see the qemu documentation here: https://www.linux-kvm.org/page/Change_cdrom \\
  
 ==== Mounting a real cd ==== ==== Mounting a real cd ====
ppc-osx-on-qemu-for-windows.txt · Last modified: 2020/10/10 23:09 by cat_7
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki