All Questions
Tagged with qemu virtual-machine
149
questions
32
votes
3
answers
73k
views
libvirt: "Failed to initialize a valid firewall backend"
I'm trying to set up a virtual NAT network device without DHCP for libvirt on an Arch Linux host.
What I have tried:
# virsh net-define network.xml
Network default defined from network.xml
[...
27
votes
1
answer
18k
views
What is the difference and relationship between kvm, virt-manager, qemu and libvirt?
I investigated this topic and here are my conclusions (But I still have questions. And please correct me if I made any mistake in my conclusions):
VMWare:
VMWare developed its VM Hypervisor SW in 1999,...
13
votes
1
answer
7k
views
How can I get qemu's Ctrl+Alt keys working in -curses mode?
So here's the situation; I currently have qemu installed on an OpenBSD 5.3 snapshot. This is a console setup so I have to either run with -curses or -nographic. The problem here is that I'm having ...
10
votes
2
answers
14k
views
Save qemu VM state like in Virtualbox
I am used to the Virtualbox "save machine state" exit strategy, which is a handy way to let the host reboot without shutting down the vm.
I recently switched to qemu because of its VT-x in VT-x ...
8
votes
6
answers
27k
views
Windows 7 fails to install on KVM with qemu
I'm trying to install Windows 7 as the guest OS in a virtual machine hosted by my 64-bit Ubuntu Karmic box. I get to the point of selecting my language settings and clicking 'install now', but a short ...
7
votes
1
answer
17k
views
How do I use Qemu/Spice dynamic resolution in a Windows 7 guest?
The Qemu Spice user manual makes reference to a "dynamic resolution" feature. If I'm understanding correctly, this alters the guest resolution to match the size of the VM's window, as is done ...
7
votes
1
answer
8k
views
Create "linked clone" or layered shared disks with QEMU
Does QEMU support a feature like VMware's "linked clone"?
What I'm trying to accomplish: I'm setting up a test environment with a handful of VMs, that are all nearly identical. However, a fresh ...
6
votes
1
answer
8k
views
QEMU: No visible cursor when using QXL or virtio
When I run qemu-system_x86_64 with -vga qxl/-device qxl-vga or -vga virtio/-device virtio-vga, the guest has no visible cursor. The mouse works, and items highlight when I hover over them, but I can't ...
5
votes
2
answers
27k
views
Why VM QEMU is very slow ? Still a Newbie here
I recently tried QEMU, so I can run both Windows and Linux/*nix at the same time.
I looked for docs/tutorials online, but found they are way beyond my comprehension.
So I just followed https://www....
5
votes
3
answers
8k
views
How to display 3D Wayland inside a virtual machine?
I'd like to try Wayfire—a 3D Wayland compositor—inside a virtual machine.
What are the options and requirements to make a virtual machine that can display a Wayland compositor with 3D acceleration?
...
5
votes
0
answers
2k
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....
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 ...
4
votes
1
answer
7k
views
Running Alpine Linux on QEMU ARM guests
I'm trying to build packages for Alpine Linux, which has official support for x86, x86_64, armhf, aarch64, s390x, ppc64le, so I want to build for all of these architectures.
Currently I'm using QEMU'...
4
votes
2
answers
7k
views
Unable to resume KVM guest after rebooting host
I'm running KVM on Linux Mint 17.1, kernel 3.16.0-31-generic. The only guest is a Windows 8.1 VM. I've noticed that if I reboot the host while the guest is running, I'm unable to resume the guest ...
4
votes
1
answer
12k
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....
4
votes
1
answer
3k
views
Can I get more screen resolution options for a QEMU virtualized Windows using a VirtIO graphics card?
When virtualizing e.g. a Windows 10 installation with QEMU and using the default graphics card (with no command line option set), it shows up as a "Microsoft Basic Display Adapter", and one ...
3
votes
2
answers
7k
views
usb-host is not a valid device name - error when trying to pass USB to Qemu
I have tried to use various variations of adding a usb device to my Windows VM but to no avail.
I have a Yocto project derived Wind River Linux, withQemu-kvm` installed. The guest OS is Windows 10.
...
3
votes
1
answer
6k
views
QEMU/KVM - Getting "Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing" when trying to create a VM
I am trying to create a virtual machine using QEMU/KVM. I am getting an error:
Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing
I have looked around but ...
3
votes
1
answer
8k
views
qemu virtual machine send desktop switching command to host
I would like to set up qemu/virt-manager/spice so that I can run a VM full-screen on its own KDE virtual desktop. I have ctrl-alt-{up,down} set up as desktop switching shortcuts, but I need a way to ...
3
votes
1
answer
1k
views
QEMU: How to find bottleneck in my virtual machine?
I am running an ubuntu virtual-machine on a 12.04 ubuntu server. Unfortunately the machine is extremly slow (just htop consumes 15%), even though having 8 cores etc.
Do you know a way to find the ...
3
votes
2
answers
408
views
What emulator / VM software can I use to create a Win32-portable Linux Guest?
I want to create a portable VM setup so that I can boot a Linux install regardless of which Windows XP / Windows 7 host machine I am on.
I was looking at Qemu but it doesn't appear to have a ...
3
votes
1
answer
5k
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 ...
3
votes
1
answer
17k
views
failed to access perfctr msr - When running Fedora on a VM
I'm trying to run a Virtual Machine with Fedora, and I choose to "Start fedora" from a list where I can start it or troubleshoot problems. The I get the following output:
[ 0.00000] tsc: Fast TSC ...
3
votes
0
answers
4k
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 --...
3
votes
2
answers
818
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 ...
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 ...
2
votes
2
answers
5k
views
Register super/win key press in qemu
I'm setting up a VM of my Linux setup using qemu by directly running the .img file through qemu-system-x86_64.
I've got it working, however when I try to do a keybinding with the Super key in my VM, ...
2
votes
3
answers
2k
views
Windows 10 Home (1809 version) from EFI to BIOS or to QEMU (Virtual machine)
Old (Downvoted) Post:
I have installed Windows 10 in my SSD disk, and made the mistake to install in EFI mode ... (I don't want EFI in my new installation because it will be multi-boot system with ...
2
votes
1
answer
3k
views
How to(Libvirt) attach floppy image device to guest VM?
Say, I have floppy.vfd image.
How should I fill my xml file in order to attach floppy image?
I have template like
<disk type='*' device='*'>
<device name='*' type='*'/>
<...
2
votes
1
answer
7k
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 ...
2
votes
2
answers
16k
views
virsh edit error: failed to get domain
I'm using KVM/QEMU and Virtual Machine Manager.
When I run in terminal sudo virsh list --all and the output is correct; it shows the one VM I have:
Id Name State
------------------------
- ...
2
votes
1
answer
2k
views
Is it possible to treat a thread as a core in QEMU?
When using a multi-threaded CPU, is it possible to treat a thread as a core to have double the available cores to the guest OS?
2
votes
2
answers
4k
views
Qemu: Is it possible to have BOTH the virtual display and VGA passthrough in a Windows guest?
This guy implies that it's possible to have both the virtual display and a VGA passthrough display device active at the same time..
I've tried this, both with libvirt and with the qemu commandline. ...
2
votes
1
answer
3k
views
How do i update available versions for operating system types in virt-manager
How do i update available versions for operating system types in virt-manager?
For example for Ubuntu, only up to Ubuntu 14.04 LTS is in the menu but I'm installing Ubuntu 16.04 LTS. Installation ...
2
votes
1
answer
2k
views
QEMU: Executing guest program in foreground
I use QEMU to run a Windows 10 virtual machine (VM) on an Ubuntu host. My goal is to programmatically instruct the VM to run a specific GUI program in the foreground, as if the user had started the ...
2
votes
2
answers
2k
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 ...
2
votes
1
answer
8k
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 ...
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
4k
views
aarch64 VM; amd64 host; "invalid accelerator kvm"
I have an ARM64 machine, which I want to emulate as a VM on my desk for testing. This will be the first time I'm emulating ARM64 on an AMD64, I'm clueless, and I went fumbling for hints.
I found one ...
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
1
answer
2k
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 ...
2
votes
1
answer
2k
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
766
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
0
answers
231
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 ...
2
votes
0
answers
759
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
2k
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
1
answer
657
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
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
515
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 ...