VIRSH_COMMON_OPT_DOMAIN_FULL(0),
{.name = "device",
.type = VSH_OT_STRING,
+ .positional = true,
.completer = virshDomainDiskTargetCompleter,
.help = N_("block device")
},
{.name = "device",
.type = VSH_OT_STRING,
.flags = VSH_OFLAG_EMPTY_OK,
+ .positional = true,
.completer = virshDomainDiskTargetCompleter,
.help = N_("block device")
},
VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = "interface",
.type = VSH_OT_STRING,
+ .positional = true,
.flags = VSH_OFLAG_NONE,
.completer = virshDomainInterfaceCompleter,
.help = N_("network interface name")},
},
{.name = "size",
.type = VSH_OT_INT,
+ .positional = true,
.help = N_("New size of the block device, as scaled integer (default KiB)")
},
{.name = "capacity",
VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = "mode",
.type = VSH_OT_STRING,
+ .positional = true,
.completer = virshDomainShutdownModeCompleter,
.help = N_("shutdown mode: acpi|agent|initctl|signal|paravirt")
},
VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = "mode",
.type = VSH_OT_STRING,
+ .positional = true,
.completer = virshDomainShutdownModeCompleter,
.help = N_("shutdown mode: acpi|agent|initctl|signal|paravirt")
},
},
{.name = "type",
.type = VSH_OT_STRING,
+ .positional = true,
.help = N_("select particular graphical display "
"(e.g. \"vnc\", \"spice\", \"rdp\", \"dbus\")")
},
},
{.name = "source",
.type = VSH_OT_STRING,
+ .positional = true,
.help = N_("source of the media")
},
{.name = "eject",
},
{.name = "file",
.type = VSH_OT_STRING,
+ .positional = true,
.completer = virshCompletePathLocalExisting,
.help = N_("optional file to read keys from"),
},