2010-05-12 01:46:36 +08:00
|
|
|
QEMU is a generic and open source machine emulator and virtualizer.
|
2010-05-11 21:18:43 +08:00
|
|
|
|
2010-05-12 23:45:54 +08:00
|
|
|
When used as a machine emulator, QEMU can run OSes and programs made for
|
|
|
|
one machine (e.g. an ARM board) on a different machine (e.g. your own PC).
|
|
|
|
By using dynamic translation, it achieves very good performances.
|
2010-05-11 21:18:43 +08:00
|
|
|
|
2013-04-17 13:31:21 +08:00
|
|
|
qemu (with kvm enabled) achieves near native performances by leveraging
|
|
|
|
the kvm-kmod modules and executing the guest code directly on the host
|
|
|
|
CPU. Slackware provides pre-built 32/64 bit x86 kvm-kmod modules or you
|
|
|
|
can build different versions with the kvm-kmod package.
|
2010-05-13 06:41:33 +08:00
|
|
|
|
2013-04-15 01:56:35 +08:00
|
|
|
By default, this script builds only the x86 and arm emulation targets
|
|
|
|
for qemu; if you prefer to build all supported targets, do this:
|
2012-02-19 14:38:23 +08:00
|
|
|
|
2013-04-15 01:56:35 +08:00
|
|
|
TARGETS=all ./qemu.SlackBuild
|
|
|
|
|
2014-11-19 21:19:32 +08:00
|
|
|
Disable vnc support via:
|
2014-04-29 09:55:57 +08:00
|
|
|
|
2014-11-19 21:19:32 +08:00
|
|
|
VNC_ENABLE=no ./qemu.SlackBuild
|
|
|
|
|
2015-12-17 09:33:58 +08:00
|
|
|
Audio drivers support defaults to "alsa,oss,sdl" and can be adusted via
|
2014-11-19 21:19:32 +08:00
|
|
|
|
|
|
|
AUDIODRIVERS="alsa,oss" ./qemu.SlackBuild
|
2014-04-29 09:55:57 +08:00
|
|
|
|
2013-04-15 01:56:35 +08:00
|
|
|
We patch the installed udev rules to require membership in "users"
|
2014-08-17 07:49:34 +08:00
|
|
|
group instead of a custom "kvm" group to use /dev/kvm. If you prefer
|
2013-04-15 01:56:35 +08:00
|
|
|
something different, then run the build script like this:
|
|
|
|
|
|
|
|
KVMGROUP=group ./qemu.SlackBuild
|
|
|
|
|
|
|
|
Don't forget to load the 'kvm-intel' or 'kvm-amd' module (depending on
|
2013-04-17 13:31:21 +08:00
|
|
|
your processor) prior to launching qemu-system-ARCH with kvm enabled.
|
|
|
|
For older/unmaintained qemu frontends, this build also creates a symlink
|
|
|
|
to qemu-system-ARCH at /usr/bin/qemu-kvm.
|
2013-04-15 01:56:35 +08:00
|
|
|
|
2015-12-19 16:46:24 +08:00
|
|
|
libcacard, spice, usbredir, and device-tree-compiler are optional dependencies.
|
2013-11-30 03:55:39 +08:00
|
|
|
If you wish to emulate ARM, you will want device-tree-compiler.
|
2014-04-29 09:55:57 +08:00
|
|
|
|
|
|
|
NOTES:
|
|
|
|
This version breaks some backward compatibility with earlier versions.
|
|
|
|
Consult the official changelogs for details.
|