Skip to main content

Questions tagged [linux-kvm]

Linux Kernel Virtual Machine is a virtualization system (VM)

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Virtual machine in KVM - Creating a Bridge is "not supported"

I have a Dell Optiplex system that I am running Zorin OS on, but I have several reasons (for my homelab software, convenience, etc) to want to run a Windows device in my environment. Currently I am ...
AdderoYuu's user avatar
0 votes
1 answer
18 views

Cannot seem to install virtio scsi drivers in a VM of Win server 2022

The Win server 22 VM did get the latest virtio-win ISO installed. Im passing the entire device like so: <controller type="scsi" index="0" model="lsilogic"> <...
Optical Carrier's user avatar
0 votes
0 answers
20 views

How to use internet and Bluetooth on host OS via guest?

My laptop comes with a Wi-Fi card that is unsupported by the kernel and only has Windows drivers, so I am trying to obtain wireless connectivity through a Windows 11 VM. I have managed to obtain Wi-Fi ...
ericw31415's user avatar
0 votes
0 answers
44 views

Couldn't manage to setup a firewall in Debian 12 using nft, but with ufw worked as intended

I'm studying Kubernetes and how to setup a Kubernetes cluster. For this I'm using KVM, on my virtual machines setup I have defined a bridge connection to connect the VM directly into my router, so I ...
Luis Gustavo Saibro's user avatar
1 vote
0 answers
51 views

Error 43 with Nvidia card in passthrough, not the usual suspect

My video card is returning an error 43. It's an Nvidia Geforce 1060. I have never bothered to remove any of the passthrough workarounds I have amassed over the years, so it's not related to the ...
thehashslingingslasher's user avatar
0 votes
0 answers
43 views

VM Filesystem Issues with KVM Ubuntu Server

I have a machine I've built that runs QEMU KVM on Ubuntu 24.04 and it is having file/drive issues inside a bunch of the VMs (Windows 11, Ubuntu, etc) and possibly the host too. I'm guessing it could ...
Tilden's user avatar
  • 91
0 votes
0 answers
69 views

Retrieve hypervisor host/session id from inside guest VM

I have a VMware VM which is quite sensitive. It needs to be scheduled at max. 500 ms or otherwise it will restart itself. In case there is some heavy process in parallel with the VM (e.g live ...
IRG's user avatar
  • 1
0 votes
0 answers
174 views

QEMU-KVM VM freezing the host machine when using Nvidia gpu PCI passthrough

I have intel integrated graphics and nvidia 1650 mobile graphics card. I am loading my xorg server only using the integrated GPU. The NVIDIA GPU loads which nvidia driver on boot. I have libvirt hooks ...
Sai Chaithanya's user avatar
1 vote
1 answer
962 views

VirtualBox can't operate in VMX mode

Recently, I tried to use VirtualBox and got this error, VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot. (VERR_VMX_IN_VMX_ROOT_MODE)...
callen44's user avatar
0 votes
0 answers
45 views

How to perform windows 10 installation on a nested VM?

I am currently developing a proof of concept for academic purposes that involves a fully unattended installation of Windows 10 within a nested L2 VM. The architecture is as follows: L0: Linux ...
Diego Ascanio Santos's user avatar
0 votes
1 answer
188 views

How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

I want to create a VM for testing purposes -- questionable websites, files that could be infected with a virus, etc. So I want to create a VM and that VM should be able to access the internet but it ...
IMTheNachoMan's user avatar
0 votes
0 answers
265 views

Arm cpu nested virtualization, How can I make VCPU start from EL2?

Recently I've been testing Arm architecture nested virtualization. Since I don't have actual Armv8.4 CPUs, I used QEMU-9.0.0-rc2 to simulate an Arm chip. According to the QEMU changelog, support for ...
jin's user avatar
  • 1
0 votes
0 answers
62 views

Get Gnome Boxes to recognize guest created in Virt-manager

I have a Windows 10 guest that I created in Virt-manager, it has a qcow2 virtual disk that is stored in a non-default location. It is actually on a different partition altogether. How can I get Gnome ...
shmu's user avatar
  • 256
1 vote
0 answers
141 views

How to upscale video resolution on QMEU virtual machines?

I am trying to run some KVM QEMU virtual machines. However, I am running on a machine with fairly limited resources and a 4K screen. Therefore, I would like to run the virtual machines at lower ...
Pioneer_11's user avatar
0 votes
0 answers
125 views

How to enable KVM paramters such as enable_apicv?

In numerous guides (such as this one), I've seen that running $ cat /sys/module/kvm_intel/parameters/enable_apicv should return Y, but for me it returns N. But this guide doesn't tell how to fix it. ...
MannerPots's user avatar
0 votes
0 answers
200 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 /...
Cogicero's user avatar
  • 131
0 votes
0 answers
1k 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 ...
Nick Bolton's user avatar
  • 3,450
1 vote
0 answers
316 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 ...
Jules's user avatar
  • 451
0 votes
0 answers
51 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 ...
Damn Vegetables's user avatar
1 vote
0 answers
201 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 ...
Loma Harshana's user avatar
0 votes
1 answer
670 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 ...
krautcat's user avatar
1 vote
0 answers
108 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 (...
boro's user avatar
  • 64
0 votes
0 answers
39 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 ...
ISG's user avatar
  • 1
0 votes
2 answers
316 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 ...
cidra's user avatar
  • 65
1 vote
0 answers
170 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 ...
user3027198's user avatar
1 vote
1 answer
680 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 ...
muerfox's user avatar
  • 13
0 votes
1 answer
638 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 ...
alle_meije's user avatar
0 votes
1 answer
4k 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 ...
Della's user avatar
  • 101
0 votes
1 answer
299 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 ...
Giorgos Amoiridis's user avatar
4 votes
0 answers
906 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 ...
Johannes's user avatar
0 votes
0 answers
931 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 ...
rbaleksandar's user avatar
1 vote
0 answers
186 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 ...
user63726's user avatar
  • 141
0 votes
1 answer
360 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 ...
Juliano B. Nequirito's user avatar
1 vote
2 answers
1k 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.
Computer_Master's user avatar
0 votes
1 answer
1k 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 ...
nadermx's user avatar
  • 803
0 votes
0 answers
364 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 ...
grek's user avatar
  • 1
0 votes
1 answer
1k 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 ...
Luigi Mario's user avatar
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 ...
Stacey Pellegrino's user avatar
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 ...
Tobias Leupold's user avatar
1 vote
0 answers
183 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 ...
Arthur's user avatar
  • 131
3 votes
1 answer
2k 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 ...
foo's user avatar
  • 179
0 votes
0 answers
424 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, ...
coolcat007's user avatar
0 votes
2 answers
2k 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 ...
Ernest's user avatar
  • 1
2 votes
0 answers
572 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 ...
Craig H's user avatar
  • 68
0 votes
0 answers
348 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 ...
g00golplex's user avatar
0 votes
1 answer
1k 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 -...
jimjamz's user avatar
  • 37
1 vote
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 ...
Newbyte's user avatar
  • 146
0 votes
0 answers
310 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 ...
majkel19's user avatar
0 votes
1 answer
411 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 ...
Elarion's user avatar
0 votes
0 answers
3k 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 ...
WalksB's user avatar
  • 215

1
2 3 4 5
9