r/qemu_kvm • • 16h ago

Windows 7 August 2018 on a Pentium 1

Post image
1 Upvotes

r/qemu_kvm • • 17h ago

Windows 10 64-bit without SSE3

Post image
0 Upvotes

r/qemu_kvm • • 1d ago

How can I solve this?

Post image
4 Upvotes

r/qemu_kvm • • 1d ago

I got the original TC Electronic Clarity M firmware running in QEMU on an Apple Silicon Mac

Post image
0 Upvotes

I've been working on a personal reverse-engineering project: getting the original firmware of the TC Electronic Clarity M running inside QEMU on my MacBook Pro M1 Pro.

Not a recreation of its interface, not a software clone. The actual embedded Linux system and the original "tcmeter" application running in an emulated hardware environment.

And after quite a bit of debugging, it's finally working!

The hardware and the challenge

The Clarity M is based on a Freescale i.MX35 SoC, with an ARM1136 CPU, Linux 2.6.31.12-rt21 and an IPUv1 graphics controller driving an 800×480 LCD.

QEMU already had an i.MX31-based KZM machine, which gave me a starting point. However, the i.MX35 is not simply an i.MX31 with a different name. Its memory map, peripherals, interrupts and clock configuration required substantial changes.

I started by extracting the firmware and examining the SD card, kernel, initramfs and application. Then came the first boot attempts.

Linux was running, the application was initializing, but the display was completely black.

Reconstructing the hardware

One of the biggest challenges was getting the original LCD working.

I initially tried reading a fixed framebuffer address, but that wasn't enough. I eventually had to understand how the IPUv1 actually works, decode its CPMEM configuration and reproduce its double-buffering behavior.

The first buffer I was displaying was actually empty. The firmware was drawing into the other one!

I also had to reconstruct significant parts of the i.MX35 hardware model, using the surviving QEMU binary, disassembly, memory maps and register behavior as references.

The work eventually extended beyond graphics: GPIO, the GPT timer, SDMA, ESAI and I2C-based AES receiver emulation all became part of the project.

Making the audio work

The next challenge was getting real audio into the original firmware.

The Clarity M uses an ESAI audio interface fed by SDMA. I implemented a functional DMA model and emulated the AES receiver status so the firmware could recognize a valid input signal.

On macOS, I'm using Loopback to route audio into QEMU.

The current setup captures audio at 44100/48 kHz and feeds it to the firmware. The original application then performs the actual measurements.

I tested it with a known signal: LUFS, true peak and RTA results were consistent with the expected values.

The unexpected part: time itself was broken

Getting the display and audio working wasn't the end of it.

The application would freeze after a while, sometimes after 30 seconds, sometimes after several minutes.

The problem turned out to involve several interacting issues: GPT timer frequency, missed compare interrupts, SDMA channel shutdown and kernel deadlocks.

I ended up inspecting the guest's RAM, reconstructing its kernel symbol table (kallsyms) and examining sleeping kernel stacks to understand what was blocked.

On the macOS side, I also had to deal with App Nap and thread scheduling to keep audio capture stable when the application was running in the background.

Where it stands now

The current version can:

  • Boot the original Clarity M firmware.
  • Display its native 800×480 interface. (add some changes for having a perfect circle for the radar (800X447)).
  • Navigate Radar, RTA and VSCOPE views.
  • Control SW1–SW6 using the Mac keyboard. (1 to 6)
  • Operate the rotary encoder using the arrow keys.
  • Receive and analyze real audio at 41000 and 48 kHz.
  • Run for 15 minutes under RTA load, with no freeze or AES lock loss during the test.

I've also packaged everything into a native macOS application: Clarity M.app.

This started with an SD card image, a Linux kernel and a black QEMU window. It turned into a much deeper dive into ARM emulation, SoC reconstruction, graphics, DMA, audio and real-time scheduling.

Still plenty to improve, but seeing the original Clarity M software running and measuring an actual audio signal on a Mac is incredibly satisfying.

I'd be happy to discuss the QEMU hardware emulation, IPUv1 implementation or the audio pipeline with anyone interested!


r/qemu_kvm • • 3d ago

What is the latest version of QEMU that can run on a Pentium 1 (i586) host?

1 Upvotes

QEMU 0.9.0 is the last version to support Windows 2000 as a host (0.10.0 requires Windows XP or newer) and I actually tested it on a 486 host with Windows XP 64-bit guest and it worked (does not support Vista or higher due to ACPI, regardless of bitness). QEMU build 2019 02 18 works on a Pentium 2 (i686) and has the ability to go to Windows 11 max (meaning that Windows 11 can run on a Pentium 2). I am curious about this question because this means after testing the last compatible version on a Pentium 1 in 86Box, I can conclude the result about the max operating system that can be run on a Pentium 1.


r/qemu_kvm • • 4d ago

Minimum CPU requirements for each version of Windows (the order is Windows 2000, Windows XP-10 (32-bit), Windows XP-11 23H2 (64-bit), Windows 11 24H2). Tested it.

4 Upvotes

All operating systems listed below are 64-bit unless stated otherwise or do not have a 64-bit version.

Windows 2000: 486

Windows XP (32-bit): Pentium 1

Windows Vista (32-bit): Pentium 1

Windows 7 (32-bit): Pentium 1

Windows 7 August 2018 (32-bit): Pentium 3

Windows 8.1 (32-bit): Pentium 3 + NX + SSE2

Windows 10 (32-bit): Core Duo

Windows XP: qemu64

Windows Vista: qemu64

Windows 7: qemu64

Windows 7 August 2018: qemu64

Windows 8.1: Core 2 Duo

Windows 10: Core 2 Duo

Windows 11 until 23H2: Core 2 Duo

Windows 11 from 24H2: First generation Intel Core i-series

Also QEMU can emulate Windows XP 64-bit on a 486 and inside Windows XP 64-bit you can run a more modern version of QEMU that can emulate Windows 11 64-bit so it is theoretically possible to run Windows 11 64-bit on an Intel 80486.


r/qemu_kvm • • 5d ago

QEMU 11.1.3: 29 system targets built, nine guest configurations booted to login

2 Upvotes

I work on VMBook, and we’ve been testing what our QEMU 11.1.3 builds can actually boot. We built all 29 system targets and recorded nine guest configurations reaching a login prompt, covering x86, Arm, RISC-V, POWER, IBM Z, LoongArch, and MIPS.

For each run, we record the guest architecture, machine type, firmware, and observed result. A login prompt is our first milestone. The next checks are whether storage, networking, and shutdown work reliably.

For those testing less common QEMU targets, which guest and machine type would you add next? Is there a small image you use as a reliable smoke test?


r/qemu_kvm • • 7d ago

virt-manager: automatic resolution resizing work only on 4096x2000

Thumbnail gallery
4 Upvotes

Hi everyone,

I'm currently working with virt-manager on Fedora 45 with KDE Plasma, and the guest display settings and automatic resolution resizing to fit the virt-manager window are driving me crazy.

Auto-resizing only works when the guest resolution is set to 4096x2000. As soon as I pick a resolution where I can actually read anything, the window auto-resize stops working (and I end up with black bars on the left and right).

My guests are Debian 13 with KDE Plasma and Fedora 45 with KDE Plasma, using both X11 and Wayland—the exact same issue occurs on all of them. Is there any trick to fix this, other than setting display scaling to 250%?

The VM is set to default settings:

<graphics type="spice" autoport="yes">
  <listen type="address"/>
  <image compression="off"/>
</graphics>

<channel type="spicevmc">
  <target type="virtio" name="com.redhat.spice.0"/>
  <address type="virtio-serial" controller="0" bus="0" port="2"/>
</channel>
<channel type="unix">
  <target type="virtio" name="org.qemu.guest_agent.0"/>
  <address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>

<video>
  <model type="virtio" heads="1" primary="yes" device="virtio-vga"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>

r/qemu_kvm • • 7d ago

I got tired of letting AI coding agents run random commands on my workstation, so I built a self-hosted KVM/libvirt "airlock" they can control over MCP (3 min demo)

0 Upvotes

I love using AI coding agents (Claude Code, Cursor, etc.), but I really hated letting them run npm install, Docker Compose stacks, headless browsers, and random test scripts directly on my daily driver—right next to my SSH keys, browser profiles, and personal files.

Docker/devcontainers helped a bit, but I wanted actual kernel-level isolation and the ability to run full Docker fleets inside a disposable environment that I can snapshot and nuke in seconds—using my own Linux KVM hardware instead of paying for a cloud sandbox.

So I built AirlockVM (MIT licensed, 100% self-hosted).

The 3-minute video above shows the full flow end-to-end: probing a KVM host, provisioning an isolated VM, syncing an app, and hitting it from the host browser.

How it works

You keep editing code in your IDE on your workstation, while zero runtime workloads execute on your host OS:

textWorkstation (IDE, Git, Browser — NO runtime workloads)
        │  rsync / SSH
        ▼
Local or Remote Linux KVM Host (libvirt / QEMU)
        └── Dedicated Guest VM (<project>-vm)
              └── Docker fleets, builds, tests, untrusted code

Why I built it this way (the self-hosted / homelab bits)

  • **Zero-**sudo (rootless) hypervisor support: You don't have to hand your AI agent root on your homelab server. It supports a dedicated least-privilege account (libvirt/kvm groups only), ACL storage pools, and user-level systemd socket proxies (~/.config/systemd/user/).
  • No SaaS, no telemetry: Pure Python 3.11+, KVM/QEMU/libvirt, cloud-init, rsync, and systemd. State is stored locally as plain YAML (vm.yaml) in ~/.airlock/inventory/.
  • Doesn't starve your host: Auto-probes your hypervisor's CPU threads, RAM, and storage, allocates proportional headroom, and picks collision-free static DHCP IPs + MACs on virbr0.
  • Fast cloning & rollbacks: Pre-bakes a golden Ubuntu 24.04 qcow2 base image (and can stream/seed it to other KVM hosts with SHA-256 verification) + external disk snapshots so you can revert a broken guest in seconds.
  • Works with or without AI: Comes with a standalone airlock CLI (probe, deploy, sync, exec, snapshot, diagnose, drift) and an MCP server (28 tools) with a one-command connector for Claude Code, Cursor, VS Code, Windsurf, JetBrains, and Antigravity.

Current limitations (to save you a click)

  • Linux KVM/libvirt only right now (local or remote over SSH). No Proxmox API or macOS native hypervisor backend yet.
  • Still early—would genuinely love feedback, edge-case reports, or roasting of the architecture.

GitHub (MIT): https://github.com/simplybarter/AirlockVM

Happy to answer any questions about the rootless libvirt setup, the socket proxying, or why I went with KVM + cloud-init instead of containers/Incus/Vagrant!


r/qemu_kvm • • 9d ago

Found a way to bypass Auto Keyboard by MurGee anti-vm check on QEMU

2 Upvotes

Change System Manufacturer to "Reddit" and System Model to "Reddit" displayed in Windows msinfo32 using a BIOS ROM editor.


r/qemu_kvm • • 11d ago

Why does emulating Windows 11 on a Pentium 2 using QEMU make me think about the song Waka Waka (This Time for Africa which Africans are like Ryzen 3)

0 Upvotes

r/qemu_kvm • • 12d ago

I emulated a Realtek Smart TV SoC in QEMU and booted full Android TV 9

Thumbnail github.com
7 Upvotes

r/qemu_kvm • • 13d ago

I am trying to run QEMU (last version from 2015) inside QEMU 0.9.0. Is it going to be stuck at this screen forever or will it take a very long time to load.

Post image
11 Upvotes

Tried both 32-bit and 64-bit CPU for 0.9.0. The VM inside QEMU 0.9.0 has Windows XP installed and Windows 8.1 inside that VM. I want to know because if QEMU 2015 can work inside QEMU 0.9.0, that means it is possible to run Windows 11 on a 486 because QEMU 0.9.0 is compatible with 486. All 32-bit unless stated otherwise or does not have 32-bit version.


r/qemu_kvm • • 12d ago

Which analogy is more accurate to QEMU emulating x86 on ARM?

0 Upvotes
  1. Neurotypical being emulated on an Autist: I think this analogy is accurate because the world is designed for neurotypical just like most software is designed for Windows on x86.
  2. Caucasian being emulated on an Asian: I think this analogy is also accurate because Caucasians have more body odor just like x86 generates more heat and requires a big fan and heatsink to cool everything down. Asians are also smarter just like ARM is more powerful per watt. The strong-on-weak emulation makes sense because Asians are biologically "weaker" than Caucasians in height and BMI.

r/qemu_kvm • • 13d ago

Windows 8.1 (32-bit) on a 486 processor.

Post image
4 Upvotes

r/qemu_kvm • • 15d ago

Any 64-bit OS that works on the ISA-only PC? Windows XP 64-bit does not work because it requires I/O APIC

Post image
2 Upvotes

r/qemu_kvm • • 16d ago

Is it possible to change the aspect ratio of my virtual machine?

0 Upvotes

I have a gentoo virtual machine with an aspect ratio of 4:3 which bothers me because my screen has a 16:9 aspect ratio. Does anyone know if i can change it and how?


r/qemu_kvm • • 16d ago

Helppp

1 Upvotes

I tried https://github.com/kholia/osx-kvm, but my mouse cursor became transparent, and the virtual machine's cursor just stays frozen (I’m running High Sierra).


r/qemu_kvm • • 18d ago

Keyboard-driven terminal UI for libvirt/virsh, with vim keys and live graphs

Post image
31 Upvotes

virsh-tui shows every virtual machine on a libvirt connection with live CPU, memory, disk and network graphs, and lets you start, stop, snapshot, reconfigure and create them from the keyboard. Every action is a virsh (or virt-install) command, and virsh-tui shows you that command before and after it runs, so nothing happens behind your back and you can reuse it in a script.

It works with qemu:///system, qemu:///session and remote hosts over qemu+ssh://, with the same permissions virsh has.

https://github.com/SyscallBrain/virsh-tui


r/qemu_kvm • • 17d ago

1.0 Windows Experience Index scores in everything because this is emulation and not virtualisation and is expected

Post image
0 Upvotes

r/qemu_kvm • • 19d ago

qemu virt-manager machines no longer boot with hardware acceleration

3 Upvotes

Running on cachyos/KDE with AMD hardware something changed with an update last week. VM's no longer boot with virtio/opengl acceleration. The UEFI splash screen does not display, just a black screen.

Journalctl shows this:

nov. 14 13:10:13 cachyos-desktop virt-manager[4731]: update scanout failed: failed to create EGL image from DMA-BUF: egl_error=0x3003

If i boot into an week old cachyos snapshot if works.

If i disable hardware acceleration by changing video model to QXL the VM's boot normally.

Any ideas?


r/qemu_kvm • • 20d ago

Emulating a Realtek RTD2841 Smart TV SoC in QEMU: MMIO, GIC-400, and booting a vendor 4.4 kernel

4 Upvotes

I built a custom QEMU system model for the Realtek RTD2841 (RTK284x series) SoC, targeting the TCL RT41 chassis (tv030).

The SoC runs a quad Cortex-A53 in AArch32 mode. The emulator implements the MMIO peripherals needed to boot the stock vendor Linux 4.4 kernel and run userspace binaries:

  • Interrupts: ARM GIC-400 distributor and CPU interfaces (0x18081000 / 0x18082000).
  • Timers: 27 MHz system timer block (TC0) at 0x1801B600, with hardware down-counters mapped to monotonic reads for Linux sched_clock and INTID 34 IRQ delivery.
  • Storage: Synopsys DesignWare SDHCI eMMC controller at 0x18010800, wired to QEMU SD media drives.
  • Networking: RTL8168 gigabit Ethernet controller (0x18016000) with TX/RX DMA descriptor rings connected to a SLIRP backend for outbound DNS and HTTP traffic.
  • Graphics / Shaders: Freestanding EGL 1.4 / GLES 2.0 software driver with an integrated SwiftShader AST compiler frontend (TCompiler) for strict GLSL ES 1.00 validation without host Mali dependencies.

The repo includes a bare-metal diagnostic suite written in pure ARM32 assembly (tests/firmware_test.s, assembled via arm-none-eabi-as) that checks CPU modes, GIC INTID delivery, timer tick rates, eMMC presence, and Ethernet loopback before passing execution to the kernel.

Source, device tree sources, and test harnesses:
https://github.com/rubenthampy890-del/qemu-rtd2841

Feedback on the MMIO models and register maps is welcome.


r/qemu_kvm • • 23d ago

Can I change windows OS password using rescue ?

0 Upvotes

Can I change windows OS password using Linux rescue ? I am getting only option for blank password but I want to change it from rescue only.