start
Starts a defined virtual server that is shut off or crashed.
Syntax
Where:- <VS>
- Is the name, ID, or UUID of the virtual server.
Selected options
- --autodestroy
- Destroys the virtual server when virsh disconnects from libvirt.
- --bypass-cache
- Does not load the virtual server from the cache.
- --console
- Connects to a configured pty console.
- --domain
- Specifies the virtual server.
- --force-boot
- Any saved system image is discarded before booting.
- --paused
- Suspends the virtual server as soon as it is started.
Virtual server state transitions
| Command option | From state (reason) | To state (reason) |
|---|---|---|
| start | shut off (unknown) | running (booted) |
| start | shut off (saved from running) | running (restored) |
| start | shut off (saved from paused) | paused (migrating) |
| start | shut off (shutdown) | running (booted) |
| start | shut off (destroyed) | running (booted) |
| start | crashed | running (booted) |
| start --force-boot | shut off (unknown) | running (booted) |
| start --force-boot | shut off (saved from running) | running (booted) |
| start --force-boot | shut off (saved from paused) | paused (user) |
| start --force-boot | shut off (shutdown) | running (booted) |
| start --force-boot | shut off (destroyed) | running (booted) |
| start --paused | shut off (unknown) | paused (user) |
| start --paused | shut off (saved from running) | paused (migrating) |
| start --paused | shut off (saved from paused) | paused (migrating) |
| start --paused | shut off (shutdown) | paused (user) |
| start --paused | shut off (destroyed) | paused (user) |
Usage
Example
This example starts virtual server vserv1 with initial
console access.
# virsh start vserv1 --console
Domain vserv1 started
