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
0
votes
1answer
9 views

KVM trying to restore from backup and getting error unexpected data

Hello I made a backup of a VM guest with these steps: 1. virsh dumpxml --migratable test > /backup/test.xml 2. virsh snapshot-create-as --domain test \ --name backup....
0
votes
0answers
15 views

Getting error “libosinfo: Unexpected file type (0)” when trying to create or open VM in virt-manager

I get the following error when clicking “Open” or “Create a new virtual machine” in virt-manager: Error launching details: libosinfo: Unexpected file type (0) Traceback (most recent call last): ...
0
votes
1answer
15 views

Partition of mdadm raid0 array passed through to win10 20H2 via virto driver is suddenly lost. How can I figure out why?

I have checked the logs. System has been working for a month then suddenly they could not see the drive on network. It is a linux file server with a virtual windows on top of it ... Virtual windows ...
0
votes
0answers
53 views

libvirt Windows 10 VM issue

I am running Manjaro KDE and I have managed to setup a Windows 10 VM with GPU passthrough for Windows things and it was working great until I noticed a weird behavior. When I try to reboot the VM, or ...
0
votes
0answers
17 views

Live backup for vm guest with qcow2 format

I have created VM guest "my_container" with format qcow2. So when I run command virsh domblklist my_container I am getting this information: [root@mainmachine ~]# virsh domblklist ...
1
vote
0answers
13 views

Not able to access the console when I install a guest VM on a KVM

I am trying to write a script for installing a guest VM on a KVM using virt-install. I have a knoppix live cd based iso. The underlying OS is Debian 6.0.2. I am using this command to install the guest ...
0
votes
0answers
41 views

Debian Stuck at Booting from Hard Disk after installation on KVM

I'm trying to install Debian on Qemu-KVM on RouterOS v5.25 I tried : debian-10.8.0-i386-netinst.iso debian-8.11.0-i386-kde-CD-1.iso debian-live-9.0.0-i386-gnome.iso on disk image created using : qemu-...
0
votes
2answers
66 views

KVM hosts to be accessible from outside world for server purpose In centos 7

Today i just ran into a problem i just wanted to ask a question to all of you I have just install kvm in my system and i have some how managed to get a node installed and working in the system Now ...
0
votes
0answers
51 views

Ubuntu Installation on Qemu/KVM Black Screen

I'm trying to install Ubuntu or higher on KVM. I have tried installing 14.04.6 LTS / 16.04.7 LTS and 18.04.5 LTS First i create Qemu Disk Image : qemu-img.exe create -f raw hdd.img 5G and when i boot ...
0
votes
0answers
33 views

How do I create a Private Network Bridge between two KVMs through virt-manager?

I have a server hosting a firewall as a KVM with two Ethernet devices assigned as passthrough. The firewall is OPNsense. On the same server I want to run another server as a KVM and pass all the ...
1
vote
0answers
21 views

Correct SELinux labels for a kvm/qemu user session VM shared folder

I am trying to set up a shared folder using the 9p protocol for a kvm/qemu VM that runs on the user session (so the qemu process runs as me, not as root). Mounting the shared folder in guest works ...
0
votes
0answers
36 views

SSH to VM that is connected to VPN through HOST public ip (NAT)

I am facing a similar problem discussed here, but my configuration is a bit different. I have a VPS [host] - with a public ip - running a vm [guest] that connects to a VPN server (out of my control) ...
0
votes
0answers
25 views

Why set primary interface to `manual` (off) when adding a bridge network?

I am playing around with KVM and bridge network on a Debian 10 Host Many tutorials tell to set the /etc/network/interfaces to something like this: # The primary network interface auto eth0 iface eth0 ...
1
vote
0answers
23 views

error: internal error: Child process /sbin/parted - unexpected exit status 1: Error: You requested a partition from

# fdisk -l /dev/sdb Disk /dev/sdb: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/...
1
vote
0answers
41 views

Hyper-V 2016 vs KVM Performance

We have 2 VM clusters here with identical hardware, all fully patched to latest levels. We have been testing running some linux workloads on the 2016 cluster and found a big difference in performance. ...
2
votes
1answer
63 views

Reducing idle CPU usage of Windows Server 2019 Datacenter Core VM

I'm moving a few installations to Windows Server Datacenter Core 2019 running in KVM VMs on Linux hosts. My first Windows VM has, when it's idle, a bit more than 32000 VM exits per second, half of ...
0
votes
1answer
60 views

Migrate VM Proxmox to Vmware

I have a VM on proxmox with a vmdk harddrive on a IDE controller (it's a Windows Server 2019 VM) I want to import the HD into a VM on Vsphere (ESXi 7). I just copy the vmdk into the VM folder of the ...
0
votes
1answer
18 views

Attach a host network interface to a VM and ping other hosts

I have an Ubuntu 18.04 host with a pr0 interface, that is connected, via a hardware bridge, to other hosts in the network. I have created a virtual machine (at my host), using KVM (virsh) and I want ...
0
votes
0answers
16 views

Old KVM Guest not starting after reboot

I have a bunch of Virtual Machines in a Ubuntu 18 Guest machine. Until recently they have all been working without any problem. However after I restartet one of the Guests(also Ubuntu) it is now not ...
-1
votes
1answer
55 views

Is it possible to run a VM without actually enabling virtualization settings in BIOS?

I am trying to launch a VM with QEMU KVM on a Linux system but I am unable to actually make it work. It just doesn't start. But I figured out that I need to enable virtualization from BIOS settings to ...
0
votes
0answers
13 views

TCP Connections dropping on KVM guests

I am having an issue with my KVM guest dropping connections on my bungeecord Minecraft server, and I have no idea where the issue is coming from. All Minecraft servers are on the same guest VM and are ...
0
votes
0answers
12 views

KVM - Restore metadata of VMs

Is there a way to restore VMs metadata which were located on KVM that was rebuilt? We tried to upgrade one of our KVMs today, and during this process we encountered some issues which led us to rebuild ...
-1
votes
1answer
118 views

boot from cdrom !! kvm -machine pc-i440fx-2.1 [closed]

I am trying to follow the instructions in the following article https://docs.j7k6.org/vmware-esxi-hetzner-install-kvm-linux/ I start the VM by the following command kvm -machine pc-i440fx-2.1 \ -cpu ...
0
votes
1answer
129 views

VLAN support with libvirt for linux bridge to virtual machines

I'm using systemd-networkd to configure network interfaces managed by libvirt for KVM (Kernel-based Virtual Machine) with Debian Bullseye on all nodes. I want to have transparent VLAN support on the ...
1
vote
1answer
41 views

KVM Live Migration- VM is already active

I'm trying to perform a live migration from one KVM host to another, both SLES12SP5, share the same subnet. 'kvm_one' hosts the server 'login01'. 'kvm_two' hosts no servers. Executing the following ...
0
votes
1answer
58 views

Arch Linux - QEMU override System Manufacturer on Windows 10

I've fully virtualized a VM with windows 10 on QEMU and had to do host-passthrough in order for it to work. Because there's no way to set SMBIOS to reflect the host, I want to know if there's any way ...
0
votes
0answers
43 views

Virtual storage drive will not mount on virtual machine, read only error

I am running a Ubuntu 18.04 server with kimchi/wok. I use it to run an influx database. Yesterday I noticed my database was not recording data. I tried rebooting my virtual server which uses a ...
0
votes
1answer
24 views

KVM Virtualization Server - One physical disk(SSD) every virtual machine

In terms of performance, is it better to have one "big" SSD disk for several (lets say 5) virtualized guests, or a single smaller SSD disk for every virtual machine? any general draw back ...
0
votes
1answer
72 views

QEMU / KVM - Dedicated 802.1q VLAN for each VM - Communication only via router

I have a Linux firewall router (dedicated machine) with multiple ethN interfaces (my "big firewall"). All forwarded traffic is filtered by a set of iptables rules (default policy DROP). ...
1
vote
1answer
52 views

Raw LVM disk write is four times faster on host than inside KVM guest?

I've got a Debian 10.6 Host, with a Debian 10.6 guest. KVM/Qemu/libvirt. The host has a software RAID 10 array with 6 mechanical disks. LVM is on top of the RAID array. One LV is passed into the guest ...
0
votes
0answers
16 views

Linux bridge does not forward packets to TAP interface

I have the following scenario where I run a Docker container which has configured inside of it a Linux bridge br0 and attached to it I have the main interface eth0 of the container and a TAP interface ...
0
votes
0answers
23 views

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it ...
0
votes
0answers
66 views

How to enable nested virtualization in order to use VirtualBox inside of a KVM virtual machine?

We have a KVM hypervisor (L0, AMD, Kernel: Linux level0kvmhypervisor 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux), which runs a virtual machine that I would like to use as a ...
1
vote
0answers
33 views

Can't see docker ports from external machines when using a veth interface with an OPNSense KVM

Quick summary of the setup: Ubuntu Server 20.04 with 4 network ports OPNsense router running in libvirt KVM One port is WAN, three ports are LAN (bridged) Router works great Server (same one running ...
0
votes
0answers
31 views

CPU frequency in KVM vps

Is it possible to display CPU max and min frequency in a KVM vps using Libvirt on server ? It only shows CPU mhz in vps and not max and min mhz as seen on server in lscpu command output.
1
vote
0answers
37 views

Resizing VM's size having only boot partition

I've to increase my KVM guest's partition, I followed steps as explained in the accepted answer here. For step 3, there's a link mentioned in the accepted answer comment section (tried to paste it ...
1
vote
1answer
36 views

KVM quests “stuttering”/“freezing” intermittently on Debian 10

I'm using KVM on Debian 10 as host and for now two guests that are Debian 10 as well. The guests are "stuttering" frequently, what I mean by that is that like at least several times an hour ...
0
votes
1answer
35 views

Ubuntu KVM - Bridge - Isolate Host from NIC

I have a Ubuntu Server with 4 physical NICs. 2 of them, i want to "hide" from the Host, so the host itself may not access traffic on those 2 nics, just the VM where i pass them into (...
1
vote
0answers
37 views

KVM DNS forwarding not working / reply: REFUSED

I've set up a couple of VMs for development purposes for a project. The setup includes a local CA for the past, current and future project VMs. On the guest if can do dig staging.testing.lan and get ...
0
votes
1answer
29 views

Does add more memory RAM decrease I/O wait?

My server is Ubuntu KVM and has 2 cores, 4GB RAM, and I use HDD, at moment I can't swap HDD to SSD. I found this answear (https://unix.stackexchange.com/a/463819/351968) saying that adding more memory ...
-1
votes
1answer
31 views

KVM with 1 vCPU has CPU load above 1

I have a KVM running with 1 vCPU on a machine with 4 cores. lscpu in the KVM gives me 1 CPU with 1 core : Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte ...
1
vote
1answer
129 views

Routing with nftables (Fedora33, nmcli, brctl)

A/ Host (Fedora 33) with Ethernet if eth0. ip 192.168.18.11(/24) and B1/ Kvm guest with if vnet0 enslaved to virbr101. ip 192.168.101.88(/24) (manual routing, static IP) or B2/ Kvm guest with if vnet1 ...
0
votes
1answer
29 views

Where is virsh save directory location defined

The default location of the virsh save myVm goes into /var/lib/something which makes my slash partition full on a Vm save, which is really anoying. I could not figure out where is the virsh save myVm ...
0
votes
0answers
175 views

Ubuntu 20.04 LTS Server - KVM with Spice or VNC

I am wondering if anyone has gotten Spice Server or VNC Server to work remotely on ubuntu 20.04? I would be glad to make a video tutorial once I have it working correctly because I can barely find ...
2
votes
0answers
51 views

Same sysctl kernel parameters for KVM host and guest

I need to set up a KVM guest with the following sysctl kernel parameters: net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 ...
0
votes
1answer
46 views

How to configure properly DRBD and KVM replication?

I have two CentOS KVM servers with some virtual machines: A and B I am running as Primary on A and Secondary on B. When A fails I am able to switch DRBD on B to Primary and access the disk images ...
0
votes
0answers
23 views

how can I utilize a gpu blade server running linux with remote KVMs?

If it possible to combine SR-IOV capable amd cards with linux NTB device Lending so that we can utilise many virtual gpus on KVM's from a remote location, which one is it ? It seems there are three ...
6
votes
2answers
281 views

ZFS inside of virtual machine?

Are there any technical reasons why I shouldn't use ZFS file system inside a VM on a hypervisor on top of hardware RAID? schema.png
1
vote
0answers
71 views

ASMB8-IKVM firmware update

I'm trying update firmware that there is 1.08 to more recent, I look in site official but not gotch result, all versions are defined with "unsuccessful" in verifying the firmware image ...
0
votes
0answers
21 views

iptables not filtering after applying filtering rules to KVM based VM

I am following this serverfault post as I want the guest Centos7 Virtual Machine to access the internet but have no access to any LAN network. My Host machine is Red Hat 7. Here is the output of ...

1
2 3 4 5
44