System Administration Guide: Virtualization Using the Solaris Operating System

virsh Command Structure

Most virsh commands follow the format:

# virsh subcommand domain-id | name | uuid [options]

One of the subcommands listed in the virsh(1M) man page

domain-id, name, or uuid

A domain identifier


An option to a subcommand

Example 40–1 Using a virsh Command

This line connects to a domU named sxc18.

# virsh console sxc18