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
1k views

Boot physical win10 disk in QEMU

https://www.tenforums.com/virtualization/179771-using-physical-disk-kvm-qemu-windows-vm.html?__cf_chl_tk=z_c4bUjts37uHd66EhURNiy75Wla6ioAk1ettZofip4-1670079604-0-gaNycGzNCH0 this got me the farthest ...
ипос втарой's user avatar
2 votes
0 answers
441 views

KVM/QEMU Extra mouse features

I have Windows 11 VM running on a Debian host. I am using virt-manager to configure and use the VM. Does anyone know how to get the mouse back/forward buttons and horizontal scroll to work when ...
Craig H's user avatar
  • 68
1 vote
1 answer
2k views

Deprecated pc-speaker option in Qemu

I'm trying to invoke Qemu from Linux, using the pc-speaker option, but when I do it, I get the following warning message: '-soundhw pcspk' is deprecated, please set a backend using '-machine pcspk-...
user avatar
1 vote
0 answers
466 views

HDA audio in Qemu for FreeBSD 14

I just installed Qemu in my Linux, and created a virtual machine, and installed FreeBSD 14 on it. I just enabled HDA audio in the Qemu command line (as seen below), but it doesn't work in the virtual ...
user avatar
0 votes
1 answer
678 views

Windows VM works from QEMU CLI but produces BSOD from virt-manager

Overview I have a Windows 7 virtual image that I can successfully spin up using the following qemu command in the terminal: qemu-system-x86_64 -m 4096 -boot d -enable-kvm -smp 2 -net nic -net user -...
jimjamz's user avatar
  • 35
2 votes
1 answer
948 views

Qemu zoom to fit shortcut or cli switch?

I'm using qemu regularly and I find myself in the need to toggle or switch "Zoom to fit" on and off. From the menu bar, under the option "View" we got all kinds of options, like &...
CodeAsm's user avatar
  • 91
1 vote
0 answers
165 views

Visual Studio Installer won't start in qemu Arm64 Windows guest

I've successfully installed an emulated arm64 windows guest and some applications just refuse to start, they spin on one thread and nothing happens. The setup: host is x64 Windows 11 ( 21H2 - 22000....
Ádám Németh's user avatar
1 vote
0 answers
165 views

Qemu-setup not working on linux VM (ESXi hypervisor), potential virtio-issue?

I want to virtualize aarch (armv8) and armhf (armv7) with qemu and use Cortex-A7 as CPU. I'm an IT Engineer having not much experience with qemu, so I started to look for the best approach and after ...
SvenK's user avatar
  • 11
0 votes
1 answer
640 views

Add DXE driver to an OVMF image

This is an attempt to follow the first bullet point in this answer. Goal Create a development environment to test that my DXE drivers are being properly injected into an UEFI firmware image. First ...
DMeneses's user avatar
0 votes
1 answer
1k views

Screen resolution stuck at 640x480 after installing Ubuntu on QEMU

I recently installed Ubuntu 22.04 under QEMU. In the "Try Ubuntu" stage, I was able to open a terminal and get a good screen resolution using xrandr -s 1920 1080. Once Ubuntu is installed ...
Zorgoth's user avatar
  • 151
0 votes
1 answer
2k views

Why does enabling Memory Integrity (HVCI) reduce performance of my Windows 10 QEMU/KVM virtural machine significantly?

I have a Windows 10 guest inside of a QEMU/KVM virtual machine that I use for running Windows-only software. Today, I tried enabling "Memory Integrity" inside of it via the Windows Security ...
Newbyte's user avatar
  • 136
1 vote
2 answers
2k views

Can't boot Ubuntu Server 22.04 LTS ARM 64-bit ISO under QEMU on Windows 11

Issue Summary I'm running Windows 11, and installed QEMU with the Scoop package manager. scoop install qemu After that, I tried launching a QEMU virtual machine, using the ARM 64-bit CPU architecture....
Trevor Sullivan's user avatar
1 vote
0 answers
616 views

How to configure a bridged adapter network using qemu-system-x86_64 in Windows

I want to launch a Centos 7 VM using qemu in Windows 11. I already have a disk image (vmdk) and it works fine if I run it with the following command: qemu-system-x86_64 -m 4096 -smp 2 -drive file=&...
Denis_Soto's user avatar
1 vote
1 answer
298 views

Creating a qcow2 image from *inside* a running VPS?

Ideally, I'd like to create a qcow2 image of a VPS, from inside a running instance of that VPS. I'm not sure if this is possible, but I don't think so. The problem is that my VPS provider will let me ...
QF0's user avatar
  • 125
1 vote
0 answers
219 views

Why can't qemu network through the bridge created by nmcli?

I am trying to create a permanent bridge device via nmcli: $ BRIDGE="virbr0" $ NETWORK_SEGMENT="192.168.122" $ MASK=24 $ nmcli connection add type bridge con-name $BRIDGE ifname $...
aszswaz's user avatar
  • 237
0 votes
0 answers
920 views

Clonezilla clone to qemu/kvm virtual machine

i created a virtual machine on qemu and started it from clonezilla iso. After that i plugged hard drive and installed my prepared os to virtual machine. After restart i am getting: Booting from Hard ...
ssssssss's user avatar
0 votes
1 answer
333 views

qemu-kvm on centos: how to get back vmvga?

I am currently using qemu-kvm (reports version QEMU emulator version 4.2.0 (qemu-kvm-4.2.0-59.module_el8.5.0+1063+c9b9feff.1)) as virtualization engine. My guest is an old SLES instance with 2.4smp ...
Elarion's user avatar
2 votes
0 answers
3k views

Virsh doesn't list virtual machines

On arch, I set up a number of VMs using virt-manager. My user is part of the libvirt group, and I can access virsh, but virsh list without root access doesn't list the VMs I created: $ virsh list --...
Andreas Hartmann's user avatar
6 votes
2 answers
3k views

Android emulator performance is extremely unstable

First of all, hopefully this is the right place to post this type of question - if it isn't, do let me know. I have a relatively new PC with 16 GB RAM, 10th Gen Core i3, 4 physical and 4 virtual cores ...
thebluepandabear's user avatar
2 votes
1 answer
1k views

Creating x86/amd64 Debian10 Vagrant guest on M1 MacBook host

I've been given a Vagrantfile that's normally used by Ubuntu people to create and provision a Debian 10 VirtualBox guest box for development work. They'd normally use the VirtualBox provider plugin ...
tripRev's user avatar
  • 121
0 votes
0 answers
945 views

NAT (in QEMU/KVM) and WSL2 doesn't have internet, but host does

I've tested in 3 differents PC in my network, with Fedora, Arch and Windows None of the guest OS have Internet, nor VirtualBox, QEMU/KVM, and WSL2, but when I use brigde networking or MacVtap option ...
pragmaticmero's user avatar
1 vote
0 answers
280 views

Create Debian ARM image on Windows 10

I want to create a Debian ARM image using QEMU on my Windows 10 machine. I created my command using hints from here: qemu-system-aarch64 -M virt -m 16384 -cpu cortex-a72 -smp 4 -bios QEMU_EFI.fd -...
user avatar
0 votes
2 answers
2k views

QEMU Radeon GPU passthrough with error code 43 after install driver

I'm trying to do a single GPU passthrough and I actually got some results, it worked before having its driver installed, but after that it only shows the boot loading and then it turns into a black ...
Tiago Pimenta's user avatar
0 votes
0 answers
2k views

How to make a VM on a bridged network interface accessible from LAN?

Context I have the following network : a router (IP 192.168.2.254) which handles DHCP on 192.168.2.x network a computer1 (IP 192.168.2.1) under Linux (Debian 11) using ufw as firewall a computer2 (IP ...
berty's user avatar
  • 93
0 votes
0 answers
60 views

Install an OS on a hard-drive via VM

Is it possible to install an OS on machine's hard-drive instead of virtual hard-drive using a VM (QEMU/VirtualBox)? The reason I want to install an OS like this is because currently I don't have an ...
Dor1ma's user avatar
  • 1
2 votes
1 answer
2k views

How to create network with 3 guest virtual machines in macOS on an M1 MacBook?

I have MacBook (M1) and I need to create 3 Virtual Machines in same network: pfSense firewall (x86, with 2 network adapters: WAN shared network with host and LAN network adapter as gateway for guests,...
DsXack's user avatar
  • 31
3 votes
0 answers
2k views

Bridge from QEMU inside WLS2 to Windows

I have a Windows (Windows 10 Enterprise 20H2) network interface with static address 192.168.1.6 set. In Hyper-V manager I set WSL virtual switch to connect to "External network" and choose ...
xJason's user avatar
  • 31
0 votes
0 answers
381 views

Can't Mount USB drive FreeBSD

I've been trying to mount a USB drive to my FreeBSD install for an unreasonable amount of time now to no avail. At this point, I have looked at countless forum posts and manual pages and I am not ...
Ryloguy's user avatar
2 votes
0 answers
13k views

Grub failed to get canonical path of overlay

So, I've tried to install dwm lately on artix base on Qemu, but I cant get over the installation process. The errors start droppin after I try to install grub. Things I did: cfdisk /dev/vda I ve ...
scribre's user avatar
  • 21
2 votes
0 answers
648 views

libvirt and hotswappable single USB port with virt-manager - almost there?

Description USB not visible on Debian guest. I cannot see anything obvious from the logs but because I do not have much virtualisation experience I assume I missed a step in the configuration, ...
AnonymousAardvark's user avatar
1 vote
1 answer
750 views

Map disk as ram for qemu vm

Is there a way to map disk as ram for a QEMU VM? I do not have enough ram for a VM, so I thought if mapping an NVME partition as ram instead. I guess, it is the opposite of a ramdisk.
chegov's user avatar
  • 11
0 votes
0 answers
191 views

Does qemu not permit you to run a VM of the OS you're already running?

This is a reposted version of this question which got closed because it wasn't in Super User: https://stackoverflow.com/questions/72706102/why-does-qemu-go-black-when-trying-to-run-a-vm-of-the-os-its-...
WindowsWeenie's user avatar
0 votes
1 answer
146 views

Qemu - Cannot connect to Guest ESXi

I'm running Qemu on Windows and I can't connect to the ESXi guest and can't ping the host network gateway from the ESXi guest. I disabled all other network interface on Host machine except the ...
John Doe's user avatar
  • 356
3 votes
1 answer
4k views

How do I save Virtual Machine state in UTM (QEMU)? using M1 Macbook Pro

I am a beginner in dealing with virtual machines. I have managed to boot up a virtual machine (Ubuntu) using UTM on my M1 Macbook Pro. However, I have been having a hard time figuring out how I can ...
AMara's user avatar
  • 31
1 vote
1 answer
5k views

How to passthrough GPU/PCI-e with QEMU 7.0 on macOS host to Windows guest

I have a PC with a powerful Nvidia GPU that is used for mining only through a simple Windows application. For my love in Hackintosh, I installed a new SATA drive and installed macOS Monterey 12.4 and ...
zinger's user avatar
  • 113
2 votes
5 answers
8k views

Cannot start KVM machine on arch after update

I'm having trouble with a VM I was using yesterday. After using, I closed the guest and updated my host machine (arch linux). Today I turned on the host and tried to turn on my guest and this message ...
his dudeness's user avatar
0 votes
1 answer
2k views

VM Freezes and Crashes on Reboot

After installing Ubuntu 22.04 LTS, Windows 11 and Rocky Linux with QEMU 7.0 (qemu-system-aarch64), VM does not restart and freezes. I myself close QEMU with CTRL+C. As a result, it either does not see ...
EFI Shell's user avatar
1 vote
1 answer
697 views

systemd twice mounts entry in fstab during boot, first attempt fails with bad option, second one works fine

Running Debian 5.10 within QEMU, I'm using the 9pfs file system to access files stored on my host system, as Debian comes with built-in support and QEMU supports that file system natively. When booted,...
Mecki's user avatar
  • 1,028
1 vote
1 answer
1k views

macOS host Problems with QEMU audio on Debian installation

I want to virtualize debian 11.2 with QEMU. However, the guest operating system has no audio. Since I'm blind and therefore work with a screen reader, it's important that the sound works. My host is a ...
tom2000's user avatar
  • 11
1 vote
1 answer
6k views

QEMU/KVM, using full physical disk is faster than raw .img file?

When adding an HDD to a guest in QEMU/KVM in Virt-Manager, there are "qcow2" and "raw". "raw" seems to be storing the data in a file with the ".img" extension. ...
Damn Vegetables's user avatar
2 votes
0 answers
1k views

How define custom DNS server for QEMU VM via CLI?

How define custom DNS server for QEMU VM via CLI? I want only for that virtual machine dns at 192.168.1.51 which is pi-hole. sudo qemu-system-x86_64 -gtk -m 1G -hda "ubuntu22.qcow2" -cpu ...
aClassicKoder's user avatar
3 votes
2 answers
748 views

Possible to move a guest OS on VirtManager (Linux) to Windows?

For VirtualBox or VMware Workstation,one could copy the guest OS data directory to another computer and run it there. For example, I could create a guest OS on Linux, and then copy the guest data ...
Damn Vegetables's user avatar
0 votes
1 answer
319 views

Libvirt conf - cdrom boot issues

I am having issues with the booting debian or ubuntu netinstall images when using libvirtd, I get the menu, but simply get this when selecting the menu optiont o install: loading /install.amd/vmlinuz ...
Eliazz's user avatar
  • 33
1 vote
2 answers
5k views

How to enable Hyper-V in a windows guest?

I have a Windows guest OS installed under QEMU kvm (host is Linux), the system works fine, but Both task manager and systeminfo showed that Hyper-V is supported but disabled in firmware, how can I ...
imkzh's user avatar
  • 121
0 votes
1 answer
295 views

How to boot dd generated Win95 Image?

I want to boot an old Win95 Image, that I generated with dd by a real drive. qemu-system-x86_64 -cpu pentium3 -m 512 -rtc clock=host,base=localtime -drive file=win95.iso,format=raw results in qemu ...
lolxdfly's user avatar
  • 101
1 vote
1 answer
2k views

Why can’t I seem to run a VM via virt-install from the command line in macOS?

I try to run VM with emulation on MacBook 14 M1 Pro on macOS Monterey (12.3.1). I installed libvirt 8.2.0 and virt-manager 4.0.0 via brew. I used this formula for virt-manager: class VirtManager < ...
amkgi's user avatar
  • 161
1 vote
1 answer
3k views

Unable to load Nvidia drivers in QEMU virtual machine

I have an Ubuntu Server 20.04 LTS on an Alienware Aurora R6 (i7-7700 CPU with a Nvidia GTX 1080). I am relatively new to type-1 hypervisor and have some experience with type-2 (VirtualBox). On the ...
rbaleksandar's user avatar
1 vote
1 answer
1k views

QEMU on M1 Mac shared mount permissions are incorrect

I've recently started deving on a M1 mac, and I wanted to get a simple linux system virtualized. Multipass seemed like a great idea, until I was struggling to forward ports. So I created a very simple ...
Callum's user avatar
  • 43
2 votes
0 answers
991 views

FreeDOS as DOSBox replacement

Generally when the question about DOS games flares up, the general consensus is to use DOSBox (or DOSBox Staging) and it usually does the job. However, as a proof of concept I wonder if it would be ...
Phoenix's user avatar
  • 121
1 vote
1 answer
2k views

QEMU: How to obtain host address from Ubuntu guest?

When using UTM on a Mac with a Ubuntu guest in it, I need to obtain the host IP address (of my Mac) from the guest to mount its file system by sshfs (or any other mount). It runs UTM based on QEMU. I ...
user513667's user avatar

1 2
3
4 5
12