Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [kvm-virtualization]

KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
4 views

Avoid host to connect to kvm vm and to extract data from vm

I use kvm with libvirt and i want to avoid host to extract data from a virtual machine. It's possible that the host can fall in bad hands and that is why i want to protect the vms. How can i protect ...
user avatar
0 votes
0 answers
8 views

Run kvm wake-on-lan as service

I use a variation of the scripts posted here. It works like a charm, but since they say they use scripts with a startup script, I wonder what will happen, if I launch the script as a systemd service ...
user avatar
  • 101
0 votes
0 answers
7 views

Forbid LibVirt to pmsuspend

I've VMs on KVM/LibVirt. Some of them hangs after libvirt makes pmsuspend and then I pmwakeup them, and I need to force the reboot of the VM. Is there any way to make LibVirt never to pmsuspend domain?...
user avatar
0 votes
1 answer
13 views

Parallel OpenVPN Connection Over multiple Libvirt Network Interfaces

Let's Say That I have 20 VMs (Host: Ubuntu, Using Qemu-KVM, libvirt) and that I would use different network interfaces for different groups of vms. (1-6 using Network1, 7-15 using Network2, 16-20 ...
user avatar
1 vote
0 answers
7 views

VM Logical Volume shown on Host

Some context, I've builded an Opennebula cloud (https://opennebula.io/). I've been using it for more than 2 years now without any issue on that side. Recently i've noticed a strange behavior. On my ...
user avatar
  • 111
0 votes
0 answers
19 views

Can I use a KVM image of Debian as a bootable image for a laptop?

I'm given the task to create a unified Debian image for all my teammates laptops. My plan is to create a KVM with all the necessary software and settings and copy this image later with dd to the hard ...
user avatar
  • 4,957
3 votes
2 answers
158 views

KVM: Best performance for all guests

With KVM, what is the best way to provide the highest possible performance to all VMs? The host has a hexa-core processor and 64GB of ram. 3-4 VMs should run on it. The VMs are idle a lot of the time, ...
user avatar
  • 31
0 votes
0 answers
9 views

Performance issues on forwarded port

I've been working on this for a while, without much luck. I'm using port forwarding to expose the ssh port on internal virtual machine to the outside world (port 8000 on the host). The host machine is ...
user avatar
0 votes
1 answer
22 views

default login for ubuntu 18.04.2 on SmartOS

Does anyone know how to either login, run vmadm console with an ssh key or reset the password for a fresh Ubuntu KVM-VM installation on SmartOS? I created the KVM-VM of Ubuntu 18.04.2 from a SmartOS ...
user avatar
0 votes
0 answers
12 views

KVM guest with multiple vcpu allocated produce poorer results

My KVM host have a 4 cores cpu (a bit weak) and run a kernel configured for real time (with preempt_rt_full, isolcpus, no_hz full). The cores 2 and 3 are isolated. My guests kernel are also configured ...
user avatar
0 votes
1 answer
38 views

No route to host, strange behavior

On my Fedora35 host I'm running a KVM virtual machine with a bringed network. When I try to connect to port 80 of the virtual machine from the host I'm getting no route to host, but all working fine ...
user avatar
  • 104
0 votes
0 answers
83 views

Copy and paste from a QEMU VM with VNC graphics?

I run a headless server that uses qemu + kvm to run a few VMs, and I manage them with virsh + xml file definitions. Because this a remote / headless system, I set the graphics as VNC, and then with ...
user avatar
  • 1
1 vote
0 answers
58 views

kvm / proxmox 5 - virtio_net slow network 5Mbit, sometimes 900Mbit in opposite or both direction

Environment: several PROXMOX 5 (KVM) servers (kernel: 4.15.18-30-pve) VMs running Debian 9, 10 and 11 (vitrio /qemu-guest-agent current version of the respective Debian version) network cards ...
user avatar
  • 11
0 votes
0 answers
27 views

Error validating install location: Distro 'ubuntu20.04' does not exist in our dictionary

I am trying to Install Ubuntu20.04 as a Guest on top of KVM (Ubuntu 18.04 LTS ) and see the below error. :~$ sudo virt-install \ --name=sno-dns --os-variant=ubuntu20.04 --ram=8192 --vcpus=4 --network ...
user avatar
0 votes
0 answers
31 views

Modifying parent snapshot in QCOW2 internal snapshots tree

Faced one problem and cannot find any info on the net Let's say I have several snapshots on my VM running on .qcow2 image. For example, it has next tree: # virsh snapshot-list my_vm --tree clean | ...
user avatar
  • 1
0 votes
0 answers
50 views

virt-manager's remote-viewer: fails to connect thru SSH tunnel with "incomplete link header (-104/16)

I have a server running libvirtd with QEMU/KVM domains. I would like to access it with virt-manager from a remote machine, for which I open an SSH tunnel and forward a TCP port (libvirtd is listening ...
user avatar
  • 101
0 votes
1 answer
66 views

Assigning a Public IPv4 automatically to every KVM VM thats being created?

Im wondering how would i go on about assigning a public ipv4 to each vm thats being created. Setup : Host Server with 3 IPs on CentOS8 using libvirt and kvm to virtualize Bridge br0 using eth0 as ...
user avatar
  • 3
0 votes
1 answer
20 views

QEMU/KVM: how to protect monitor access?

Runing QEMU/KVM with monitor: kvm ...some_parameters... -monitor unix:/my_path/my_fifo,server,nowait We can then connect using socat - UNIX-CONNECT:/my_path/my_fifo then type commands. Easy and handy. ...
user avatar
0 votes
0 answers
94 views

How to check if KVM nested virtualization is supported on ARM64 processor?

I have a virtual machine running RHEL 8.5 on an ARM64 (aarch64) processor - Arm Neoverse N1. Every tutorial I've found states looking at either /sys/module/kvm_amd or the /sys/module/kvm_intel folder ...
user avatar
0 votes
0 answers
65 views

KVM with VirtioFS on host, Windows Server guest, VirtioFS access denied

I have some successful setups of Linux guests under KVM with VirtioFS, even able to boot from theese folders without any "classical" drive images or dedicated partitions. Now, I have a need ...
user avatar
  • 224
0 votes
0 answers
47 views

Access to VM using KVM bridged network interface inside company network not working outside of room LAN

I work at an institute so as you can imagine we have the typical proxy, AD, DNS and so on in place. My group is looking into transitioning to Linux for our servers (containing several GPUs for various ...
user avatar
0 votes
0 answers
108 views

How to auto redirect a usb device on virt-manager

How do I automatically redirect a USB device to a remote KVM? preferrably filtered by ID. I have a KVM running on a server (QEMU+SSH), and the display protocol is Spice. How could I always redirect a ...
user avatar
0 votes
0 answers
24 views

Host with bridge cannot ping other subnets

I'm having some trouble with my server. I set up a a bridge interface to use with my virtual machines, everything is working fine except for when I try to ping devices on a different subnet. I get a &...
user avatar
  • 1
0 votes
0 answers
17 views

kvm guest vms are no longer reachable after changing the maschine names

I've got a new server with several kvm vms. This server has been installed by an other person which is no longer available. The problem: The names of the kvm guests are bad and so I want to rename ...
user avatar
0 votes
0 answers
50 views

Bridged Network showing up as 'Unidentified Network' with no internet in Windows Server VM

I have been trying to have Windows Server in a virtual machine. However, I need it to be connected to the host network. After setting up a Bridge in /etc/network/interfaces, the bridge had internet ...
user avatar
0 votes
1 answer
135 views

Proxmox VM will not boot my ISO when using KVM

I've setup Proxmox on a vServer that is virtualized using Xen HVM (according to my Hoster) and want to start by creating a VM with pfSense within my vServer using KVM to route my all my traffic ...
user avatar
0 votes
1 answer
52 views

virbr0-nic unmanaged in KVM/Cockpit

I am running cockpit on Rocky linux to make a KVM host. I have installed and enabled all 4 nics onboard and they are showing up as managed in the management tab except virbr0-nic when I run the create ...
user avatar
0 votes
1 answer
597 views

qemu - win11: this PC can't run Windows 11

When trying to execute the setup the setup stops after selecting the os type with the following result: "this PC doesn't meet the minimum system requirements to install this version of windows. ...
user avatar
0 votes
0 answers
75 views

qemu-kvm snapshot creations are extremely slow after a few first fast ones

Could anyone help me on this please? behavior I'm running several VMs with qemu-kvm and when creating some first few snapshots of a running VM, they are created super fast (roughly 10 seconds). ...
user avatar
0 votes
0 answers
51 views

How to access from Linux (host) any content that needs the VPN connection running on Windows (guest)?

I'm working on a coding project that needs to access private URLs through a VPN connection. The only way to connect to this VPN is through the company's proprietary software made only for Windows. So, ...
user avatar
0 votes
0 answers
56 views

Iptables Qemu KVM

i've VM on Qemu on my server, i habitually use UFW but with Qemu is not possible to use UFW (When i drop any from virtual interface, not working), but i can use IPTABLES (Or Other). How can i block ...
user avatar
  • 1
0 votes
0 answers
99 views

KVM Virt Manager + SPICE

I am trying to get SPICE-agent to work properly on a KVM Virtual Machine so I can share folders or copy paste from host to VM. I get this error when I try to enable it, even though I installed spice-...
user avatar
0 votes
0 answers
66 views

Terraform Libvirt - How to use local qcow2 file

i try to provision some nodes for a kubernetes cluster based on kvm and debian. I want to use the Debian 11 Genericcloud Image and clound-init to initialize it. So i put the debian baseimge to /var/...
user avatar
  • 11
0 votes
1 answer
215 views

How to pass-through multiple USB devices with the same Vendor- and Device-ID in QEMu/Libvirt?

I have three identical USB devices on my VM host that I would like to pass-through to a VM: I can pass-through only one device as they all have the same vendor- and device-ID, the element in the VM ...
user avatar
  • 285
0 votes
0 answers
144 views

KVM stuck in boot loop

I have a server here, running Ubuntu 16.04 and libvirt 4.0.0. It is hosting a single KVM, a Jenkins Server. This server however is stuck in a boot loop after it was shut down for maintenance. I cannot ...
user avatar
0 votes
1 answer
76 views

QEMU-KVM, drbd and corosync - VM's doesn't work after reboot

On Debian 9.6 I've got QEMU-KVM Virtualisation. After electricity problems this machine just shut down. After switching it on again I can't start any VM because of this error: error: internal error: ...
user avatar
  • 11
1 vote
1 answer
160 views

Installing pfsense 2.5.2 ( freebsd 12 ) in KVM

Seems that I am having an issue installing pfsense firewall which is build on freeBSD12 into a qemu/kvm in Ubuntu. When it starts to boot, prior to the 'Install Box' I get a kernal panic Image of fail ...
user avatar
0 votes
1 answer
75 views

Why is virt-install failing with “Read-only file system” when specifying initrd on a locally mounted ISO?

I’m using virt-install to create an Ubuntu machine using the official Ubuntu server live ISO. This command has been working in the past, but stopped working at some point (maybe after upgrading the ...
user avatar
  • 262
0 votes
0 answers
17 views

On virt-manager redirecting iso file as usb dvd

On Fedora 35, I could redirect an iso file under Virtual Machine>>Redirect USB device>>spice DVD(?) selection. However, on a Kubuntu 20.04, I happen to only see real USB devices and not ...
user avatar
  • 1
2 votes
1 answer
27 views

why does "pkg_info -Q bash" on OpenBSD give me an "empty" result?

i installed a fresh OpenBSD server on a Linux - Proxmox server with kvm. I tried to to install bash but pkg_info returns "empty": root@openbsd:~# echo $PKG_PATH https://cdn.openbsd.org/pub/...
user avatar
  • 21
2 votes
2 answers
1k views

QEMU KVM hangs "Booting from Hard Disk... "

Ubuntu 20.04 server (no GUI) as host several guests working perfectly, each with its own LV I created an LV for a VM called "test", similar to working guests Partitioned the LV: one ext4 ...
user avatar
  • 41
0 votes
1 answer
382 views

Windows VM suddenly run very slow in KVM/QEMU

I have several times experience a Windows VM suddenly start to run extremely slow, seems mostly related to slow storage IO. Seen this in different versions, but in this particular case is Win10 LTSC ...
user avatar
  • 285
0 votes
1 answer
35 views

How to configure hugepages on CentOS Stream 9

I need to reserve 12288 hugepages for QEMU/KVM virtual machines. I followed the guide in 3 easy steps to configure hugepages in RHEL/CentOS 7/8 but it looks like in CentOS Stream 9 the configuration ...
user avatar
  • 103
0 votes
0 answers
41 views

What is an alternative of "virtio26" os-variant for Flatcar Linux installation on kvm-qemu using virt-install

Greeting to all! Details: The official tutorial for Flatcar kvm-qemu installation suggests to use "virtio26" os-variant. But in Ubuntu LTS 20.04 "osinfo-query os" doesn't show such ...
user avatar
1 vote
0 answers
71 views

kvm and libvirt: hotplug virtual disk as USB storage

Observations (1) A new virtual disk can be hot plugged into a KVM/qemu VM as a qemu virtio device, e.g. see question KVM and Libvirt - How do I hotplug a new virtio disk?. However, this requires PCI ...
user avatar
0 votes
1 answer
45 views

How to set SELinux boolean using custom policy?

I know that SElinux booleans can be set via setsebool like this: setsebool -P virt_qemu_ga_read_nonsecurity_files 1 But I want to set this boolean virt_qemu_ga_read_nonsecurity_files using custom ...
user avatar
2 votes
3 answers
230 views

virsh autostart not working

root@virtual3:~# virsh autostart nstest Domain nstest marked as autostarted root@virtual3:~# virsh dominfo nstest Id: - Name: nstest UUID: 8cf691cd-7246-442b-a26b-...
user avatar
  • 41
0 votes
0 answers
89 views

Filesystem in KVM-QEMU VM switching to read-only mode although smartctl is not reporting any errors

I have a Debian 10 Host running a Debian 10 virtual machine with QEMU / KVM. In the past few days, I got the "Error: Read-only file system" twice, after the virtual machine was running some ...
user avatar
  • 101
0 votes
0 answers
75 views

How to deny specific broadcast traffic from VM with UFW

This question relates to a Debian server with KVM and a Windows guest running on it and UFW 0.36.1. The server has a local subnet 192.168.0.0/24 and KVM has its own subnet 192.168.122.0/24 through ...
user avatar
  • 361
1 vote
1 answer
76 views

How to use one host server public IP to access multiple guest VMs?

I have a bare metal host server with multiple guest VMs made with QEMU/KVM using Virtual network "default":NAT option. There is only one public IP available. For better illustration: BM ...
user avatar
  • 15

1
2 3 4 5
47