Questions tagged [qemu]

QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.

Filter by
Sorted by
Tagged with
1 vote
1 answer
25 views

How to mount a Mac host folder on a QEMU guest Linux?

I recompiled the Debian kernel enabling the required options in QEMU/9psetup installed QEMU (8.2.1) with Homebrew and started it as follows: /usr/local/bin/qemu-system-x86_64 \ -M accel=hvf \ -...
Lucas Martins Soares's user avatar
0 votes
0 answers
12 views

Get Gnome Boxes to recognize guest created in Virt-manager

I have a Windows 10 guest that I created in Virt-manager, it has a qcow2 virtual disk that is stored in a non-default location. It is actually on a different partition altogether. How can I get Gnome ...
shmu's user avatar
  • 216
0 votes
0 answers
75 views

QEMU 5.2 on Windows host: error “Property 'pc-q35-5.2-machine.i8042' not found”

I have a QEMU VM that I need to run on different host machines. I runs fine on a macOS host with hardware acceleration (-accel hvf). While Hyper-V runs fine on my Windows 11 host (e.g., I can setup ...
mabam's user avatar
  • 1
0 votes
0 answers
20 views

How to restrict user to only certain domains with qemu:///session libvirt wtihout polkit?

How can I restrict users to starting user mode vms to specific domains? I don't want to use polkit for this, but I'm not sure it can even be used for delegating access to users running executables ...
ift-436t's user avatar
0 votes
0 answers
36 views

How to run remote seamless apps on MacOS using remote VM running on W11 Pro x64 - can this be done using VirtualBox/QEMU using local network RDP?

I'm currently using Parallels to access remote apps on a MacBook Air M2 and want to shift into running VMs on a Windows 11 Pro machine that pack a lot more punch. Can anyone recommend the best ...
riyalsbebop's user avatar
0 votes
1 answer
48 views

How to move free space from end of vm disk to resize(grow) primary partition on qemu hypervisor?

I was able to add space to my vm, but am at a loss for how to shuffle it from the end of the disk to resize the primary partition. Appreciate your input if you are knowledgeable about how to do this.....
Mark's user avatar
  • 1
0 votes
0 answers
341 views

Share directory from Mac with qemu / UTM virtual machine

I'm looking for end-to-end instructions how to share a Mac directory with a virtual machine that's being run with qemu or UTM. I cannot find a p9 filesystem implementation on the Mac side, so that ...
Johannes Ernst's user avatar
0 votes
0 answers
35 views

Network configuration of a virtual cluster with nested virtualization

I am trying to configure a virtual cluster with VirtualBox instances, which in turn, run another virtual machine (this one created with QEMU). The following figure depicts the current set up where my ...
Bub Espinja's user avatar
0 votes
0 answers
16 views

Qemu - bind guest OS to secondary monitor without GUI on host

I am running arch distro with terminal only (without any GUI). I would like to start Qemu guest machine and bind it to a secondary monitor. Is this doable?
ojek's user avatar
  • 111
0 votes
0 answers
235 views

Prevent mouse from being hidden in Ubuntu when running as KVM/QEMU guest

I am testing software on a VM. The software I am testing controls the mouse, and to test it I require the mouse cursor to always be visible (i.e. when the mouse is not captured by the VM software). I ...
Nick Bolton's user avatar
  • 3,400
0 votes
0 answers
200 views

How do I image the beginning portion of a drive with qemu-img convert? (Similar to using dd count=)

I have 500 GB (~475 GiB) SSD that I want to image with qcow2. I plan on following this example on moving the Windows installation to a Qemu/KVM VM. I shrunk the ~470 GiB bitlocker root partition to ...
Suzana Aod's user avatar
0 votes
0 answers
136 views

Remove device that was added to qemu/kvm without a short id

I have a KVM virtual machine that I would rather not restart. A USB device was added to it using the qemu monitor device_add command without specifying an id. I want to unplug the device so it can be ...
Jules's user avatar
  • 441
0 votes
0 answers
44 views

QEMU Headless display issues after updating collabvm

This is an issue I have been countering after I updated qemu on my server running collabvm and it happens when I change the resolution up and down anyway I have zero idea why it happens. Yes I have ...
Floppa's user avatar
  • 1
1 vote
0 answers
147 views

How can I prevent certain keys (e.g. Super/Win) from being passed through to a qemu guest?

I am running a Windows 10 guest under Linux using qemu / virt-manager. All of my WM shortcuts in X use the super (windows) key. I don't really need that key for anything inside the Windows VM. Is ...
mark03's user avatar
  • 11
-1 votes
1 answer
53 views

Use QEMU user emulation to run SPEC2017

I am trying to run SPEC2017 program using QEMU user emulation. Running integer speed cases works fine. However, some float speed cases can't run successfully. It looks like the default memory size is ...
Jiahe Xiao's user avatar
0 votes
0 answers
147 views

installing bookworm (debian 120 using qemu on windows

Windows 11 Latest QEMU Debian 12.4.0 netinstall Installed QEMU as shown on various YouTube videos. Created my image file with qemu-img.exe as follows; qemu-img create -f qcow2 debian.img 128G ...
B Medley's user avatar
0 votes
0 answers
33 views

VirtManager, guest pause/save->resume, cannot RDP into guest

If relevant, the guest is using "Macvtap device" as the "Network source". It seems that if I apply "pause" or "save" on the Windows guest, and then resume it, I ...
Damn Vegetables's user avatar
1 vote
1 answer
96 views

Simulating Samsung Note 10 OS on Linux?

I am looking for a way to not have bioluminescent applications from my bank and the government on my private phone, but they are still required nowadays for anything from shopping to travel to ...
Rafael Kukawski's user avatar
1 vote
0 answers
91 views

KVM/QEMU Virtualizing Existing Linux From Another Partition

I have two arch installations: one is on /dev/nvme0n1p2 (this holds both the root and home directories) with its EFI on /dev/nvme0n1p1 (different partition on same physical disk). Another arch ...
Loma Harshana's user avatar
0 votes
0 answers
651 views

QEMU on Windows Host - Passthrough USB Device

I'm new about QEMU, I normally use VirtualBox but I need a no Admin system. I have Windows 11 Pro with QEMU and I virtualize a Windows 10. Now I want to connect a USB device (USB3 - pendrive) to have ...
user3514930's user avatar
0 votes
1 answer
147 views

I am trying to emulate a board which has a OLED display, but can't see anything. Why?

I can't see anything in the OLED display (ssd0303). I am just using this demo: https://www.freertos.org/portlm3s811keil.html As you can see it says that: The print task is the only task permitted to ...
Allexj's user avatar
  • 244
0 votes
1 answer
330 views

Nested QEMU-KVM hanging with `watchdog: BUG: soft lockup - CPU#3 stuck for 134s!` kernel messages

I have an issue with QEMU-KVM on Ubuntu Server 22.04 running another QEMU-KVM virtual machine. First VM is launched via libvirt-based Virtual Machine Manager in privileged mode via following command ...
krautcat's user avatar
0 votes
0 answers
95 views

Windows 11, running in qemu (ubuntu host) can't see Windows domain controller on VPN (openfortivpn)

Details: Windows 11 Pro (guest) Ubuntu 22.04 (host) qemu 6.2 (as provided by Ubuntu repos) openfortivpn 1.17.1 I'm WFH, primarily in Linux, and when I need work resources I start openfortivpn to ...
zarprime's user avatar
0 votes
0 answers
28 views

same ip range and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager.Doesn't work with the gui or editing the xml of the new virtual network . Is the best way to ...
ISG's user avatar
  • 1
1 vote
2 answers
737 views

Can I restrict the amount of CPUs that QEMU can use? Is there a command line option that can be set?

I'm using a Debian (CutefishOS) PC currently, and I have one question. How do I restrict the amount of CPUs that QEMU can use with a command line parameter? My PC has 12 cores under Debian (actually 6 ...
SCG02's user avatar
  • 25
1 vote
1 answer
346 views

QEMU VM guest with no network in bridge mode on Arch Linux

I try to create a network bridge mode with my QEMU VM guest in Arch Linux using systemd-networkd. First, I create bridge mode in Arch Linux: # nano /etc/systemd/network/br0.netdev [NetDev] Name=br0 ...
membrillo's user avatar
1 vote
2 answers
854 views

QEMU Nested virtual machines

I am trying to build a test environment using qemu and virt-manager on Debian 12, to host a Windows 11 guest running WSL2. I have managed to install Windows 11 (using swtpm and ovmf to meet the ...
Mike T.'s user avatar
  • 121
0 votes
0 answers
191 views

Problems with booting Ubuntu live CD in serial console in QEMU

I'm trying to boot up a Ubuntu live CD as a virtual machine, using qemu. The host system is also Ubuntu (Jammy). The system boots up OK in graphical mode, but (for reasons) I want to boot it in ...
ghik's user avatar
  • 131
0 votes
2 answers
221 views

Shutdown VM when graphical console is closed

I have a Debian 12 VM with QEMU/KVM as hypervisor and Virt-Manager as a frontend and SPICE for graphical output. The purpose of this VM is to be used interactively and so I'd like not to leave it ...
cidra's user avatar
  • 65
0 votes
1 answer
1k views

How to run a Mac OS VM on an Intel Mac?

I'm a developer and some of my users experience issues on older Mac OS versions. I would like to test my app on an older version of Mac OS using my Intel Mac. I think the only solution is using a ...
Fractale's user avatar
  • 647
1 vote
0 answers
153 views

AMD GPU pass-through doesn't work on Windows 7 (even though NVIDIA works)

I have a multi-gpu VM setup (Nvidia GTX 970 and AMD RX 6600) with Windows 7, Windows 10, macOS virtual machines. I pass GPU directly to a guest operating system (isolate from host-os and pass them ...
user3027198's user avatar
0 votes
0 answers
65 views

QEMU not flushing drive changes to host filesystem

I am running a simple efi shell within QEMU and I wish for the files to persist between QEMU launches, namely NvVars. I am trying to understand why changes are only flushed after I create several ...
CrossedCarpet's user avatar
0 votes
1 answer
334 views

connecting Ubuntu host and Windows 7 guest with samba

I have a Windows 7 guest OS on a Ubuntu 22.04 host and I'm trying to set up a Samba connection to transfer files between them. This is how I understand it should work: On the Ubuntu host: 1: install ...
alle_meije's user avatar
0 votes
2 answers
362 views

Unable to play most games on Android QEMU VM on Linux Mint

So I wanted to set up an android emulator to play Arknights on a Linux Mint desktop machine. I have libvirtd and I use virt-manager to handle my VMs. I set up both a Android-x86 9 and Android-x86 8.1 ...
guninvalid's user avatar
0 votes
1 answer
176 views

Route traffic to IP/subnet over specific interface

I have a setup with a server, which is hosting VMs and a samba share. One of those VMs is a Windows VM. This VM has two network interfaces: Interface A (10.216.x.x): Connected to a network bridge ...
notepass's user avatar
0 votes
1 answer
470 views

How to transfer files from QEMU FreeDOS C: drive to host?

I have a Linux Debian system. I have QEMU running FreeDOS and everything works perfectly. There is now a need to transfer data from the QEMU FreeDOS C drive to the host. How can I accomplish this, ...
Aruna Hewapathirane's user avatar
0 votes
1 answer
2k views

How to Reach QEMU VM's with IP Address (Optionally Static)?

Situation I have two QEMU KVMs (named master and worker, respectively) running on my laptop. The VMs use the headless server edition of Ubuntu 22.04, and the laptop is running Mint. Goal I want three ...
Della's user avatar
  • 101
0 votes
0 answers
175 views

How to pass command key usage to QEMU Guest? (As in using Command-Q corresponds to the guest seeing Meta-Q, not quitting QEMU.)

I'm trying to use a Linux VM on MacOS with QEMU but I'm having a problem: I need to change the config to set up hyprland all the way but hyprland looks for shortcuts involving the super (meta/command/...
JustAnotherCodemonkey's user avatar
3 votes
1 answer
728 views

How to convert a .vhd, .vdi or .vmdk that has snapshots to .qcow2 and vice-versa without losing any snapshots?

I'll often have to switch OSes and hypervisors back and forth soon. The main use case will mostly be converting from Windows to Linux and from VirtualBox (.vdi), VMWare Workstation (.vmdk) and Hyper-V ...
X.LINK's user avatar
  • 2,370
0 votes
1 answer
206 views

Can you have multiple connected isolated networks in qemu?

I wanted to emulate a cybersecurity attack using multiple different VMs on qemu and usually they have IP Addresses that can be very different (for example, usually the attack machine is 192.168.0.x ...
Hylia's user avatar
  • 1
0 votes
0 answers
156 views

ovh vps windows install without vkm

I have a problem after installing windows server 2022 using qemu, everything works until I restart the server to normal mode. Windows loads but it always gets an error at some point when loading ...
Flak's user avatar
  • 1
0 votes
1 answer
413 views

How to access an isolated Network from a NAT network in QEMU

I have a couple of VMs running on QEMU, some need to access the internet while others should be isolated. I already have two virtual networks, one of type NAT and the other is isolated. I want to ...
td211's user avatar
  • 101
0 votes
0 answers
434 views

Run QEMU in virtualized UBUNTU via VMWARE

I am using Windows host and I would like to run a Vmware workstation ubuntu client. In that client, I would like to run QEMU. The problem I am facing is I cannot turn on the virtual machine with ...
Łukasz Przeniosło's user avatar
0 votes
1 answer
1k views

QEMU: how to share guest VPN connection with host

I have a QEMU VM with Windows 10 from which I can connect to a VPN. I would like to connect also the guest system (GNU/Linux) to the VPN, but unfortunately the VPN works only on Windows. I use virt-...
DPD-'s user avatar
  • 101
2 votes
0 answers
3k views

How do I get a multi-display virgl 3D accelerated QEMU VM on a NVIDIA card in virt-manager?

I've managed to get virgl 3D acceleration running in QEMU/KVM, and now I want to see if I can get it running with multiple displays. However when I add more heads to the Video Device Display 1 is ...
ninjachicken1's user avatar
0 votes
0 answers
828 views

How can I specify the window size/display resolution in Qemu when emulating ARM64?

I'm trying to (system) emulate ARM64 using Qemu. My command looks like this: qemu-system-aarch64 \ -M raspi4b2g \ -drive file=bin/sd.bin,format=raw,if=sd \ -kernel bin/kernel8.img I'm ...
Jack M's user avatar
  • 318
0 votes
0 answers
295 views

Is there a serial BIOS in QEMU/KVM?

I'm trying to bisect a kernel issue which causes a VM not to boot. To do that, it would be nice to get serial console output from BIOS via virsh VM console. (For example, GRUB can use UART0, but ...
KJ7LNW's user avatar
  • 383
0 votes
1 answer
894 views

QEMU: passing usb devices running fullspeed to vm with ehci usb controller running lowspeed

I have Windows XP VM with GPU passthrough and would like also to pass usb keyboard and mouse to it. I am doing the usb passthrough with: -device usb-host,vendorid=0x1e7d,productid=0xafca \ -device usb-...
ArrayON_56's user avatar
1 vote
0 answers
165 views

Unable to split USB devices to Different USB Busses. Is this a hardware issue or Linux issue

I have i9-13900k CPU running on Asus Z790 MB. When using lsusb. I found out that every USB device is assigned to BUS 1. It does not matter which USB port I use on the computer. I would like to Split ...
user63726's user avatar
  • 131
0 votes
0 answers
39 views

undefined symbol : qemu_plugin_get_thread_id()

I have added a new function in api.c file (qemu/plugins/api.c) : int qemu_plugin_get_qemu_tid(void) I made changes in qemu/plugins/qemu-plugins.symbols and qemu/include/qemu/qemu-plugin.h as well I ...
Kirti's user avatar
  • 1

1
2 3 4 5
12