Start the defined but inactive libvirt domain vm1.
Which command is appropriate?
virsh start starts a defined inactive domain by name or identifier.
Detailed explanation
virsh create vm1Incorrect. virsh create starts a domain from an XML definition and is not the normal defined-domain action here.
virsh resume vm1Incorrect. resume continues a suspended running domain.
virsh reboot vm1Incorrect. reboot is for an already running domain.
virsh start vm1Correct. virsh start vm1 starts the defined inactive domain.
Try it yourself
An example you can run in a temporary verification environment.
virsh help start 2>/dev/null | head -n 8 || trueExpected result
virshがある場合はstartのhelp。domainは起動しないKey points
- virsh start
- Defined domain
- Inactive
Notes
- Environment: virsh helpのみ
- 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 newly started domain follows its boot path; resuming a suspended domain does not perform the same transition.
Check the side effect
Verify the domain state before and after the lifecycle command with list or domstate.