Linux / KVM
Verify host CPU virtualization extensions
grep -Eo 'vmx|svm' /proc/cpuinfo | sort -u
Operational command for Verify host CPU virtualization extensions. Focus fields: presence of vmx or svm CPU flags.
Use when working the canonical Topic virtualization--nested-virtualization-nested-virtualization-troubleshooting and the matching failure boundary.
verify outer-hypervisor nested-virtualization settings and module parameters before guest changes
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
presence of vmx or svm CPU flagsImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes presence of vmx or svm CPU flags for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
verify outer-hypervisor nested-virtualization settings and module parameters before guest changes
Command guidance
Execution context
Linux / KVM
Use when
Use when working the canonical Topic virtualization--nested-virtualization-nested-virtualization-troubleshooting and the matching failure boundary.
Important fields
presence of vmx or svm CPU flags
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
Known-good: the expected hardware virtualization flag is exposed by the host/outer hypervisor. Suspicious: no virtualization flag is exposed where nested virtualization is required. Next discriminating check: verify outer-hypervisor nested-virtualization settings and module parameters before guest changes.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Illustrative Known-good interpretationKnown-good · Linux / KVM
Illustrative state cue only; not captured output: the expected hardware virtualization flag is exposed by the host/outer hypervisorhealthy
Verify host CPU virtualization extensions — Known-good. Inspect presence of vmx or svm CPU flags. Observed cue: the expected hardware virtualization flag is exposed by the host/outer hypervisor. This supports only the state returned by grep -Eo 'vmx|svm' /proc/cpuinfo | sort -u for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: verify outer-hypervisor nested-virtualization settings and module parameters before guest changes. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes presence of vmx or svm CPU flags for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.verify outer-hypervisor nested-virtualization settings and module parameters before guest changes
Illustrative Transitional interpretationTransitional · Linux / KVM
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.transitional
Verify host CPU virtualization extensions — Transitional. Inspect presence of vmx or svm CPU flags. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by grep -Eo 'vmx|svm' /proc/cpuinfo | sort -u for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: verify outer-hypervisor nested-virtualization settings and module parameters before guest changes. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes presence of vmx or svm CPU flags for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.verify outer-hypervisor nested-virtualization settings and module parameters before guest changes
Illustrative Broken interpretationBroken · Linux / KVM
Illustrative state cue only; not captured output: no virtualization flag is exposed where nested virtualization is requiredbroken
Verify host CPU virtualization extensions — Broken. Inspect presence of vmx or svm CPU flags. Observed cue: no virtualization flag is exposed where nested virtualization is required. This supports only the state returned by grep -Eo 'vmx|svm' /proc/cpuinfo | sort -u for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: verify outer-hypervisor nested-virtualization settings and module parameters before guest changes. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes presence of vmx or svm CPU flags for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.verify outer-hypervisor nested-virtualization settings and module parameters before guest changes