qemu VS QEMU

Compare qemu vs QEMU and see what are their differences.

QEMU

Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. (by qemu)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
qemu QEMU
37 190
- 9,313
- 1.7%
- 10.0
- 5 days ago
C
- GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

qemu

Posts with mentions or reviews of qemu. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-29.
  • QEMU AioContext removal and how it was done
    1 project | news.ycombinator.com | 3 Jan 2024
    https://gitlab.com/qemu-project/qemu/-/blob/master/hw/scsi/s...

    QEMU's IOThreads allow the user to configure the threads and get something similar to thread per core architecture. But if 1 thread becomes a bottleneck, then some form of thread synchronization is needed again even with thread per core architecture. Some problems can be parallelized and they work well with thread per core.

  • Why are Apple Silicon VMs so different?
    7 projects | news.ycombinator.com | 29 Dec 2023
    Add `ENV ERL_FLAGS="+JPperf true"` to your Dockerfile and it will build just fine cross platform. The flag just changes some things during build time and won’t affect runtime performance.

    [1] https://gitlab.com/qemu-project/qemu/-/issues/1034

  • RISC-V Vector benchmark results
    4 projects | news.ycombinator.com | 11 Nov 2023
    > I don't know how rdcycle works on qemu.

    That's a good question! I had to look it up myself ...

    Obviously qemu TCG isn't a cycle-accurate emulation. Using RDCYCLE / reading the corresponding CSR eventually calls https://gitlab.com/qemu-project/qemu/-/blob/69680740eafa1838... which calls cpu_get_host_ticks is basically an arch-independent wrapper around RDTSC.

    So it just measures the time taken to run using RDTSC. Which I guess is what you would want (maybe?). It would measure the time taken to emulate the vector instruction in host instructions.

    > This benchmark is more meant for developers to figure out how to vectorize algorithms effectively, as in which instructions to choose.

    Absolutely, I'm not saying the qemu results would say anything very deep, but they're kind of interesting from the point of view of either optimizing qemu or if you have to use qemu because the hardware you want isn't available / isn't cheap enough.

  • The IMPOSSIBLE RISCV HACK: Vector Extension 0.7.1-draft w/ current Linux kernel! – René Rebe
    5 projects | /r/RISCV | 25 Jun 2023
    I see the commits that started switch support from RVV 071 to 100 start here, https://gitlab.com/qemu-project/qemu/-/commit/9ec6622db30df1c00d863c1ffc33341f9e0a534d
  • I booted Linux 292,612 times
    3 projects | news.ycombinator.com | 14 Jun 2023
    >> https://gitlab.com/qemu-project/qemu/-/issues/1696 ]

    > Can I please just get the detail in mail instead of having to go look at random websites?

    Maybe it's me but if I did boot boot linux 292.612 times to find a bug, you might as well click a link to a repository of a major open source project on a major git hosting service.

    Is it really that weird to ask people online to check a website? Maybe I don't know the etiquette of these mail lists so this is a geniune question.

  • Rise: Accelerate the Development of Open Source Software for RISC-V
    5 projects | news.ycombinator.com | 31 May 2023
    Capstone is used[1] by QEMU as disassembly engine in debug logs and in monitor mode debugger, by the way, so it's in the scope of the RISE effort.

    [1] https://gitlab.com/qemu-project/qemu/-/blob/master/disas/cap...

  • Intel Arc 750 Crashes Host + Display Cable Workaround not needed anymore (Windows)
    1 project | /r/VFIO | 20 May 2023
    A user on the qemu bugtracker found a way to get the Intel Arc working across resets without crashing the host: Just don't passthrough the audio device of the GPU and everything works!
  • Qemu 7.2.2: command line syntax in libvirt domain changed
    2 projects | /r/VFIO | 11 May 2023
  • Anyone know if there's a way to disable ReBar on only one GPU?
    1 project | /r/VFIO | 11 May 2023
  • [RFT] Allow QEMU to expose static REBAR capability
    2 projects | /r/VFIO | 24 Apr 2023
    [1]https://gitlab.com/qemu-project/qemu/-/commit/3412d8ec9810b819f8b79e8e0c6b87217c876e32 [2]https://gitlab.com/alex.williamson/qemu/-/commit/9a6d1822a2bd55f5dee1aec1b6529ae57949d5ba.patch

QEMU

Posts with mentions or reviews of QEMU. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-03.
  • QEMU Version 9.0.0 Released
    1 project | news.ycombinator.com | 24 Apr 2024
    My most-wanted QEMU feature: https://github.com/qemu/qemu/commit/a2260983c6553

    Using `gic-version=3` on macOS you can now use more than 8 cores on ARM chips.

  • Autoconf makes me think we stopped evolving too soon
    8 projects | news.ycombinator.com | 3 Apr 2024
    A better solution is just to write a plain ass shell script that tests if various C snippets compile.

    https://github.com/oilshell/oil/blob/master/configure

    https://github.com/oilshell/oil/blob/master/build/detect-pwe...

    Not an unholy mix of m4, shell, and C, all in the same file.

    ---

    These are the same style as a the configure scripts that Fabrice Bellard wrote for tcc and QEMU.

    They are plain ass shell scripts, because he actually understands the code he writes.

    https://github.com/qemu/qemu/blob/master/configure

    https://github.com/TinyCC/tinycc/blob/mob/configure

    OCaml’s configure script is also “normal”.

    You don’t have to copy and paste thousands of lines of GNU stuff that you don’t understand.

    (copy of lobste.rs comment)

  • WASM Instructions
    13 projects | news.ycombinator.com | 18 Feb 2024
    Related:

    A fast Pascal (Delphi) WebAssembly interpreter:

    https://github.com/marat1961/wasm

    WASM-4:

    https://github.com/aduros/wasm4

    Curated list of awesome things regarding WebAssembly (wasm) ecosystem:

    https://github.com/mbasso/awesome-wasm

    Also, it would be nice if there was a WASM (soft) CPU for QEMU, which (if it existed!) would go here:

    https://github.com/qemu/qemu/tree/master/target

  • Revng translates (i386, x86-64, MIPS, ARM, AArch64, s390x) binaries to LLVM IR
    7 projects | news.ycombinator.com | 12 Jan 2024
    > architectural registers are always updated

    In tiny code, the guest registers (global TCG variables) are stored in the host's registers until you either call an helper which can access the CPU state or you return (`git grep la_global_sync`). This is the reason why QEMU is not so terribly slow.

    But after a check, this also happens when you access the guest memory address space! https://github.com/qemu/qemu/blob/master/include/tcg/tcg-opc... (TCG_OPF_SIDE_EFFECTS is what matters)

    But still, in the end, it's the same problem. What QEMU does, can be done in LLVM too. You could probably be more efficient in LLVM by using the exception handling mechanism (invoke and friends) to only serialize back to memory when there's an actual exception, at the cost of higher register pressure. More or less what we do here: https://rev.ng/downloads/bar-2019-paper.pdf

  • State of x86-64 emulation of non-MacOS binaries
    1 project | /r/MacOS | 7 Dec 2023
    Um, in case you don't know, UTM (based on QEMU) is out for quite a while.
  • Multipass: Ubuntu Virtual Machines Made Easy
    3 projects | dev.to | 15 Nov 2023
    Some of these tools include Oracle VM VirtualBox (that I've used since before the acquisition of Sun Microsystems by Oracle), VMWare Workstation Player, and QEMU, but last year, I found out about Multipass.
  • Libsodium: A modern, portable, easy to use crypto library
    9 projects | news.ycombinator.com | 14 Sep 2023
    For C/C++ projects that use meson as the build system, there is an excellent way to manage dependencies:

    https://mesonbuild.com/Wrapdb-projects.html

    https://mesonbuild.com/Wrap-dependency-system-manual.html

    meson will download and build the libraries automatically and give you a variable which you pass as a regular dependency into the built target:

    https://github.com/qemu/qemu/tree/005ad32358f12fe9313a4a0191...

    https://github.com/harfbuzz/harfbuzz/tree/main/subprojects

    https://github.com/harfbuzz/harfbuzz/blob/37457412b3212463c5...

    Or, if you're using proper operating systems, they're managed by the usual package manager, just like everything else.

  • Top 6 Virtual Machine Software in 2023
    1 project | dev.to | 10 Aug 2023
    For all the users of the Linux platform, QEMU is the VM that you should go for. This software comes without any price tag and works as an emulator of various machines with utmost ease and completion; the software uses dynamic translations to emulate hardware peripherals and enhances its overall performance. If you are using QEMU as a virtualizer, then it will function exactly like the host system (provided you have the right set of hardware).
  • Show HN: I'm 17 and wrote this guide on how CPUs run programs
    5 projects | news.ycombinator.com | 9 Aug 2023
  • UTM for Developers
    2 projects | dev.to | 17 Jul 2023
    In this tutorial, we set up macOS and Windows virtual machines on UTM, a macOS application that provides a GUI wrapper for QEMU, a powerful open-source emulator and virtualizer. UTM allows you to easily manage and run virtual machines without memorizing complex commands. It also has special handling for macOS, making it simpler to install compared to other virtual machine software.

What are some alternatives?

When comparing qemu and QEMU you can also consider the following projects:

gcc

UTM - Virtual machines for iOS and macOS

riscv-binutils-gdb - RISC-V backports for binutils-gdb. Development is done upstream at the FSF.

TermuxArch - Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/

nbdkit

Unicorn Engine - Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)

safeclib - safec libc extension with all C11 Annex K functions

Vagrant - Vagrant is a tool for building and distributing development environments.

lzbench - lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors

xemu - Original Xbox Emulator for Windows, macOS, and Linux (Active Development)

CLK - A latency-hating emulator of: the Acorn Electron and Archimedes, Amstrad CPC, Apple II/II+/IIe and early Macintosh, Atari 2600 and ST, ColecoVision, Enterprise 64/128, Commodore Vic-20 and Amiga, MSX 1/2, Oric 1/Atmos, early PC compatibles, Sega Master System, Sinclair ZX80/81 and ZX Spectrum.

em-dosbox - An Emscripten port of DOSBox