Questions tagged [linux-kvm]
Linux Kernel Virtual Machine is a virtualization system (VM)
416
questions
0
votes
1
answer
40
views
KVM VMs with public ip addresses and VLANs
I was tasked at work (ISP) to set up a KVM host with 2 VMs running on it; all three should have public IP addresses (host + 2 VMs). I managed to set them all up after doing a bit of digging and ...
0
votes
0
answers
47
views
AppArmor issues with Libvirt
I have a fresh Ubuntu Server 22.04.3 and Debian 12.1.0 installed and updated. Along with Cockpit and Cockpit virtual machines on both tests machines.
I am getting the following errors and warning when ...
0
votes
0
answers
38
views
Is there a serial BIOS in QEMU/KVM?
I'm trying to bisect a kernel issue which causes a VM not to boot. To do that, it would be nice to get serial console output from BIOS via virsh VM console. (For example, GRUB can use UART0, but ...
0
votes
0
answers
77
views
Dramatic difference in network performance between multiple KVM virtual machines, accessing a bridged physical interface
I have noticed a very peculiar difference in network speeds for the 3 VMs I have created. For one VM the network works without any issues. For the next the packet loss is between 50 and 100%, usually ...
1
vote
0
answers
81
views
Unable to split USB devices to Different USB Busses. Is this a hardware issue or Linux issue
I have i9-13900k CPU running on Asus Z790 MB.
When using lsusb. I found out that every USB device is assigned to BUS 1. It does not matter which USB port I use on the computer. I would like to Split ...
0
votes
1
answer
56
views
Druid coordinator cannot talk to the rest of the cluster
I'm deploying a 5-KVM cluster with Hadoop, Spark and Apache Druid for testing purposes, and I'm stuck on an issue about Druid. The running cluster is organized as this:
hadoop-master: also hosts ...
0
votes
0
answers
22
views
vdo on a ramdisk vs on an ssd
I have ramdisk created with vdo in redhat like this as a systemd service mounted during bootup in /etc/systemd/system/my_lv.service
vgcreate my_vg /dev/ram0; \
lvcreate --type vdo -n my_lv -l ...
0
votes
1
answer
227
views
How to run qubes os on KVM
Is there a way to get Qubes OS working in KVM, it freezes short after into boot, I tried to boot into new kernel but result is still the same.
0
votes
0
answers
218
views
How to pass-through intel integrated GPU (with the USBC and HDMI output) a VM on 13 Gen Intel CPU?
My OS is Arch Linux (with ZFS, kernel 6.2.12).
I have been unsuccessful in passing the Intel integrated GPU. In fact blacklisting the i915 module does not prevent the computer from using i915. It is ...
0
votes
1
answer
221
views
Trying to script the install of qemue agent on cloud-int VM
I am currently using Proxmox to deploy some VMS. I am using a script supplied by here.
My current script is as such
#!/bin/bash
#Create template
#args:
# vm_id
# vm_name
# file name in the current ...
0
votes
0
answers
113
views
QEMU not saving CPU Pinning for a virtual machine
I installed a Windows 10 and Windows Server 2019 virtual machine under my Rocky Linux 9.1 KVM hypervisor. My plan for this setup is to practice system administration, and I'd like to be able to run ...
0
votes
0
answers
116
views
How to connect to local KVM guest via remote SSH tunnel to ssh
I try to set up a connection as follows:
ssh -f -N -L 5916:localhost:22 [email protected]
[email protected]'s password:
It asks for a password , but the connection doesn't work.
nmap ...
0
votes
1
answer
456
views
Why won't windows boot in virt-manager KVM VM?
I'm following this tutorial on how to run windows apps seamlessly in using winapps and my VM won't boot. It gives the message "Boot failed: Could not read from CDROM (code 0004)". I made ...
0
votes
0
answers
958
views
KVM | QEMU (including virt-manager) issue with Linux host single GPU passthrough for macOS guest has blank screen
Okay folks! What needs to known in advance is that my initial VM solution has a working installation with a macOS Ventura guest on a Kali/Debian Linux host prior to extending the baseline ...
3
votes
0
answers
730
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 ...
0
votes
0
answers
20
views
which is the right location for libvirt in ubuntu?
Not sure why libvirt and KVM install is becoming a dirtiest of all experience for me.
this is ubuntu 20.04 LTS and it is confusing like hell.
does anyone know which is the 'right' and default location ...
1
vote
0
answers
95
views
Graphic glitches in virt-manager win-xp guest
I'm having graphical issues with my windows XP guest in virt-manager. I haven't done any extensive testing, but at the moment I have only encountered it inside the game 3D Pinball Space Cadet (which ...
2
votes
1
answer
461
views
Why was the forced-shutdown function in virsh named "destroy"?
Year after year, I keep wondering (to put it lightly), who did name the restart function of virsh "destroy", and why.
It seems to me to be a complete 💩-head thing to do; but it must have ...
0
votes
0
answers
173
views
Routing KVM VM traffic over wireguard from host OS
I'm trying to setup a Wireguard tunnel on my host OS and route all network traffic from a specific KVM VM over this Wireguard VPN. My KVM VMs are setup using bridged networking. The interface name on ...
0
votes
0
answers
245
views
Wininet.dll repeatedly causes explorer.exe and dllhost.exe to crash
I am using SUSE's Harvester to run virtual machines (It uses KVM). Using that, I created a virtual machine with a Windows 10 Pro installation (22H2).
Today when I restored the vm from a VM snapshot, ...
0
votes
2
answers
719
views
Virtualised Windows 11 under virt-manager (QEMU/KVM) can't find USB SSD storage drive
My virtualised Windows 11 under virt-manager (QEMU / KVM ) can see the USB wireless mouse, but cannot see the USB SSD storage device.
I took a check from the inside of Windows 11, in Disk Management ...
1
vote
0
answers
254
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 ...
0
votes
0
answers
211
views
KVM/QEMU Linux host Windows client video driver problems
I am using Ubuntu 20.04.4 LTS with KVM/QEMU. I have a Windows 10 client running smoothly performances wise with virt viewer. All that works fine but the problem is the graphics driver. I have a nVidia ...
0
votes
1
answer
377
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 -...
0
votes
0
answers
134
views
virsh: after moving my storage pool from /var to /home, I can't create new external snapshots - "Could not open backing file"
I'm on Fedora 36, virsh 8.1.0. I ran out of space in /var/lib/libvirt/images, so I moved my images to my home folder, as per this guide https://ostechnix.com/how-to-change-kvm-libvirt-default-storage-...
0
votes
0
answers
166
views
How to route KVM QEMU traffic through specific route (ssh tunnel)
Background:
In virt-manager exists a simple setting to route traffic via specific port, but virt-manager is very cpu intensive, using kvm command line instead to open vm
Goal: forward/route traffic ...
0
votes
1
answer
987
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 ...
0
votes
0
answers
186
views
How to create an overlay subnet for KVM guests on multiple hosts on OpenNebula?
How do I setup an overlay network spanning 2 physical hosts?
Here is my network infrastracture in question.
I'd like to be able to provision multiple VM's via OpenNebula and setup a different subnet ...
0
votes
1
answer
145
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 ...
0
votes
0
answers
387
views
How to SSH into virt-manager guest from host?
I have a Debian host OS. I installed virt-manager and created a guest Ubuntu 22.04 OS on a virtual machine.
I retrieved the IP address of the guest OS by running ip addr on the (Ubuntu) guest OS's ...
1
vote
0
answers
2k
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 --...
0
votes
1
answer
4k
views
VirtualBox 6.1x: How enable 'Enable Nested VT-x/AMD-V' to enable 'KVM virtualization'?
Using VirtualBox 6.1.36 - in 2 different laptops with Windows 7 and 10 Home - the guest is Ubuntu Desktop 20.04 - I have the following situation about Docker:
Docker Desktop remains stopped on Ubuntu ...
1
vote
0
answers
3k
views
KVM guest connected to bridge can only communicate with host
UPDATE:
Changed host from mint to ubuntu now it works fine
I have a linux mint host machine with a network bridge with a static IP Address. Here is the bridge:
I have an Ubuntu guest created in ...
2
votes
1
answer
4k
views
virt-manager fails to initialize EGL render node for SPICE GL with NVIDIA proprietary drivers
I have virt-manager on a Fedora Workstation 26 host.
I have set up a Virtual Machine with Windows 11 Educational.
I have a Spice display server, with Listen Type set to “None”, and OpenGL set on with ...
1
vote
0
answers
8k
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
375
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, ...
0
votes
1
answer
4k
views
"Auto resize VM with windows" greyed out since Graphics type 'vnc' does not support auto resize in Redhat
As per redhat spice is deprecated since RHEL 8.3 ( https://access.redhat.com/solutions/5414901 ) so i cannot use spice.It gives me errors when i try to use spice instead of vnc
Host : Red Hat ...
2
votes
5
answers
6k
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 ...
0
votes
1
answer
784
views
How to install or use Ubuntu server minimal img file with KVM?
Ubuntu has these minimal server images here and I downloaded the ubuntu-18.04-minimal-cloudimg-amd64.img image. However, it is not quite clear to me as to how this image is to be used with KVM. Ubuntu'...
0
votes
0
answers
1k
views
Integrated GPU passthrough performs better *without* hardware acceleration
First, some background on the iGPU passthrough since it might be relevant:
One of my VMs should be able to play both audio and video over the motherboard's physical HDMI port. In my case I'm ...
0
votes
1
answer
3k
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. ...
3
votes
2
answers
545
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
1k
views
Does IP required for bridge interface in KVM host
We have a requirement to configure bridge on SLES host and add it for KVM guest as bridge mode for public IP.
In this case, Is it mandatory to have ip on the bridge interface of the SLES host
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 ...
1
vote
2
answers
307
views
Task manager showing absurdly high network throughput in VM
I've got an instance of Windows 10 running in a KVM instance and the task manager in it shows ridiculously high total network throughput (150-900 Gbps upload and download on a 1Gbps link).
Has anyone ...
2
votes
1
answer
8k
views
No Internet on Linux KVM Windows 10 guest using VirtIO drivers
I'm attempting to install a Windows 10 VM using QEMU/KVM in virt-manager. I want to use it for a WinApps setup to do some experiments with Adobe CC in Linux.
I've been following several guides ...
2
votes
0
answers
705
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
4k
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 ...
0
votes
0
answers
455
views
NAT with iptables does not work from within a VM
I use Proxmox on a Debian 11 host with two public IP addresses.
One ip gets bridged to a virtual machine (VM1) via vmbr0.
For another machine (VM2, IP 192.168.10.2) I want to use NAT to get internet ...
0
votes
0
answers
878
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):
...