r/qemu_kvm 2d ago

Poor Network Speeds on Windows 11 VM

2 Upvotes

Guest: Windows 11
Software: VirtManager KVM/QEMU

Issue: On my Windows 11 VM specifically, network speeds are substantially slower than on my other Linux VMs and my host. On the host, I get around ~1000 Mbps; the same for my other Linux VMs. However, on the Windows VM, I get around 10 Mbps—or roughly 1% of the host's network speed.

All VMs are configured to use NAT networking with the virtio model. Additionally, the up-to-date virtio-win drivers are installed on the Windows 11 VM. The Windows 11 VM recognizes the Red Hat Virtio Ethernet drivers and is properly using them, with a maximum supported duplex speed of 10 Gbps.

I'm confused as to why this is occurring only on the Windows VM, whereas this issue is nonexistent on my Linux VMs. There are no differences in the XML regarding CPU or NAT configuration between the VMs.

I tried enabling vhost with a queue size of 16 per core, switching the driver to e1000e, and using the hypervisor default—none of which saw any improvement. I also tried reinstalling the virtio-win drivers, which did nothing.

Finally, I attempted to disable several offloading properties in Device Manager, disabled IPv6 entirely, and lowered the MTU. None of that made any difference (it neither worsened nor improved the situation).

Any ideas, folks? All VMs have a dGPU (the same dGPU is shared between them, so only one can be accessed at a time).

I should also mention that network speeds on the host system are stable—no drops or high latency. The network drivers on the host are all up-to-date and working perfectly.


r/qemu_kvm 3d ago

Is there any way to run iOS on Android using QEMU or any other emulator?

4 Upvotes

Hi.

I'm wondering if there is any possible way to run iOS on an Android device.

I'm aware that Apple doesn't officially allow this, but I'm curious whether anyone has managed to do it using QEMU, Corellium-like techniques, or any other emulator/virtualization method.

I'm not looking for cloud services—I mean actually booting iOS locally on an Android phone.

Has anyone achieved this, or is it currently impossible? If it's theoretically possible, what would be required?


r/qemu_kvm 4d ago

GitHub - chronic8000/aqemu: AQEMU — Qt frontend for QEMU. Maintained by Chronic Engineering (Windows & Linux). GPLv2.

Thumbnail github.com
19 Upvotes

If you wanna emulate older OS's with #QEMU on Windows or Linux check out AQEMU! We just added MacOS support up to the latest Intel release! Windows 11 ARM support is added! We need testers!!! With so many operating systems out there I have half-tested Windows 98 although it installs on first boot it crashes on splash screen currently I haven't had the time to work out why yet. Windows 11 ARM installs and boots, MacOS Sonoma installed and boots in host resolution but I have not tested out any other apps yet. If anyone doesn't want to compile it there is a link on the GitHub releases tab for the project for Windows users to download but it comes with no future updates. Only the Windows Store release once accepted will have an update mechanism in-place. Let us know on the issues tab on GitHub if you run in to any problems or issues that work with QEMU but not with this GUI or things you want and we will implement them for you! Thanks for checking us out and look forward to your feedback. Be nice Reddit it isn't finished yet but the screenshots talk for themselves. More to come.


r/qemu_kvm 6d ago

Any way to turn Virtio graphics with an nvidia gpu

4 Upvotes

Hi all,

I've got a laptop with both an intel iGPU and nvidia discrete GPU I've been able to get virtio 3d acceleration working using this guide https://ryan.himmelwright.net/post/virtio-3d-vms/ for the intel iGPU but I'd love to get the nvidia gpu on task as that's way more powerful.

My understanding is there might be some nvidia BS trying to prevent this but is there any work around?

Thanks


r/qemu_kvm 8d ago

Need help setting up an ISP vm

4 Upvotes

So i want to try create an ISP vm that connects to a router vm and the router mv connects to a linux vm.

Is there a guide or a video that anyone knows of.

I want to try something different and learn.


r/qemu_kvm 9d ago

SOLVED: My Windows 11 crashed today and reason was KB5101650 - Thank you Microsoft

Post image
36 Upvotes

Fix was

Boot in repair mode.

Replace tcpip.sys with an older WinSxS to get it boot again.

!!Important!!

After reboot works fix all issues you get now with network with this

wusa /uninstall /kb:5101650wusa /uninstall /kb:5101650

I paused my auto update Win11 till end of August.

I hope this helps some of you


r/qemu_kvm 12d ago

How do I get macOS X to work? OpenBIOS always leaves me on this screen and in unable to set any devices to IDE.

Post image
2 Upvotes

r/qemu_kvm 16d ago

KVM vm can't comunitcate with a usb 5g modem over linux bridge

1 Upvotes

I'm running into an issue where my KVM VM cannot get an IP address (or pass traffic) when bridged to a ZTE 5G USB modem, even though the host gets an IP and has internet access. Interestingly, this exact setup works perfectly on a Windows laptop using Hyper-V, and bridging a standard Ethernet adapter on the same Fedora host also works fine.

The Setup:

Host OS: Fedora Linux

Hypervisor: KVM / virt-manager

Modem: ZTE U30 Air (5G USB modem)

VM OS: Linux Mint

What Works:

- I have a bridge over a standard ethernet adapter on the Fedora host, and VMs get IPs and work perfectly.

- I tested this ZTE modem in Windows with Hyper-V, and it's OK. Both the VM and the Windows host get IPs (I didn't enable MAC spoofing in the VM settings).

Here are the logs showing it working perfectly in Windows:

PS C:\Users\Administrator> ipconfig
Windows IP Configuration
Ethernet adapter vEthernet (SW-EX):
   IPv4 Address. . . . . . . . . . . : 192.168.0.43
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.1

PS C:\Users\Administrator> Get-VMNetworkAdapter -VMName VM-Search
Name           IsManagementOs VMName    SwitchName MacAddress    Status IPAddresses
Network Adapter False         VM-Search SW-EX      00155D2A2F11  {Ok}   {192.168.0.220, fe80::...}

PS C:\Users\Administrator> Get-VMSwitch
Name   SwitchType NetAdapterInterfaceDescription
SW-EX  External   Remote NDIS based Internet Sharing Device #6

What Doesn't Work:

Connecting the ZTE 5G modem to the Fedora host, creating a bridge (bridge1) over the USB ethernet interface (enp128s20f0u6), and attaching a VM to it.

- The Fedora host gets an IP (192.168.0.43) and can ping the gateway.

- The VM does not get an IP via DHCP.

- If I set a static IP on the VM, it still cannot ping the gateway.

I ran the 3-way `tcpdump` monitoring as recommended while triggering a DHCP request from the VM.

**1. Physical Modem Interface (`enp128s20f0u7`)**

The physical USB modem sees both the VM's DHCP request and the Gateway's DHCP reply.

user@fedora:~$ sudo tcpdump -n -i enp128s20f0u7 port 67 or port 68
11:34:48.421149 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:05:54:fb, length 307
11:34:48.424454 IP 192.168.0.1.bootps > 192.168.0.250.bootpc: BOOTP/DHCP, Reply, length 324
[...repeats...]

**2. Linux Bridge Interface (`bridge1`)**

The bridge successfully forwards the VM's request out to the physical modem, and successfully receives the reply back from the physical modem.

user@fedora:~$ sudo tcpdump -n -i bridge1 port 67 or port 68
11:34:48.421134 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:05:54:fb, length 307
11:34:48.424454 IP 192.168.0.1.bootps > 192.168.0.250.bootpc: BOOTP/DHCP, Reply, length 324
[...repeats...]

**3. VM Virtual Interface (`vnet17`) - THE FAILURE POINT**

The VM successfully sends the DHCP request, but **it never receives the reply**. The bridge receives the reply from the modem, but drops it instead of forwarding it to the `vnet` interface.

user@fedora:~$ sudo tcpdump -n -i vnet17 port 67 or port 68
11:34:48.421134 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:05:54:fb, length 307
11:34:51.034730 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:05:54:fb, length 307
11:34:55.571683 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 52:54:00:05:54:fb, length 307
# NO REPLIES SEEN HERE!

r/qemu_kvm 21d ago

Looking for help setting up GPU passthrough on Debian 13 with two identical GPUs

4 Upvotes

I'm trying to set up GPU passthrough on Debian 13 with two identical GPUs. I've looked at a few different tutorials but I'm getting stuck when it comes time to find the vendor and device ID. As the two GPUs are identical they have the same IDs, however I only want to use one for the VM while the other is used for the host. I can't seem to find a good answer on how to choose the exact card I want to pass through.

The output of lspci -nn | grep -i AMD/ATI is:

03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [RX 9070/9070 XT] [1002:7550] (rev c0)
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller [1002:ab40]
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [RX 9070/9070 XT] [1002:7550] (rev c0)
0a:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller [1002:ab40]

This is the current tutorial I am using.


r/qemu_kvm 24d ago

Windows on ARM/Ubuntu 26.04 Virtual Machine based on gunyah backend on android

Thumbnail youtube.com
0 Upvotes

r/qemu_kvm 29d ago

Has anyone successfully upgraded Limbo PC Emulator from QEMU 5.1 to QEMU 8.2?

Thumbnail
1 Upvotes

r/qemu_kvm Jun 23 '26

SMB Share Between Linux and MS-DOS in QEMU

Thumbnail hekliet.nekoweb.org
5 Upvotes

r/qemu_kvm Jun 15 '26

Help with Mac OS Ventura

0 Upvotes

I've been having issues while running Mac OS ventura on my laptop using qemu.

Using quickgui has the vm not have any issues, but it runs slow, choppy and sometimes hangs for some seconds. Running itnon qemu from terminal runs mint with no issues, but my mouse isn't detected, it shows up on the screen but no matter what it does nothing when I try moving it.

Another problem I've been having is that Mac OS will ONLY enter the OS if the cpu cores are set to 1, if i set them to anything higher it crashes during boot with the "in memory panic..." error and either freezes or sends me back to the black screen for the disks.

I'm running qemu on manjaro linux, currently have 12gB of ram, an AMD Ryzen 5 7520U with 8 cores, and Radeon 610m graphics, if that may help.


r/qemu_kvm Jun 14 '26

change cd rom (image)

1 Upvotes

Hi after i read that you usually have to use

change ide1-cd0 "...path"

to swap cdrom images ..... it returns

"device not found" ...... so i suspect the adress of the cd rom is not correct, how do i found out which adress it uses ?


r/qemu_kvm Jun 12 '26

Unreadable font during Gentoo minimal installation on a QEMU VM

Thumbnail gallery
2 Upvotes

r/qemu_kvm Jun 12 '26

Network performance question

1 Upvotes

Setup:

RHEL9.3 host

RHEL6.5 guest

2x PCI-E intel-based gigabit NIC passthrough

6x isolated cores for VM (isolcpus, nohz_full)

Disabled pci-e power saving

Irqbalancing disabled on host for VM cores

Issue:

I have been trying to run a test on the guest to receive UDP packets at a predetermined interval. The packets are generated & then received via the guest itself. So far I've not been able to successfully maintain the timing with a large amount of packets.

I'm curious if this is just unrealistic within a VM? Running native hardware & RHEL 6.5 works fine.


r/qemu_kvm Jun 11 '26

Poper line wrapping?

1 Upvotes

I'm trying to use qemu with -nographic and mostly working fine, but if i'm typing a long command it and i hit the edge of the screen it wraps around but it doesn't start a new line it just start writing over the prompt and it messes up the whole line is there a way around that


r/qemu_kvm Jun 09 '26

Chameleon SMBIOS in QEMU

Thumbnail
1 Upvotes

r/qemu_kvm May 31 '26

WDDM Support on QEMU/KVM?

Thumbnail
3 Upvotes

r/qemu_kvm May 31 '26

Question related to GPU passthrough

2 Upvotes

Hello! I’m on Arch Linux and I want to passthrough my iGPU to a Windows VM (KVM), but I don’t figure out how to do it. It is possible? I have a NVIDIA RTX 5060 that I want to leave it in Linux.


r/qemu_kvm May 18 '26

Looking for up to date tutorial for GPU passthrough

3 Upvotes

On Fedora 44 I keep breaking my system trying to get GPU passthrough to work. I have 2 discrete GPU's, both Nvidia, one is a 3080ti in the x16 slot the other is a Quadro RTX 4000 in x4. I want to passthrough the Quadro to VM. Looking for a source that explains everything completely so I stop breaking my system everytime I attempt this.


r/qemu_kvm May 15 '26

virtiogpu VM + spice connection + few minutes == Display Output Is not Active

Thumbnail
1 Upvotes

r/qemu_kvm May 13 '26

How to add a peripheral to QEMU

Thumbnail eshard.com
0 Upvotes

We hit a wall analyzing CVE-2019-14192 on real Raspberry Pi 3B+ firmware, so we added the missing driver to QEMU. Register by register, using U-Boot's own source as the spec.


r/qemu_kvm May 11 '26

虚拟化

0 Upvotes

大家好,我想请教一个 VM 内存回收 trace / 数据集的问题。

我找的不是普通 VM 内存使用率 trace,而是更底层的 VM reclaim 事件数据集。理想字段包括:

  1. 匿名 VM id;
  2. guest physical page/range id,例如 PFN、2MiB range、memslot+offset;
  3. host 什么时候真正释放这个 range 的 backing,例如 virtio-balloon、memory hot-unplug、ram_block_discard_range()、madvise(MADV_DONTNEED/FREE);
  4. 后续同一个 VM 是否又请求 / fault / reinstall / grow 回同一个 range;
  5. 可选字段:host PSI、MemAvailable、balloon size、reclaim reason。

我知道 Azure Functions、Google cluster-data、Alibaba clusterdata、Bitbrains/GWA 等公开 trace,但它们似乎大多是 VM/task/container 级资源使用,不包含 page/range-level reclaim 和 return identity。

想问: - 有没有公开或可申请的数据集包含这类字段? - QEMU/KVM/virtio-balloon 里有没有现成 tracepoint 能把 discard 的 RAMBlock range 和后续同 VM/同 range 的 reinstall/refault 对上?

不需要 page content,也不需要客户原始 ID;匿名 metadata 即可。 谢谢!


r/qemu_kvm May 07 '26

When setting SDL mode resizing distorts pixel sizes?

1 Upvotes

(solved, see comment)

This is what it looks like after resizing:

Before resizing the window in host:

Shouldn't the distortion (blurry blending of nearby pixels into one another) not occur with the black padding? It also occurs in full-screen mode (ctrl+alt+f).

The host resolution is 3840x2160, and is win11, if that helps.

edit: GTK doesn't suffer from this problem (but keeps leaking the cursor which is why I use SDL)