Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

CPU Virtualization · Virtualization Fundamentals

Direct answer

CPU virtualization maps guest vCPU execution onto physical logical processors. Modern x86 platforms use Intel VT-x or AMD-V plus supporting memory-virtualization features so guest kernels can execute efficiently under hypervisor control.

When to use this

Use it for vCPU execution mechanics at a fundamentals level and to separate CPU execution virtualization from device/DMA virtualization.

First 30 seconds

1. CPU virtualization runs guest instructions natively and traps sensitive ones.

2. EPT/NPT (SLAT) avoids shadow page tables.

3. vCPUs are threads scheduled by the hypervisor.

4. CPU model exposed to guests affects features and migration.

5. Overcommit increases wait time (CPU ready/steal).

Operational verification

guest instruction → VT-x/AMD-V → VM exit for privileged ops → hypervisor handles

Evidence · next step

Compare guest CPU demand with host scheduler/physical CPU availability at the same timestamp.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show application efficiency, NUMA locality or device I/O health.

Next check: Compare guest CPU demand with host scheduler/physical CPU availability at the same timestamp.

Operational checks for CPU Virtualization — Common traps: Anchor the same VM/guest operation from virtual device identity through hypervisor ownership to the exact physical CPU, memory, network or storage resource. and state what the evidence does not show.

Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse it for vCPU execution mechanics at a fundamentals level and to separate CPU execution virtualization from device/DM…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

physical logical CPU → hardware virtualization mode → hypervisor scheduler → vCPU → guest thread

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • vCPU is a schedulable virtual processor context, not a permanently dedicated physical core.
  • Intel VT-x and AMD-V provide CPU virtualization capabilities; IOMMU technologies address I/O/DMA remapping.
  • More configured vCPUs do not automatically create more compute throughput.
  • Nested virtualization requires virtualization extensions to be virtualized/exposed to the inner guest.
Key checks
  • grep -o -E 'vmx|svm|ept|npt' /proc/cpuinfo | sort -u — VT and SLAT flags
  • virsh capabilities | grep -A3 '<cpu>' — host CPU model libvirt sees
  • Get-VMProcessor <vm> — Hyper-V vCPU settings
ReferenceWhy it matters1 section · depth on demand

Internals and state

Local intent: CPU virtualization lets a hypervisor safely run guest operating systems using virtual CPUs while retaining control over privileged execution, exceptions and memory-translation context.

ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

A configured or runnable vCPU does not show dedicated physical CPU time or absence of scheduler contention.

Operational checks for CPU Virtualization — Boundary and ownership: Anchor the same VM/guest operation from virtual device identity through hypervisor ownership to the exact physical CPU, memory, network or storage resource. Close with Compare guest utilization with host ready/steal/run-queue and NUMA placement over the same interval, then rerun the original latency/throughput workload. and state what the evidence does not show.

Platform, version and operating-envelope scope

Hypervisor metrics and CPU scheduling names differ across KVM/Proxmox, Hyper-V and VMware releases.

In depth

CPU virtualization lets several VMs share physical processors. Each VM gets virtual CPUs, and the hypervisor scheduler maps them onto physical cores and threads when they have work to do. Modern CPUs provide hardware support (Intel VT-x, AMD-V) so guest code runs directly on the processor, with only privileged operations trapped by the hypervisor.

ConceptMeaning
vCPUVirtual processor seen by the guest
Overcommit ratioTotal vCPUs / physical cores
CPU ready / steal timeTime a vCPU waited for a physical CPU
Co-schedulingKeeping a multi-vCPU VM's vCPUs progressing together
CPU compatibility (EVC)Masks features so VMs can migrate between CPU generations
top          # %st (steal) inside a Linux guest
virsh vcpuinfo app01

Giving VMs more vCPUs than they need often makes them slower, because larger VMs are harder to schedule.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Fundamentals → CPU Virtualization. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
processor virtualizationcpu virtualization extensionsvirtual cpu fundamentals
Embedded reference data

Quick lookup tables

Virtualization Fundamentals → CPU Virtualization reference map

Fast virtualization boundaries for Virtualization Fundamentals → CPU Virtualization.

BoundaryMeaningEvidence limit
pCPU/logical CPUPhysical execution resourceFinite host capacity
vCPUGuest-visible CPU contextScheduled, not necessarily dedicated
VT-x/AMD-VPrivilege virtualization supportNot IOMMU
SchedulerMaps runnable vCPUs to host CPUsCan introduce wait/ready time
Confirmation

Confirm action

Continue?