Questions tagged [linux-kvm]
Linux Kernel Virtual Machine is a virtualization system (VM)
424
questions
0
votes
0
answers
49
views
Create a Group RW-access for a KVM shared folder via virtiofs on Ubuntu Server 22
I have a folder /common on an Ubuntu Server 22 host which is RW accessible by all users in group users i.e. user alice (with uid 1000) is a member of users (with gid 12345) and has fuull RW access to /...
0
votes
0
answers
136
views
Prevent mouse from being hidden in Ubuntu when running as KVM/QEMU guest
I am testing software on a VM. The software I am testing controls the mouse, and to test it I require the mouse cursor to always be visible (i.e. when the mouse is not captured by the VM software).
I ...
0
votes
0
answers
95
views
Remove device that was added to qemu/kvm without a short id
I have a KVM virtual machine that I would rather not restart. A USB device was added to it using the qemu monitor device_add command without specifying an id. I want to unplug the device so it can be ...
0
votes
0
answers
30
views
VirtManager, guest pause/save->resume, cannot RDP into guest
If relevant, the guest is using "Macvtap device" as the "Network source". It seems that if I apply "pause" or "save" on the Windows guest, and then resume it, I ...
1
vote
0
answers
78
views
KVM/QEMU Virtualizing Existing Linux From Another Partition
I have two arch installations: one is on /dev/nvme0n1p2 (this holds both the root and home directories) with its EFI on /dev/nvme0n1p1 (different partition on same physical disk).
Another arch ...
0
votes
1
answer
269
views
Nested QEMU-KVM hanging with `watchdog: BUG: soft lockup - CPU#3 stuck for 134s!` kernel messages
I have an issue with QEMU-KVM on Ubuntu Server 22.04 running another QEMU-KVM virtual machine.
First VM is launched via libvirt-based Virtual Machine Manager in privileged mode via following command ...
1
vote
0
answers
84
views
KVM host and guest cannot communicate, other traffic works fine
I have a KVM host and a guest on it.
The KVM host hosts a mail service (postfix). The VM is a spam filter (called "spamfilter" for ease).
The basic problem and question is that spamfilter (...
0
votes
0
answers
23
views
same ip range and subnet in 2 different bridges
I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager.Doesn't work with the gui or editing the xml of the new virtual network . Is the best way to ...
0
votes
2
answers
199
views
Shutdown VM when graphical console is closed
I have a Debian 12 VM with QEMU/KVM as hypervisor and Virt-Manager as a frontend and SPICE for graphical output.
The purpose of this VM is to be used interactively and so I'd like not to leave it ...
1
vote
0
answers
139
views
AMD GPU pass-through doesn't work on Windows 7 (even though NVIDIA works)
I have a multi-gpu VM setup (Nvidia GTX 970 and AMD RX 6600) with Windows 7, Windows 10, macOS virtual machines. I pass GPU directly to a guest operating system (isolate from host-os and pass them ...
1
vote
1
answer
251
views
kvm qemu guest_agent issue on windows vm's
i'm using kvm virtualazor
i have windows vm and i successfully installed the drivers and qemu-ga i do active the guest agent option in virtualazor but unfortunately its wont recognize the agent
inside ...
0
votes
1
answer
278
views
connecting Ubuntu host and Windows 7 guest with samba
I have a Windows 7 guest OS on a Ubuntu 22.04 host and I'm trying to set up a Samba connection to transfer files between them. This is how I understand it should work:
On the Ubuntu host:
1: install ...
0
votes
1
answer
2k
views
How to Reach QEMU VM's with IP Address (Optionally Static)?
Situation
I have two QEMU KVMs (named master and worker, respectively) running on my laptop. The VMs use the headless server edition of Ubuntu 22.04, and the laptop is running Mint.
Goal
I want three ...
0
votes
1
answer
208
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 ...
4
votes
0
answers
562
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
273
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
522
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
155
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
222
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
35
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
819
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
1
answer
769
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
232
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
305
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
859
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
2k
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 ...
4
votes
1
answer
2k
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 ...
1
vote
0
answers
157
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
976
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
353
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
1k
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 ...
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 ...
0
votes
0
answers
281
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
629
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
1
answer
2k
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
265
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
313
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
2k
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 ...
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 --...
0
votes
1
answer
6k
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
4k
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
8k
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 ...
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, ...
0
votes
1
answer
6k
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
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 ...
0
votes
1
answer
1k
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'...
1
vote
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 ...
1
vote
1
answer
6k
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
720
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 ...