Run two workloads that require different kernels on one physical host.
Which design is generally appropriate?
When workloads need different guest kernels, use separate virtual machines so each can boot its own kernel.
Detailed explanation
Correct. Separate VMs provide independent guest kernels and isolation boundaries.
Incorrect. Containers on one host normally share its kernel.
Incorrect. Sharing one directory does not provide kernel isolation.
Incorrect. Starting both workloads as one process removes the required isolation.
Try it yourself
An example you can run in a temporary verification environment.
uname -srmExpected result
現在環境のkernel情報。VM作成は行わないKey points
- VM isolation
- Different kernels
- Workload requirement
Notes
- Environment: 一般的なLinux仮想化概念
- 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
Startup speed is only one selection factor; kernel compatibility and the required isolation boundary are decisive constraints.
Check the side effect
Record the kernel and filesystem boundary needed by each workload before choosing a VM, container, or combination.