---
title: "Server virtualization: hypervisors, VMs and containers · CloudSat"
description: "Server virtualization explained: type 1 and type 2 hypervisors, KVM, Hyper-V and Proxmox, VMs versus containers, the benefits and risks, and when to rent."
url: https://cloudsat.io/learn/how-server-virtualization-works
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Cloud and hosting](https://cloudsat.io/learn/topic/cloud-infrastructure)

# Server virtualization: hypervisors, VMs and containers

Server virtualization explained: type 1 and type 2 hypervisors, KVM, Hyper-V and Proxmox, VMs versus containers, the benefits and risks, and when to rent.

CloudSat team November 18, 2026 6 min read

Server virtualization splits one physical machine into several isolated virtual machines, each running its own operating system as if it had the hardware to itself. A thin layer of software, the hypervisor, decides which VM gets which CPU time, memory and devices. Nearly every VPS you can rent is a virtual machine, and most company server rooms moved to virtualization long ago. This guide explains the parts, the main platforms and the trade-offs, so you can decide whether to run your own hypervisor or rent the VMs from someone else.

## The moving parts

A virtualized server has three layers:

- **The host**: the physical machine with its CPUs, memory, disks and network cards.
- **The hypervisor**: the software that creates virtual machines and shares the host between them.
- **The guests**: the virtual machines, each with its own kernel, operating system and applications.

Modern hypervisors lean on the processor to do this efficiently. Intel VT-x and AMD-V let guest code run directly on the CPU while the hypervisor keeps control of privileged operations. Second-level address translation (Intel EPT, AMD NPT) maps guest memory to host memory in hardware. An IOMMU (Intel VT-d, AMD-Vi) lets the host hand a whole physical device, such as a GPU, to one guest. Disks and network cards are usually not emulated as real hardware but presented as paravirtual devices, such as virtio, built for speed inside a VM.

## Type 1 and type 2 hypervisors

|  | Type 1 (bare metal) | Type 2 (hosted) |
| --- | --- | --- |
| Runs | Directly on the hardware, or as part of the host kernel | As an application inside a desktop OS |
| Examples | KVM, Microsoft Hyper-V, VMware ESXi, Xen | Oracle VirtualBox, VMware Workstation |
| Built for | Servers, clusters, clouds | Testing and development on a workstation |

KVM is a module of the Linux kernel, so the Linux host itself becomes the hypervisor. It is usually paired with QEMU, which provides the virtual devices, and libvirt, which manages VMs. Hyper-V works the same way from the other side: once the role is enabled, Windows runs on top of the hypervisor as a privileged partition.

## Three ways to virtualize

| Approach | How it works | Guest systems | Isolation |
| --- | --- | --- | --- |
| Full virtualization (hardware-assisted) | The guest runs unmodified on virtual hardware | Any OS for the CPU architecture, Windows included | Strong: separate kernels |
| Paravirtualization | The guest knows it is virtual and uses special drivers | Systems with those drivers | Strong |
| OS-level (containers) | Processes share the host's kernel, separated by namespaces and cgroups | Linux on a Linux host | Weaker: one shared kernel |

In practice, today's VMs mix the first two: hardware-assisted CPU and memory, with paravirtual drivers for storage and network. Containers (LXC, Docker, Podman) are not a lighter kind of VM but a different tool. They start in seconds and pack densely, yet every container depends on the host kernel, and a kernel flaw affects all of them. Container-based VPS products also inherit that kernel: you cannot load your own modules or run a different OS.

## The platforms you will meet

| Platform | Built on | License model | Typical use |
| --- | --- | --- | --- |
| KVM with QEMU and libvirt | The Linux kernel | Open source | Most Linux clouds, self-built hosts |
| Proxmox VE | Debian, KVM and LXC | Open source (AGPL), optional paid support | Small clusters, labs, small businesses |
| Microsoft Hyper-V | A Windows Server role | Included in Windows Server licensing | Windows-centric environments |
| VMware vSphere (ESXi) | Proprietary | Commercial subscriptions | Large enterprises |
| Xen and XCP-ng | The Xen Project hypervisor | Open source | Some clouds, XCP-ng clusters |

Licensing deserves a look before you pick. Windows Server Standard covers two Windows VMs once every physical core of the host is licensed, while Datacenter covers unlimited Windows VMs on that host. That rule shapes many small-business virtualization budgets more than the hypervisor does.

## What virtualization buys you

- **Consolidation.** Several underused physical servers become VMs on one well-sized host, with fewer machines to power, cool and maintain.
- **Isolation.** A crash, a runaway process or a compromised app stays inside its VM.
- **Snapshots and templates.** Capture a VM before a risky change and roll back in minutes, or clone a tested build instead of installing from scratch.
- **Hardware independence.** A VM moves to a new host without reinstalling. Clustered platforms can even migrate running VMs between hosts to empty one for maintenance.
- **Cheap test environments.** A staging copy of production costs a VM, not a server.

## What it costs you

- **Contention.** VMs share CPU, memory bandwidth and disk. An overloaded host shows up inside guests as steal time (`st` in `top`) and uneven disk latency.
- **A bigger single point of failure.** Ten VMs on one host fail together when that host does. High availability needs a cluster and shared or replicated storage, which adds cost and skills.
- **Sprawl.** Creating a VM is so easy that forgotten ones pile up, unpatched and unmonitored. Keep an inventory with owners and expiry dates.
- **A new attack surface.** Hypervisors have bugs too. VENOM (CVE-2015-3456) let code escape a guest through QEMU's virtual floppy controller, and CPU side-channel flaws such as Spectre and Meltdown forced patches into hypervisors, kernels and microcode. Patch hosts as seriously as guests.

## Check what your hardware supports

On a Linux machine, these commands tell you whether the CPU offers hardware virtualization and whether you are already inside a VM:

```bash
grep -Ec '(vmx|svm)' /proc/cpuinfo
lscpu | grep -i virtualization
systemd-detect-virt
virt-host-validate
```

A count above zero on the first line means the CPU exposes VT-x (`vmx`) or AMD-V (`svm`). `systemd-detect-virt` prints `none` on bare metal or the hypervisor's name, such as `kvm` or `microsoft`, inside a VM. `virt-host-validate`, part of the libvirt tools, checks everything a KVM host needs. Inside a VPS, `vmx` and `svm` only appear when the provider enables nested virtualization.

## Run your own hypervisor or rent VMs?

Run your own when the workload is steady and predictable, data must stay on hardware you control, or you need many small VMs whose combined rental would cost more than a host. Budget for the parts that do not show up in a hardware quote: spare capacity, backups that leave the building, and someone who can fix the host at 3 AM.

Rent VMs when you want no hardware at all, need machines in several countries, or expect demand to change. The provider runs the hypervisor, the spare parts and the network. Two middle paths exist. CloudSat enables [nested virtualization](https://cloudsat.io/nested-virtualization) on plans with 8 GB of RAM or more, for 11% on top of the plan price, so you can try Proxmox VE or Hyper-V inside a VPS, and [bare metal servers](https://cloudsat.io/bare-metal-servers), quoted on request from $79.20/mo, give you the whole machine for a hypervisor of your own.

## FAQ

### Is a VPS a virtual machine?

Usually, yes. KVM-based VPS plans are full virtual machines with their own kernel. Some budget products are containers instead, which share the host's kernel; check before you buy if you need custom kernel modules, Docker with all features, or Windows.

### Are containers replacing virtual machines?

No. They solve different problems and usually work together: in most clouds, containers run inside VMs, which provide the hard isolation between customers while containers package the applications.

### How much performance does virtualization cost?

With hardware assistance and paravirtual drivers, CPU-bound work runs close to native speed. The bigger variable is contention: how busy the host is and how it shares disks and network. That is why the same specs can perform differently on different platforms.

### Can I run Proxmox or Hyper-V inside a VPS?

Only if the provider exposes the CPU's virtualization extensions to your VM, which is what nested virtualization means. Without it, the hypervisor installs but cannot start hardware-accelerated guests.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in Cloud and hosting](https://cloudsat.io/learn/topic/cloud-infrastructure)

- [HDD or SSD for a server: choosing storage by workload](https://cloudsat.io/learn/hdd-or-ssd-for-servers): Cloud and hosting HDD or SSD for a server: choosing storage by workload 6 min read
- [Small business server: build it, buy it or rent it](https://cloudsat.io/learn/small-business-server-build-buy-or-rent): Cloud and hosting Small business server: build it, buy it or rent it 6 min read
- [Check the OS and kernel version on Linux and Windows](https://cloudsat.io/learn/check-os-and-kernel-version): Linux Check the OS and kernel version on Linux and Windows 6 min read
- [Proxmox VE vs VMware vSphere, plus the alternatives](https://cloudsat.io/learn/proxmox-ve-vs-vmware-and-alternatives): Cloud and hosting Proxmox VE vs VMware vSphere, plus the alternatives 7 min read
