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
ppc-osx-on-qemu-for-windows [2019/03/04 07:11]
cat_7 [Qemu installation]
ppc-osx-on-qemu-for-windows [2019/09/16 23:32] (current)
cat_7 [Networking]
Line 34: Line 34:
   -sdl ^   -sdl ^
   -netdev user,​id=network01 -device sungem,​netdev=network01 ^   -netdev user,​id=network01 -device sungem,​netdev=network01 ^
 +  -device VGA,edid=on ^
  
   * Save qemu.bat ​   * Save qemu.bat ​
Line 50: 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 119: 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 or http://​name-or-ip-adress-of-machine from other machines running on your network.
 +
  
  
Line 175: 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.1551712282.txt.gz ยท Last modified: 2019/03/04 07:11 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