Posts with #kvm

Linux

Sun, May 31, 2026

3 min read

How We Set Up Our KVM Hypervisor: From Bare Metal to Production-Ready VM Host

Detailed walkthrough of building a dedicated KVM/libvirt hypervisor with XFS tuning, hugepages, 10GbE tuning, and automation.

Linux

Fri, April 17, 2026

2 min read

Building a Predictable KVM Infrastructure: From Chaos to Control

How to engineer a predictable KVM-based infrastructure focusing on repeatability, observability, and operational safety.

Linux

Sun, December 28, 2025

1 min read

Virt-sparsify

How to use virt-sparsify to reclaim unused disk space from qcow2 VM images.

Linux

Sat, December 27, 2025

2 min read

Modular vagrant file

How to structure a modular Vagrantfile using separate .rb config files for resources, disks, and networks.

Linux

Thu, December 18, 2025

1 min read

Installing kvm on debian 13

Step-by-step guide to installing KVM virtualization on Debian 13 (Trixie).

Linux

Tue, December 16, 2025

2 min read

Installing eve-ng on ubuntu 24.04 LTS

Step-by-step guide to installing EVE-NG on Ubuntu 24.04 LTS bare metal server for running network labs.

DevOps

Fri, December 5, 2025

3 min read

Setting up chef dev environment

Building a Practical Chef Lab on KVM and Vagrant that mirrors real infrastructure far better than desktop hypervisors.

Linux

Wed, February 15, 2023

1 min read

init vs systemd

Installing eve-ng on ubuntu 24.04 on BareMetal server for running as a type 1 hypervisor.

Linux

Sat, February 5, 2022

3 min read

openSUSE Tumbleweed Vagrant libvirt image.

Spin up an openSUSE Tumbleweed VM quickly using Vagrant with the libvirt provider on your laptop.

Linux

Tue, October 2, 2018

2 min read

Converting vmware vmdk images to kvm qcow2 images

Red hat certifications are one of the most demanding in the IT industry, I wanted to get started with planning working towards getting RHCE certified.

Linux

Sun, September 30, 2018

1 min read

Setting default gateway from virsh-net command line

Generally when a network is configured from virsh-define for a particular range say 192.168.4.0 it gateway will be automatically assigned to 192.168.4.1.

Linux

Thu, April 19, 2018

1 min read

No internet on kvm guests.

After setting up bridge network on network interface enp9s0, kvm guests had issues with accessing ssh, internet.

Linux

Mon, April 16, 2018

1 min read

Openvswith with kvm bridge network.

Openvswitch is a virtual switch production level software, that can be used in virtual switch in VM environments like kvm, virtualbox etc.

Linux

Fri, April 6, 2018

2 min read

kvm performance tuning.

Set swappiness to 10, swap space will be used at or 90% usage of system ram, generally on linux systems, this value is set to 60.

Linux

Fri, April 6, 2018

1 min read

Openvswitch on fedora with kvm.

Openvswitch is the software used on both physical and virtual environments to implement L2 switching.

Linux

Thu, April 5, 2018

2 min read

kvm/qemu pxe boot setup on fedora.

KVM supports diskless booting of operating systems over a network, kvm default network can be configured to act as a pxe server.

Linux

Sun, April 1, 2018

1 min read

Scheduling disk I/O on fedora 26

By default on Linux machines CFQ I/O scheduler is used. For virtualization like KVM, VMware it needs to have optimized throughput using deadline or noop scheduler.

Linux

Sun, April 1, 2018

1 min read

Virt-manager error on fedora 26

virt-manager is a graphical tool to manage KVM VMs on a host, due to some dependency or reinstall of libvirt can cause virt-manager to show ImportError: No module named libvirt.

Sat, March 31, 2018

1 min read

Libvirt volume management

On libvirt default storage pool is created called default, default pool will be defined to use location /var/lib/libvirt/images for file based volumes.

Linux

Fri, March 30, 2018

1 min read

Creating VM on KVM hosts with kickstart file

virt-install can be used to provision kickstart while installing, this provides an answer file to all the settings required to install OS.

Linux

Thu, March 29, 2018

1 min read

Enabling VNC access to KVM hosts on node

By default VNC listens only on localhost or its own IP address, to make libvirt VNC listen on all interfaces edit the qemu.conf file.

Thu, March 29, 2018

2 min read

KVM custom storage pool on LVM partition

Libvirtd by default has a storage pool called default, we can create additional storage pools from a simple XML file.

Linux

Thu, March 29, 2018

2 min read

LVM disk management on fedora 26

With standard partition layout we can have maximum 4 primary partitions (considering MBR). With LVM we can create number of partitions.

Linux

Wed, March 28, 2018

1 min read

Minikube (all in one host kubernetes) on fedora 26

Setting up Minikube with KVM driver on Fedora 26 to run a local Kubernetes cluster.

Linux

Sat, March 24, 2018

2 min read

Vagrant making VMs setup easy

Vagrant enables users to create and configure lightweight, reproducible, and portable development environments.

Linux

Fri, March 16, 2018

2 min read

Configuring dhcp static ip assignment to kvm host vms

Libvirtd by default uses dnsmasq to provide ip address for kvm host vms automatically when libvirtd daemon is started.

Linux

Tue, March 13, 2018

1 min read

Trying ansible on vagrant libvirt

vagrant box for ansible is available for only virtualbox to use with libvirt we need vagrant-mutate plugin to convert it to libvirt.

Linux

Thu, March 8, 2018

1 min read

fixing polkit authentication when accessing libvirt as non root user remotely

kvm command line tool virsh when access remotely will ask for authentication, which is quite annoying at times to fix this we can add a polkit rule to allow users to access libvirt daemon.

Linux

Tue, March 6, 2018

2 min read

Libvirt / kvm basics

Check whether the host supports virtualization with grep -E 'svm|vmx' /proc/cpuinfo, then install kvm and manage virtual machines with virsh.

Linux

Mon, March 5, 2018

1 min read

setting up kvm on fedora 27

KVM stands for Kernel based Virtual-machine which provides capabilities to run multiple multiple hosts on a system.

Linux

Fri, February 23, 2018

1 min read

Setting up a kvm bridge on fedora 26

Configure a Linux software bridge for KVM virtual machines on Fedora 26.

Linux

Sat, February 10, 2018

2 min read

Using vagrant with kvm

Install Vagrant and use it with the KVM/libvirt provider on Fedora 26.