LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qemu

Open-source machine emulator and virtualizer

TLDR

Run virtual machine
$ qemu-system-x86_64 -hda [disk.img]
copy
Run with memory
$ qemu-system-x86_64 -m [2048] -hda [disk.img]
copy
Boot from ISO
$ qemu-system-x86_64 -cdrom [installer.iso] -boot d
copy
Enable KVM acceleration
$ qemu-system-x86_64 -enable-kvm -hda [disk.img]
copy
Network with port forwarding
$ qemu-system-x86_64 -hda [disk.img] -netdev user,id=net0,hostfwd=tcp::2222-:22 -device e1000,netdev=net0
copy

SYNOPSIS

qemu-system-*arch [options]

DESCRIPTION

QEMU (Quick EMUlator) is an open-source machine emulator and virtualizer that can run operating systems for any supported architecture on any host. It provides full system emulation including CPU, memory, storage, and peripheral devices, supporting architectures like x86, ARM, RISC-V, MIPS, PowerPC, and others.When combined with KVM (Kernel-based Virtual Machine) on Linux, QEMU achieves near-native performance by using hardware virtualization extensions. Without KVM, it uses dynamic binary translation for full software emulation, which is slower but works across platforms. QEMU disk images support multiple formats (qcow2, raw, vmdk) with features like snapshots, thin provisioning, and backing files.

PARAMETERS

-hda FILE

Primary hard disk.
-m SIZE
Memory in MB.
-cdrom FILE
CD-ROM image.
-enable-kvm
KVM acceleration.
-boot ORDER
Boot order.
-smp CPUS
CPU count.

INSTALL

sudo dnf install qemu
copy
sudo zypper install qemu
copy
brew install qemu
copy
nix profile install nixpkgs#qemu
copy

CAVEATS

Performance varies by mode. KVM for best performance.

HISTORY

QEMU was created by Fabrice Bellard for processor emulation.

SEE ALSO

qemu-img(1), kvm(1), virsh(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid