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
qemu [2015/03/07 18:21] – JuergenLockqemu [2020/12/08 03:31] (current) – Add link to QemuRecipes LiWenHsu
Line 1: Line 1:
 ===== Qemu on FreeBSD as host ===== ===== Qemu on FreeBSD as host =====
-Qemu is a very fast generic and open source processor emulator by Fabrice Bellard.  It runs under Windows 2000, Windows XP, GNU/Linux (RedHat, [[Debian|Debian]]) and %%FreeBSD%% "host" systems.  After reading this page you should know:+Qemu is a very fast generic and open source processor emulator by Fabrice Bellard.  It runs under Windows 2000, Windows XP, GNU/Linux (%%RedHat%%, Debian) and %%FreeBSD%% "host" systems.  After reading this page you should know:
  
   * How to install qemu from the Ports tree   * How to install qemu from the Ports tree
   * How to run Qemu in %%FreeBSD%% 7.X or later   * How to run Qemu in %%FreeBSD%% 7.X or later
 +
 +See also: QemuRecipes
  
 ==== Installation notes ==== ==== Installation notes ====
Line 16: Line 18:
 </code> </code>
  
-**Note:** It may be a good idea to enable the KQEMU accelerator when you install one of the Qemu ports (otherwise qemu is much slower), this installs /usr/ports/emulators/kqemu-kmod-devel as a dependency and:idea: builds kqemu support into the qemu port.+**Note:** If you want to use the KQEMU accelerator you need to use the obsolete /usr/ports/emulators/qemu port instead and enable its KQEMU knob (otherwise qemu is much slower), this installs /usr/ports/emulators/kqemu-kmod-devel as a dependency and:idea: builds kqemu support into the port.  The qemu-devel port no longer supports kqemu (support was removed upstream.)
  
 ==== Running Qemu ==== ==== Running Qemu ====
Line 23: Line 25:
  
   * IDE bus-master DMA support   * IDE bus-master DMA support
-  * The ''%%aio%%'', ''%%if_tap%%'' and ''%%if_bridge%%'' modules in the "host" system+  * The ''%%if_tap%%'' and ''%%if_bridge%%'' modules in the "host" system
  
 You can add the following to /boot/loader.conf: You can add the following to /boot/loader.conf:
Line 32: Line 34:
 if_bridge_load="YES" if_bridge_load="YES"
 if_tap_load="YES" if_tap_load="YES"
-aio_load="YES" 
 kqemu_load="YES" kqemu_load="YES"
 +</code>
 +
 +On versions of %%FreeBSD%%, prior to 11.0-RELEASE, you need to also explicitly add/enable aio support. Be sure to also add the following to /boot/loader.conf:
 +
 +  * 
 +
 +<code>
 +aio_load="YES"
 </code> </code>
  
Line 175: Line 184:
   * Network bridge   * Network bridge
   * Full screen mode   * Full screen mode
- 
-Links 
- 
-  * Qemu 
  
 Contributors Contributors
Line 186: Line 191:
   * vermaden   * vermaden
   * Nakata Maho   * Nakata Maho
 +
 +----
 +
 +[[CategoryVirtualization]]
  
  • qemu.1425752511.txt.gz
  • Last modified: 2015/03/07 18:21
  • by JuergenLock