Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.
469
questions
1
vote
1
answer
15
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,...
0
votes
0
answers
13
views
Port forwarding not working in qemu/kvm guest
I'm trying to enable port forwarding in my QEMU/KVM guest with no luck at all. I'm invoking the KVM instance by the following command
sudo qemu-system-x86_64 ./vm1.img -m 2G --enable-kvm -pidfile vm1....
0
votes
1
answer
22
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 ...
0
votes
1
answer
35
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. ...
0
votes
0
answers
34
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 ...
2
votes
2
answers
13
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 ...
0
votes
1
answer
17
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 ...
0
votes
1
answer
72
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 ...
0
votes
1
answer
45
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 ...
1
vote
1
answer
106
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 < ...
0
votes
0
answers
22
views
Can I run a Juniper vMX image on GNS3V (Virtualbox)?
I've been trying to run a Juniper vMX vCP image on the GNS3VM (VirtualBox) with no success whatsover.
The template is configured and runs with no apparent problem but when I try to open a session ...
0
votes
1
answer
93
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 ...
1
vote
1
answer
41
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 ...
0
votes
0
answers
47
views
QEMU savevm crashes QEMU
I created an Ubuntu VM with QEMU on host OS macOS Monterey. Trying to do savvy crashes qemu with the following error code.
-------------------------------------
Translated Report (Full Report Below)
--...
0
votes
0
answers
72
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 ...
0
votes
1
answer
30
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 ...
0
votes
0
answers
69
views
QEMU: Windows 10 Host to win98 guest, configuring network
I began to post my question on stackoverflow, and my post has been closed with a message to post it here. I hope it's the right place for that. I think il will program a frontend for it for windows ...
0
votes
0
answers
241
views
virt-manager - spice-guest-tools not working on Windows 10 guest
Host: Debian Bullseye
Guest: Windows 10 20H2
Hypervisor Details:
Hypervisor: KVM
Architecture: x86_64
Emulator: /usr/bin/qemu-system-x86_64
Chipset: Q35
Firmware: BIOS
Windows in the VM is running ...
1
vote
0
answers
18
views
Hard drive for alpine linux on QEMU
I want to run Alpine Linux on QEMU with a host OS of Windows so I downloaded the latest ISO image (named alpine-standard.iso). Then I set up a hard drive file with qemu-img create -f qcow2 alpine-disk....
0
votes
1
answer
455
views
Why qemu can't detect a WHPX (Hyper-V) accelerator?
I've been messing around with qemu on Windows 10. I found HAXM as a slow accelerator (for me has the same performance as TCG) and I want a better experience. I found that qemu supports WHPX, using -M ...
0
votes
0
answers
57
views
Enabling SSSE3 flag on a VM running on KVM
How do I forward the SSSE3 flag from my host server to VM while using KVM? I tried the following.
My QEMU version is qemu-kvm-1.5.3. My host server has the SSSE3 flag enabled (output cut for brevity):
...
2
votes
1
answer
331
views
QEMU configuration to host a Linux with SSH and HTTP on Windows
I am doing WEB development on Windows 10 operating system. For that purpose, I am running Debian Linux on QEMU. I want to use SSH to connect to the virtual machine, possibly with putty and in the same ...
1
vote
1
answer
436
views
How to "alt-tab" out of full-screen Virt Manager?
I'd like to switch from fullscreen in qemu/kvm Virt Manager back to the most recently used window on the main host's operating system (just like alt-tab), but I haven't yet found a solution that works....
0
votes
1
answer
267
views
KVM-QEMU + Libvirt - CPU Pinning
I would like to ask, if it is possible to reserve cores just for particular VM's and prevent others to use them. Let me explain closer:
I'd like to have 2 virtual machines to be pinned to cores 0-7 ...
0
votes
1
answer
25
views
Using qm (qemu) output in a script
I am trying to determine if a QEMU VM has finished booting from inside a script by using QEMU agent.
The problem is that I am unable to assign the output to a variable or even pipe it to a file:
[root@...
0
votes
1
answer
247
views
QEMU-KVM UEFI Secure Boot doesn't work
I try to test this in QEMU-KVM:
https://www.knopper.net/knoppix/knoppix-uefi-en.html
My host OS is Debian 11 AMD64. I have ovmf .deb package sucessfully installed. I add OVMF to my virtual machine ...
0
votes
0
answers
52
views
Qemu - cannot use mouse and keyboard after loadvm on Monterey guest
I'm trying to run Monterey in Qemu using this script with some modifications to allow snapshots. I have a savevm snapshot that takes me to the login screen, however I cannot move the mouse or use the ...
0
votes
0
answers
350
views
How to run linux VM on MacOS with Vagrant and QEMU?
Can anyone advise me how to run a headless linux (x86_64) virtual machine on a MacOS Monterey (Intel) using QEMU with HVF?
So far I have installed the libvirt and qemu with homebrew, also vagrant-...
0
votes
1
answer
337
views
No internet connection when trying to install Arch linux in qemu
I'm trying to slowly switch from windows to linux. So I thought that it will be good idea to install arch on VM. Since I learned about VM's I was using VirtualBox but now I wanted to try qemu, because ...
0
votes
0
answers
45
views
How to connect a virtual GPU in QEMU?
So, a QEMU guest machine has some PCI slots by default, I have no idea how many. But regardless, we can attach virtual devices to those slots. As far as I understand, the PCI devices can be fetched ...
0
votes
0
answers
89
views
Errors when running sosumi in kali (Qemu)
I installed sosumi in a kali linux VM (Virtualbox) but when i run sosumi to launch the emulator i get these errors:
*** Launch!
qemu-system-x86_64: warning: host doesn't support requested feature: ...
0
votes
0
answers
50
views
Get difference between two virtual machine qcow2 files
I have 2 qcow2 files based off the same .img file created with qemu-img. The guest OS is CentOS 7 and host is Rocky Linux 8. I'd like to get the changes in the file system between the images and I ...
0
votes
1
answer
66
views
How to make a snapshot while qemu is running?
Since a fresh booting of the guest OS is very slow, or it is laborious to arrive at a particular machine state, what I want is something like Windows' hibernation: Qemu saves the current state of the ...
0
votes
1
answer
84
views
Why does ssh change virgl OpenGL renderer back to llvmpipe software renderer? Can I keep virgl in ssh session?
I created a Qemu VM, both host and guest being Ubuntu 20.04. Then I start the Qemu VM using command
qemu-system-x86_64 ubuntu-desktop.qcow2 -m 2G -smp 2 -device virtio-vga-gl -display gtk,gl=on -nic ...
0
votes
1
answer
568
views
Qemu VM runs very slowly and virgl not available if using "-device virtio-vga-gl -display gtk,gl=on"
Host:
OS (a variant of Ubuntu 20.10):
uname -a
Linux ... 5.8.0-7642-generic #47~1614007149~20.10~82fb226-Ubuntu SMP Tue Feb 23 02:59:01 UTC x86_64 x86_64 x86_64 GNU/Linux
nVidia RTX 3090 GPU ...
0
votes
0
answers
40
views
How to have qemu emulate pressing SHIFT key or c key when booting guest?
I can't boot a ubuntu guest OS in qemu, so I wanna to look at booting messages to know what is happening. To that end, I need to enter Grub to remove "quiet splash", but since I can't boot, ...
1
vote
1
answer
196
views
Trying to passthru my RTX 2080 ti to a Windows 7 x64 bit vm using virt-manager on Ubuntu 21.10 : it gives error 12
I would like to virtualize Windows 7 x64 bit passing through my graphic card (rtx 2080 ti) with qemu-kvm on Ubuntu 21.10. It's failing for me,so I'm trying to understand what's wrong. After several ...
0
votes
0
answers
17
views
Can qemu report its supported optional features?
When building qemu, configure has a list of optional features to choose, like gtk, vnc, hax acceleration, sdl, opengl, etc. If the qemu was built by me, what options are enabled is clear (if I take ...
0
votes
1
answer
32
views
Nested guest VM on ESXI is not able to access internet but can access host
I am running x86 Ubuntu 20 on ESXI 7.0 (lets call this as my host VM). On top of Ubuntu VM, I am launching ARM64 RaspiOS using QEMU (this is my guest VM). So you can say I have nested VMs.
From my ...
0
votes
0
answers
46
views
Exception when running windows 10 in qemu
So I've downloaded the windows 10 iso file on raspbian, and I've tried running it on qemu, but it gives the following error:
how do I fix this?
0
votes
0
answers
40
views
Cannot run Pop!_OS in qemu on a Raspberry Pi
I've downloaded the Pop!_OS iso file on a Raspberry Pi to run on qemu, but when I run the file with:
qemu-system-i386 -L . -hda pop.cow -net nic,model=pcnet -net user -cpu pentium -soundhw all -vga ...
1
vote
1
answer
102
views
SSH passthrough?
I borrow the word "passthrough" from GPU passthrough in virtual machine because the concepts sound similar to me, at least from usage point of view. Here I have a QEMU MV, both host and ...
0
votes
0
answers
48
views
PPTP VPN timeout issue on Debian bullseye hosted on QEMU/KVM with NAT adapter
I have a working PPTP VPN connection on my Pop!_OS based host machine but the same fails in a Debian-based guest virtual machine hosted in QEMU/KVM.
I use NAT networking between the host and the ...
0
votes
0
answers
279
views
How to enable copy and paste for VNCViewer and VNC server of QEMU?
The VNC server is launched by QEMU 6.1.0 on Ubuntu, the QEMU being built without any special parameters:
qemu-system-x86_64 -hda ubuntu.qcow -m 1500
VNC server running on ::1:5900
The VNC Viewer is ...
0
votes
0
answers
196
views
Virtual Machine Manager not running ubuntu 16.04.4
So I've downloaded Ubuntu 16.04.4 iso file and I've tried to run it on qemu, but it gives the following error:
This kernel requires the following features not present on the CPU:
pae cmov
Unable to ...
2
votes
1
answer
285
views
QEMU aarch64 on ARM Mac never boots and only shows (qemu) prompt
I'm trying to emulate aarch64 and/or arm using qemu on ARM/M1 macOS. However, after multiple installer isos (ubuntu aarch64, standard alpine aarch64, etc) I can't seem to get anything but a blank ...
0
votes
0
answers
406
views
How to install Windows 10 in Qemu on macOS Monterey?
I am using macOS Monterey I am trying to install Windows 10 on my system using Qemu. I am using below codes in my Mac terminal
qemu-img create -f raw -o size=20G Windows10.img
qemu-system-x86_64 -...
1
vote
0
answers
24
views
Make a QEMU+KVM guest export USB mass storage to host?
So I'm really wondering if you can use a QEMU+KVM guest as a USB device. I'm really just playing around and have no very clear use-case for it. But one imaginable thing is to setup the guest so that ...
0
votes
0
answers
627
views
Pop!_OS : setting kernel parameters (boot loader options) permanently is not working
Was experimenting GPU passthrough with QEMU (following the steps given here) on Pop!_OS and in the process I added kernel parameters.
Now I want to remove the intel_iommu=on kvm.ignore_msrs=1 vfio-pci....
0
votes
1
answer
68
views
virt-manager: Can't make a sparc64 vm
OS: Ubuntu 20.04.3
virt-manager version: 2.2.1
Whenever I go to make a sparc64 vm I get this error message
Unable to complete install: 'internal error: process exited while connecting to monitor: 2021-...