Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.
277
questions with no upvoted or accepted answers
7
votes
1
answer
2k
views
Using directory as initrd in QEMU
Is there a way to use a directory as initrd when booting QEMU?
I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device ...
5
votes
0
answers
9k
views
Booting into UEFI shell with qemu
I've set up an environment in QEMU, but I'm having some troubles booting into the UEFI console. I'm running QEMU v 5.0.1 and am running Ubuntu 16.04 using edk2 for my UEFI environment with ...
5
votes
1
answer
2k
views
How can I emulate Ubuntu 18.04 on MacOS using qemu?
How can I run Ubuntu 18.04 on my MacBook Air (Mojave) using QEMU? (yes I have to use QEMU for now.) I got QEMU from here. But also got it from Homebrew as well.
I've tried looking at the QEMU's ...
5
votes
1
answer
3k
views
No DHCP Reply on bridge with QEMU and TAP interface
I have a host machine running a virtual machine with QEMU and i want the DHCP server on the host providing an IP address to it.
I am using static ethernet addresses for the guests, so i start them up ...
4
votes
0
answers
1k
views
Qemu throws back error after i tried to use whpx acceleration (not sure if this the right community)
I am using qemu to emulate Zorin OS 16 (a hour old user of qemu) I tried to emulate Zorin OS 16 with whpx acceleration with this command in power shell:
qemu-system-x86_64.exe -boot d -cdrom zorincore....
4
votes
0
answers
5k
views
Recompiled QEMU with OpenGL, but virt-manager or libvirt tells me This QEMU doesn't support spice OpenGL
I wanna to use virtio-gpu according to this blog:
https://www.kraxel.org/blog/2016/09/using-virtio-gpu-with-libvirt-and-spice/
I am using Debian testing, but QEMU in offical debian source is not ...
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 ...
3
votes
1
answer
2k
views
WinXP BSOD when run on Qemu
I have an old virtual machine on virtual box with WinXP, I converted it on raw QEMU format, I tried to run this image on Win10 and on Debian but I have this BSOD.
This is the command line on Windows I ...
3
votes
0
answers
2k
views
Bitlocker on KVM/QEMU/virt-manager Windows guest using TPM passthrough
I have a dual boot installation on my Lenovo T480s: Windows 10 and Fedora 33. As I prefer working on Linux but need to have quick access to some Windows exclusive programs, I've configured QEMU (in ...
3
votes
0
answers
3k
views
How tu run Android Generic System Image (GSI) on qemu-aarch64?
Android GSI contains a system.img and a vbmeta.img. I tried qemu-system-aarch64 system.img -machine virt but qemu simply hangs.
If we can directly run the offical pre-built android image, creating an ...
3
votes
0
answers
1k
views
AIX 7.2 install on QEMU on Windows unable to accept arrow keys
I am currently trying to create an AIX 7.2 image using QEMU on Windows following these steps: http://aix4admins.blogspot.com/2020/04/qemu-aix-on-x86-qemu-quick-emulator-is.html
I am now almost at the ...
3
votes
0
answers
1k
views
Windows qemu how to create multiple TAP-Windows Adapter V9?
I installed qemu on my Windows 10 PC.
I installed openvpn tap-win32 driver on my PC, after installation, there is a TAP-Windows Adapter V9 in the system
3.I used this command to start a ubuntu VM.
...
3
votes
0
answers
4k
views
QEMU debugging:: Warning:TCG doesn't support requested feature: CPUID.01H:ECX
i have a problem with the qemu, first i creat a image
sudo qemu-img create -f qcow2 alpine.img 2G
and then when i try to lunch the alpine machine it blocks in this message error
qemu-system-...
3
votes
0
answers
2k
views
Unable to do USB passthrough with QEMU
I have installed virt-mananager and QEMU
sudo apt-get -y install qemu-kvm libvirt-bin bridge-utils virt-manager;
I also installed
sudo apt-get install libusb-dev
sudo apt-get install ...
3
votes
0
answers
5k
views
QEMU/KVM can't set qxl video ram size
I'm trying to enlarge video memory size of qxl-vga device. Guest os (windows 7) shows only 16mb of video memory available. I've installed windows guest tools. When I'm trying to set more video memory ...
3
votes
0
answers
985
views
qemu: How to use resolutions > 1024x768 in Windows 8(.1)?
In previous Windows versions, I was able to get higher resolutions in qemu/qemu-kvm by passing the -vga std or -vga vmware command line parameters.
However, when I try the same for Windows 8 (and 8.1)...
3
votes
1
answer
6k
views
"ACPI\QEMU0001" unknown ACPI device after Windows 2008 install with libvirt
After installing Windows 2008 in a libvirt virtual environment (command below for reference), I'm stuck with an "Unknown device" in Device Manager. The Hardware Ids show ACPI\QEMU0001.
I tried using ...
3
votes
0
answers
426
views
Swapping floppies in FreeDOS+Qemu
I am trying to replace a floppy inside a qemu machin running freedos 1.1. I remove the old floppy and inserts the new using change floppy0. Now when I dir A: nothing has changed. If I try to run a ...
3
votes
2
answers
4k
views
Fastest user-mode emulation platform with Qemu?
I'm planning to run Linux under user-mode qemu but don't know which platform (eg x86, PPC, etc…) is the best to pick (performance wise).
The host is Linux x86-64 running in OpenVZ (so can't modify ...
2
votes
0
answers
2k
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 ...
2
votes
0
answers
641
views
Allow a QEMU VM access to the internet, while blocking access to LAN
Host OS: Arch linux
I have read the qemu and libvirt documentation regarding networking but still cannot get this to work. I am trying to set up a Linux virtual machine for general use that has access ...
2
votes
1
answer
739
views
How to connect standalone QEMU sessions to libvirt user-session?
I would like to have qemu started machines running in user space, but during development I would like to issue commands to it using virtsh. (note, this is not because I need virtsh, but the QEMU ...
2
votes
0
answers
394
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 ...
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 --...
2
votes
0
answers
12k
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 ...
2
votes
0
answers
612
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, ...
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 ...
2
votes
0
answers
954
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 ...
2
votes
0
answers
186
views
Fedora unable to mount nfs due to firewalld
I am trying to create a nfs to share between my host and guest VM (run with qemu-kvm).
I followed this guide ad this is the situation:
host:
cat /etc/exports
/mnt/nfsshare 192.168.122.76/24(rw,sync,...
2
votes
0
answers
834
views
Boot VM from USB on Windows host without admin rights
I have a Linux installed on a USB flash drive, and I'd like, when I only have access to a Windows machine with no access to boot order and no admin rights, to be able to boot from my USB drive with a ...
2
votes
1
answer
592
views
qemu Windows VM fails if I change the SMP level
I created a Windows10 VM using qemu a LONG time ago and have copied it around to various servers and have been using it with different -smp levels (I start it just using command line arguments and I ...
2
votes
0
answers
5k
views
QEMU boot from a VHDX Virtual Disk in QEMU
Can I use a VHDX and boot from it in QEMU...
or must I convert the image to QCOW?
(using QEmu 5.1 and Windows 10 x64)
*? and can I mount the Virtual-Disk in windows and direct QEMU to it
*? or can I ...
2
votes
0
answers
259
views
How to get multi-display on guest Ubuntu on host MacOS?
My company provides iMac for us, but I want to work on Ubuntu instead. I am trying to run Ubuntu 20.04 with QEMU. I have to hardware screens. I want two virtual QEMU screens so I can put one on each ...
2
votes
1
answer
993
views
RTX 2080 VGA QEMU/KVM VFIO Passthrough Windows 10 black screen after driver install
So I've spent the last 20 hours trying to get a Windows 10 VM running in QEMU/KVM on Ubuntu.
My hardware setup is:
Saphire Pulse Radeon RX 570 (Host)
MSI RTX 2080 Gaming Trio (Guest)
Ryzen 7 3700x
...
2
votes
1
answer
2k
views
Problems using libvirt to create a Win98 Virtual Machine
Recently, I encountered a need to run some Windows 98 software. I decided to use this project to learn about virtual machines (I have had no previous experience). I tried to run virtualbox on my ...
2
votes
0
answers
3k
views
How speedup qemu? My launch parameters very slow
Im try launch VM under windows 10 x64, qemu 4.0.92.0 on my rented VDS
qemu-system-x86_64 -m 4G -accel tcg,thread=single -smp
cpus=1,cores=2,threads=2 -boot order=d -drive
file=C:\Users\admin\...
2
votes
0
answers
276
views
virsh edit xml changes are lost
virsh edit xml changes are lost
Using 'virsh edit ' command I tried to edit the xml file for a specific guest . I wanted to add serial ttyS0 for the guest machine, but I found that after using virsh ...
2
votes
1
answer
4k
views
Convert qcow2 image to vSphere VMDK
As I have EC2 Metadata working on my vSphere (6.5) cluster, I'd like to import Cloud images to it, such as Ubuntu or CoreOS.
But they come in .qcow2 or .img (for CoreOS, which I believe is also qcow2)...
2
votes
1
answer
272
views
Arch Linux PCI Passtrough
I installed Arch(Antergos) to enable PCI passtrough for KVM Vms, but if I start up the VM it crashed.
I followed this tutorial.
My hardware:
Motherboard: Asrock H97M Pro4
Processor: Intel® Core™ ...
2
votes
0
answers
1k
views
QEMU/KVM: USB3 passthrough to FreeBSD
I'm making my first steps in FreeBSD, so please excuse any possible "linuxism".
My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
2
votes
0
answers
507
views
Bridged qemu machine cannot receive packets, these are dropped
I've created virtual machine (ppc) with bridged interface (using bridge helper) on archlinux. Machine can send packet out, but cannot receive anything. I can see packets (dhcp discover,request and/or ...
2
votes
0
answers
405
views
Centos 7 KVM cifs mount issues
I am having a issue with Centos changing my KVM images folder from the default to a Cifs Shared folder. Any time I try it, it returns a error like so:
[root@localhost Centos_Atomic]# systemctl status ...
2
votes
0
answers
1k
views
How can I run Qemu with the “-nographic” option in Mac OS X?
Does anyone know how to run Qemu with the -nographic option in Mac OS X? The idea is to use the native Terminal for a text based operation instead of running inside Qemu’s own window.
The -nographic ...
2
votes
0
answers
1k
views
QEMU CPU Emulation Capability
Is it possible to emulate any/all Sandy Bridge CPUs using QEMu? Specifically, I am trying to get something akin to an Intel Xeon E5-26xx (a SandyBridge processor) running on hardware employing a ...
2
votes
1
answer
849
views
Can we say that QEMU is a Virtual Machine?
What I perceive as a Virtual Machine is that it simply allows to load another Operating System side-by-side on its own sandboxed environment.
It is limited to the same hardware architecture as the ...
2
votes
0
answers
604
views
How to bootstrap a MIPS NetBSD iso in qemu?
I'm trying to bootstrap a NetBSD 4.0 iso in qemu, but am not having much luck. My host computer is running OS X, and I successfully installed qemu with homebrew, but have been unable to bootstrap the ...
2
votes
0
answers
362
views
Unknown OS hostname and product in virt-manager
I'm using libvirt on a Fedora 19 host, running various Linux guests with QEMU and KVM hypervisors.
Using the virt-manager GUI, when I look at the guest Overview screen, in the Operating System ...
2
votes
1
answer
6k
views
qemu-i386 on ARM processor giving ld-linux.so.2 error
I am trying to install Ventrilo server on my SheevaPlug, running Debian ARMEL. Since Ventrilo server is an x86 program, I would like to try and use qemu-i386 to run the server on my ARM processor. ...
2
votes
0
answers
1k
views
Networked Parallel Port in Linux / KVM / QEMU
What I want to use is the "-parallel" tcp or udp option from KVM / QEMU, but I don't seem to find any server for this client. I don't serve a printer but a hardware dongle.
I checked ser2net, which ...
2
votes
1
answer
1k
views
QEMU installation is broken
I am trying to run a Windows 10 VM on Windows 10.
What I did
I downloaded QEMU exe, then got Windows Installation Media to get the Windows 10 iso file.
Then I simply moved to the Windows 10.iso file ...