Start a Linux guest VM on a Linux host.
Which statement about the guest OS kernel is correct?
A virtual machine runs its own guest operating-system kernel on virtual CPUs and devices.
Detailed explanation
Incorrect. Sharing a PID namespace describes a container model, not a normal VM.
Incorrect. A VM has a guest kernel.
Correct. The guest runs its own kernel on virtual CPU resources.
Incorrect. A guest does not overwrite the host kernel file as part of normal boot.
Try it yourself
An example you can run in a temporary verification environment.
uname -rExpected result
現在実行中の環境のkernel releaseKey points
- Guest kernel
- Virtual CPU
- Host separation
Notes
- Environment: 一般的な完全仮想化環境
- Use a disposable VM or container when validating lifecycle commands.
- Exact command output can vary slightly by distribution and runtime version.
Foundation review
Identify the layer
A virtual machine can use a different kernel from its host, while a normal container uses the host kernel.
Check the side effect
Use the guest's own uname output or console when verifying its kernel; the host's process view is a different context.