All apps/libvirt

libvirt

libvirt

A toolkit to interact with virtualization capabilities through a common API.

Runs as virsh, virt-admin, virt-host-validate|macOS, Linux, Windows|libvirt.org

Command form

ai-draft · 4 tasks · 15 fields

Manage libvirt guest domains with virsh: list, start and gracefully shut down. The connect URI is a global option. virt-admin and virt-host-validate are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui libvirt
virshExample values, fixed in this page — nothing here reaches a terminal
Basic
Connection URI*
string
Read-only connection
--readonly
Quiet
--quiet
TasksEach one presets the form for one job
Read-only connection
connectreadonlyquiet
ParametersOnly these flags are editable in the form
Connection URI
For example qemu:///system or qemu:///session.
string
--connect-cqemu:///systemqemu:///session
Read-only connection
boolean
--readonly-r
Quiet
boolean
--quiet-q

virsh list

List domains

Print information about domains; running ones by default.

List domainsExample values, fixed in this page — nothing here reaches a terminal
Basic
All domains*
--all
Advanced
Show UUIDs
--uuid
Show titles
--title
TasksEach one presets the form for one job
List every domain
alluuidtitle
ParametersOnly these flags are editable in the form
All domains
boolean
--all
Inactive only
boolean
--inactive
Names only
boolean
--name
Show UUIDs
boolean
--uuid
Show titles
boolean
--title
Autostart only
boolean
--autostart

virsh start

Start a domain

Start a previously defined inactive domain.

Start a domainExample values, fixed in this page — nothing here reaches a terminal
Basic
Domain*
string
Attach to console
--console
Start paused
--paused
TasksEach one presets the form for one job
Start a domain
domainconsolepaused
ParametersOnly these flags are editable in the form
Domain
Domain name or UUID.
string · positional 0
Attach to console
boolean
--console
Start paused
boolean
--paused
Force fresh boot
Discards any managedsave state.
boolean
--force-boot

virsh shutdown

Shut down a domain

Gracefully shut down a domain; there is no guarantee it succeeds.

Shut down a domainExample values, fixed in this page — nothing here reaches a terminal
Basic
Domain*
string
Shutdown mode
string
TasksEach one presets the form for one job
Shut down a domain
domainmode
ParametersOnly these flags are editable in the form
Domain
Domain name or UUID.
string · positional 0
Shutdown mode
Comma-separated list of methods to try.
string
--modeacpiagentinitctlsignalparavirt
SourcesEvery flag above is checked against these
man
virsh [OPTION]... COMMAND [ARG]... -c, --connect URI Connect to the specified URI, as if by the connect command, instead of the default connection. -r, --readonly Make the initial connection read-only -q, --quiet Avoid extra informational messages.
manual2026-10

manpages.debian.org

man
list [--inactive | --all] [--managed-save] [--title] { [--table] | --name | --id } [--uuid] [--autostart] [--no-autostart] [--state-running] [--state-paused] [--state-shutoff] [--state-other] Prints information about existing domains. If no options are specified it prints out information about running domains.
manual2026-10

manpages.debian.org

man
start domain-name-or-uuid [--console] [--paused] [--autodestroy] [--bypass-cache] [--force-boot] [--pass-fds N,M,...] [--reset-nvram] Start a (previously defined) inactive domain If --force-boot is specified, then any managedsave state is discarded and a fresh boot occurs.
manual2026-10

manpages.debian.org

man
shutdown domain [--mode MODE-LIST] Gracefully shuts down a domain. the --mode parameter can specify a comma separated list which includes acpi, agent, initctl, signal and paravirt.
manual2026-10

manpages.debian.org

Before it fills your prompt, Otty checks the installed virsh against its version. A form that does not match your version is not offered.