Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.
576
questions
2
votes
1
answer
3k
views
qemu -enable-kvm *slower* than pure emulation for x86_64
Running qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 hosted on an Intel Xeon/Core-2 (newgen, Family=6) or better machine (total number of cores on guest=24, total ram=196gb), and the guest ...
2
votes
1
answer
1k
views
Can VGA passthrough support more than one VM instance?
There are lots of guides out there that walk you through setting up VGA passthrough using Linux KVMs and QEMU. But I was wondering...
Is it possible to have the same video card passed through to ...
2
votes
1
answer
6k
views
Install Windows Server 2012 R2 in qemu VM
I'm trying to install Windows Server 2012 R2, but right after loading Windows files I'm getting:
Your PC needs to restart. Please hold down the power button. Error Code: 0x0000005D
My command is:
...
2
votes
1
answer
8k
views
Copy/paste issue in Ubuntu virtual machine (QEMU-KVM) with Awesome window manager
I have Ubuntu 12.10 virtual machine running in QEMU-KVM. Copy/paste between host and vm works fine when using Unity as window manager but not while using Awesome.
What is the difference between those?...
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,...
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 ...
2
votes
1
answer
8k
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 ...
2
votes
1
answer
1k
views
Can't ssh into arch linux live environment in qemu
I started arch linux in a qemu vm with guest port 22 connected to host port 60022, set the root password in the guest, and edited the sshd config in the guest to allow root logins and set the log ...
2
votes
1
answer
4k
views
KVM / QEMU - Confused by bridge ip address (on Debian host)
I have followed a few guides to getting a bridge setup on my Debian VM host
The most useful I found to be this:
https://linuxconfig.org/how-to-use-bridged-networking-with-libvirt-and-kvm
I have read a ...
2
votes
1
answer
1k
views
How to get QEMU to use a named Docker interface?
Question
Is it possible to get QEMU to use a named Docker interface and network on the same host machine?
Motivating exmaple:
Let's say I have a DHCP server in a Docker container with static IP ...
2
votes
3
answers
3k
views
Allow Windows KVM Guest to Access Kubuntu Host Filesystem
I am trying to get my Windows Qemu KVM to be able to access the host Kubuntu filesystem, so that I can work with files on Linux and Windows at the same time. I tried looking for various guides online, ...
2
votes
1
answer
775
views
Running a FreeBSD binary on Linux using qemu-user
I want to run a FreeBSD binary on Linux using qemu-user (qemu-i386).
This is the binary I'm trying to run: https://tug.org/texlive/xz/xz.i386-freebsd
This is the emulator I'm using: https://github....
2
votes
1
answer
689
views
Running containers on top of QEMU
I have a testing setup I'm trying to migrate to using VMs rather than bare metal as much as possible. The existing setup is structured to run everything within containers (LXC, specifically), and it ...
2
votes
1
answer
2k
views
Cursor moving too fast in QEMU when using touchpad
I am running Windows inside QEMU on a Linux host. QEMU is running X with libinput. When I use the touchpad to control the mouse inside the guest, the pointer moves very rapidly and stutters. This ...
2
votes
1
answer
3k
views
Control fan speed under linux without nvidia drivers
I have quemu-kvm configuration like this - IGP on host (linux) and Nvidia on guest (windows). I blacklist nvidia drivers under linux (arch dist.).
Is there a way to set GPU fan speed under linux (it'...
2
votes
1
answer
4k
views
Virtualize an existing windows 8.1 installation on arch
I have the following setup:
Intel i5 4570s
SSD for os
sda1: EFI boot partition
sda2: ext4 with arch installed
sda3: swap
sda4: microsoft reserved
sda5: ntfs with windows 8.1 installed
HDD for data
...
2
votes
1
answer
2k
views
How to start QEMU on Windows with monitor enabled?
I've downloaded the latest 64-bit version of QEMU for Windows and it installed fine. However, I now have problems switching to Monitor mode when trying my code. The documentation says Ctrl-Alt-[1, 2, ...
2
votes
1
answer
4k
views
How can I get hard drive to work for QEMU-virtualized Windows Home Server 2011?
I have configured a Windows Home Server 2011 guest with virt-install and virsh, but the windows installer can't find any hard drives. Nor can it load any virtio drivers for it.
This is my first qemu/...
2
votes
2
answers
5k
views
Is it safe to uninstall qemu and libvirt?
Fedora installs both by default. I didn't found what are them exactly for, but yum autoremove selects them for autoremoval.
Is it safe, for a normal user (I mostly use this machine for documents and ...
2
votes
1
answer
7k
views
Boot an existing GNU/Linux installation from a real HDD in Qemu-Windows
I'm now running windows 8 and I installed qemu-windows 1.3.1. I have two hard disks. When I try to boot existing Arch GNU/Linux from second disk using the command:
qemu-system-x86-64w -hda \Device\...
2
votes
2
answers
2k
views
Can the ARM build of ubuntu 11.04 run in Qemu (on Ubuntu 11.04 amd64)?
Is it possible to run the ARM image of ubuntu-11.04-preinstalled-netbook-armel+omap4 in qemu? (Also used on the Pandaboard)
I have extracted the vmlinuz-2.6.38-1208-omap4 doing the following:
fdisk ...
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
650
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
0
answers
408
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
1
answer
906
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 &...
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
625
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
966
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
187
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
835
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
596
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
1
answer
2k
views
Can I have two different brand GPU to use one on the host and another in the VM via GPU passthrough
I have a RTX 2060 Super, I was reading about to PCI Passthrough on my system https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Setting_up_IOMMU but there's a warning
Warning: Once you ...
2
votes
0
answers
263
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
995
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
1
answer
2k
views
Can I make Virtual machine use swap-space(swapfile) as a memory when overcommitting?
I am doing some experiment with VM and KVM. I am trying to realize the fact of overcommitment and swap-space. At first, let me show the system setup and associate configuration that I made for this ...
2
votes
0
answers
277
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
886
views
tap-bridge-tap : No LACP
I have two switches connected via TAP interfaces.
Each Virtual Switch port is connected to an individual TAP port and the TAP ports are joined via a Bridge.
SW1-port1 = TAP 11 <== BR121 ==> TAP ...
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
854
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 ...