// Engineering Log
Virtualization: Part 1 — Why it’s needed and how it works
Published on 2026-09-22
// Fast route
This article belongs to the topic Servers and infrastructure.
Virtualization allows you to run multiple independent virtual machines (VMs) on a single physical server. Each VM has its own operating system, its own disks and network interfaces, while the processor, memory and storage devices of the physical server are shared between them. These resources are allocated and the machines isolated from each other by the hypervisor.
How a hypervisor is organized
Modern hypervisors rely on hardware virtualization support in the CPU: Intel VT-x and AMD-V on x86, virtualization extensions on ARM. Without it, full-featured VMs either won’t run or run slowly, so the first thing to check is that support exists and is enabled in the server’s BIOS/UEFI.
Hypervisors are commonly divided into two types.
- Type 1 (bare-metal). The hypervisor is installed directly on the server instead of a regular operating system and manages the hardware itself. Examples — VMware ESXi, Xen, Microsoft Hyper-V. This option is used in data centers and server rooms.
- Type 2 (hosted). The hypervisor runs as a program inside a regular OS: VirtualBox, VMware Workstation, Parallels. It is chosen for workstations, training benches and testing.
KVM doesn’t fit neatly into this scheme. It is a Linux kernel module: after it is loaded the kernel itself becomes the hypervisor while remaining the host’s regular operating system. Therefore KVM is sometimes classified as Type 1 and sometimes as Type 2. In practice, what’s more important is this: VM performance on KVM is close to bare metal, and Proxmox VE, most cloud platforms and Russian virtualization systems are built on it.
What virtualization provides
- Consolidation. Several services that don’t need a whole server run on one physical host, each in its own VM. Fewer servers means lower costs for hardware, electricity and rack space.
- Isolation. A crash or compromise of one VM does not affect the others. Different services don’t conflict due to library versions and OS settings.
- Rapid deployment. A new VM is created from a template in minutes, without purchasing and installing hardware.
- Snapshots. The VM state is captured before an update or experiment; if something goes wrong the machine can be rolled back in seconds. A snapshot is not a substitute for a backup: it is stored on the same storage and is lost with it.
- Full backup. A copy of a VM includes the system, applications and data, so recovery reduces to launching the machine from the copy.
- Live migration. A running VM is moved to another host without stopping it, for example before servicing a server. This requires a cluster of several hosts and shared or replicable storage.
- High availability (HA). If a host in a cluster fails, its VMs are automatically started on the remaining hosts. For a reliable quorum the cluster needs at least three nodes.
Virtual machines and containers
Containers are a different isolation method and are often confused with virtualization.
| Virtual machine | Container | |
|---|---|---|
| OS kernel | each VM has its own | shared with the host |
| Which OSes | any: Linux, Windows, BSD | only Linux user-space environments on a Linux host |
| Isolation | strong, at the hardware level | weaker, at the kernel level |
| Overhead | higher: each VM has its own OS and memory overhead | minimal |
| Startup | tens of seconds | fractions of a second |
There are two kinds of containers:
- system (LXC) — similar to a lightweight VM: inside is a full system with init, services and users. Proxmox VE can run them alongside VMs;
- application (Docker, Podman) — the container runs a single application with its dependencies, and the system is assembled from several such containers.
The technologies do not exclude each other. A typical setup: on the physical server a hypervisor, inside it several VMs, and within the VMs applications run in Docker. VMs provide isolation and convenient backups, containers provide reproducible application deployment.
When virtualization is not needed
- A single service fully saturates the server, so there is nothing to share.
- An application needs direct access to hardware with minimal latency. Passing devices into a VM (PCI passthrough) solves some of these tasks, but requires IOMMU support (Intel VT-d, AMD-Vi) and complicates maintenance.
- The infrastructure is entirely in the cloud: there the provider handles virtualization and you are already renting VMs.
Which part of the series to read
- Proxmox VE (part 2) — a ready-made platform with a web interface, clustering and backup, free of charge. A sensible choice for most small companies.
- VMware vSphere and ESXi (part 3) — the corporate standard of past years. After Broadcom’s acquisition — subscription-only, and sales and support in Russia have been discontinued since 2022. Read this if you plan a migration.
- KVM (part 4) — the foundation of Linux virtualization; managed via libvirt, without a ready-made platform.
- QEMU (part 5) — a device emulator that works together with KVM and also emulates other CPU architectures.
- Xen, XenServer and XCP-ng (part 6) — the oldest open-source Type 1 hypervisor and platforms based on it.
- Hyper-V (part 7) — Microsoft’s hypervisor for Windows Server infrastructure.
// Similar task
If you are dealing with something similar
This article belongs to one of the main working topics. You can keep reading on the topic, go to the homepage to understand what I do, or open the service pages directly.
Article topic
Servers and infrastructure
VPS, Linux, web stack, migrations, hosting, databases, and core operations.
Typical tasks behind this topic
- Move a site or service to a new server
- Set up Linux, Nginx, databases, and backups
- Figure out why the system behaves unstably
// Next step
If you need help with this topic, not just another article, it is better to go straight to the service page. The homepage and topic collection stay available as secondary routes.
Open services// Reviews
Related reviews
I came with an expensive request to configure a VPS server, but during the consultation Mikhail suggested a much simpler, more affordable solution. In the end I saved time and money. Mikhail — a true expert who works for the client's result, not for the fee. I recommend him!
I came with an expensive request to configure a VPS server, but during the consultation Mikhail suggested a much simpler and more cost-effective solution. In the end I saved budget and time. Mikhail — a true expert who …
VPS setup, server setup
2026-05-12 · ★ 5/5
Excellent work! Set up the server very quickly, installed the control panel, and configured the IP. Definitely recommend!
Excellent work! Very quickly set up the server, installed the panel, configured the IP I can definitely recommend it!
Everything was excellent; helped promptly and professionally. Thank you — I recommend them to the community.
Everything's great, helped promptly and professionally, thank you, I recommend it to the community
VPS setup, server setup
2026-04-16 · ★ 5/5
There were several issues concerning both the technical side and overall understanding. Mikhail responded quickly, resolved the technical problems, and helped me understand them — many thanks. I'm satisfied with the result.
There were several issues concerning both the technical side and overall understanding. Mikhail responded quickly to the request, helped sort things out and resolved the technical problems and helped clarify …
VPS setup, server setup
2026-02-18 · ★ 5/5
Everything was done quickly and efficiently. I recommend.
Everything was done quickly and efficiently. I recommend.
VPS setup, server setup
2026-01-17 · ★ 5/5
Everything went well; the contractor responded quickly to questions and helped resolve the issue. Thanks!
Everything went well, the contractor responded quickly to questions and helped resolve the issue. Thank you!
VPS setup, server setup
2025-12-16 · ★ 5/5
// Contact
Need help?
Get in touch with me and I'll help solve the problem
I reply within one business day (03:00-13:00 GMT)
Или оставьте заявку здесь:
// Related