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. Sharing a PID namespace describes a container model, not a normal VM.
Incorrect. A VM has a guest kernel.
Incorrect. A VM has a guest kernel.
Correct. The guest runs its own kernel on virtual CPU resources.
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.
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: 一般的な完全仮想化環境
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.