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 vote
1 answer
31 views

nftables ignoring should-be matches, nftables log shows nonsense frames, tcpdump shows expected frames

Having come across some head-scratching behavior with nftables, I am hoping for some community insights. When using the below ruleset in a QEMU-KVM guest, Ethernet frames in chain arp-out-host-wan0 ...
user avatar
0 votes
1 answer
29 views

libvirt nwfilter breaks networking of other VMs

I just switched from VirtualBox to Virt Manager with KVM and I am very happy with the switch (my initial motivation for it was to use the same virtualization for desktop VMs and server VMs by ditching ...
user avatar
  • 1
0 votes
1 answer
14 views

KVM bridge only assiging ipv6 adresses on VM

I use KVM in bridged network mode so I can have a VM that has an IP from the host LAN network. My host (Ubuntu 18.04 server) networking is configured as below : network: ethernets: enp0s31f6: ...
user avatar
0 votes
1 answer
12 views

Qemu VM freezes when using Tap interface on Windows

When I try TAP Interface the qemu, the VM freezes, not sure why. But with -netdev user it doesn't freeze but can't connect to the VM at all. I tested using ESXi and Centos 7 both VM freezes when using ...
user avatar
  • 327
0 votes
0 answers
16 views

Which architecture would be ideal for thousands of tenants that need good isolation

We have a Python app that needs Redis and Mysql. It currently needs to be updated frequently (weekly). This app will be used by thousands of clients soon that all need a separate installation that has ...
user avatar
1 vote
1 answer
14 views

qemu-kvm: prevent host from accessing passthru LVM disks

I am running multiple Ubuntu (5.4.0-117-generic) qemu-kvm hosts. On each I am passing multiple block devices through to VMs thusly: <disk type='block' device='disk'> <driver name='...
user avatar
  • 151
-1 votes
0 answers
24 views

KVM/Qemu reporting wrong CPU model

I just want to ask if is possible that hypervisor can report wrong cpu model and family? KVM/Qemu is running on AMD Epyc 3rd gen Milan, but in VPS when I do lshw or lscpu is reporting AMD Epyc Rome ...
user avatar
0 votes
0 answers
9 views

KVM bridge1 is receiving multicast packets on its interface but not forwarding them to the vnet1 interface of VM

KVM Version : 1.5.3 Bridge 1 is getting packets but not forwarding them to vnet1 10.0.100.1 in the IP of vnet1 (VM interface) 10.2.100.2 is the IP of the device connected to bridge1 (OSPF ...
user avatar
  • 1
0 votes
1 answer
22 views

Shared network attached storage - trunked with multiple vlans?

I am introducing an NFS server which I would like to share with KVM guests across different VLANS. I am trying to find a solution which would strike a good balance between function, serviceability, ...
user avatar
0 votes
0 answers
18 views

Shutdown KVM Guest via rdp

We have multiple OpenSuse VMs running on a server via KVM. Our users access the VMs via Guacamole as a xrdp session. If the VMs are in status "shut off" or "pause" a magic packet ...
user avatar
  • 101
-2 votes
0 answers
9 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
15 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
9 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
19 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
11 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
49 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
  • 5,057
3 votes
2 answers
201 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
10 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
38 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
17 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
153 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
160 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
91 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
49 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
41 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
160 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
81 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
34 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
249 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
173 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
191 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
272 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
35 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
18 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
69 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
221 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
80 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
1k 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
124 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
75 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
72 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
1 answer
143 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
109 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
319 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
187 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
83 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
207 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
98 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
  • 272
0 votes
0 answers
18 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
31 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

1
2 3 4 5
47