diff options
Diffstat (limited to 'system/qemu/README')
-rw-r--r-- | system/qemu/README | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/system/qemu/README b/system/qemu/README index 253779d6eac4e..514b17ff6cd35 100644 --- a/system/qemu/README +++ b/system/qemu/README @@ -4,15 +4,24 @@ 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. -When used as a virtualizer, QEMU achieves near native performances by -executing the guest code directly on the host CPU. A host driver called -the QEMU accelerator (also known as KQEMU) is needed in this case -(contained in the optional dependency kqemu). The virtualizer mode -requires that both the host and guest machine use x86 compatible -processors. +qemu-kvm 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. +qemu-kvm code has been merged back into qemu since version 1.3.0. -NOTE: -qemu builds man-pages at compile-time; to do so, /sbin must be in the -current $PATH. Be sure to run the script as root ( "su -" ). +By default, this script builds only the x86 and arm emulation targets +for qemu; if you prefer to build all supported targets, do this: -spice is an optional dependency. + TARGETS=all ./qemu.SlackBuild + +We patch the installed udev rules to require membership in "users" +group instead of a custom "kvm" group to uses /dev/kvm. If you prefer +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 +your processor) prior to launching qemu-system-x86_64 with kvm enabled. + +spice and usbredir are optional dependencies. |