Use it for vCPU execution mechanics at a fundamentals level and to separate CPU execution virtualization from device/DMA virtualization.
CPU Virtualization · Virtualization Fundamentals
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.
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).
guest instruction → VT-x/AMD-V → VM exit for privileged ops → hypervisor handles
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
grep -o -E 'vmx|svm|ept|npt' /proc/cpuinfo | sort -u— VT and SLAT flagsvirsh capabilities | grep -A3 '<cpu>'— host CPU model libvirt seesGet-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.
| Concept | Meaning |
|---|---|
| vCPU | Virtual processor seen by the guest |
| Overcommit ratio | Total vCPUs / physical cores |
| CPU ready / steal time | Time a vCPU waited for a physical CPU |
| Co-scheduling | Keeping 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Virtualization Fundamentals → CPU Virtualization reference map
Fast virtualization boundaries for Virtualization Fundamentals → CPU Virtualization.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| pCPU/logical CPU | Physical execution resource | Finite host capacity |
| vCPU | Guest-visible CPU context | Scheduled, not necessarily dedicated |
| VT-x/AMD-V | Privilege virtualization support | Not IOMMU |
| Scheduler | Maps runnable vCPUs to host CPUs | Can introduce wait/ready time |