于 2013年04月26日 11:35, Eric Blake 写道:
On 04/25/2013 09:19 PM, Zhang Xiaohe wrote:
hi guys,
It's hard for me to understand why doesn't virsh command support an
optional parameter because I think omitting a parameter and offering
a default value sometimes is quite convenient.
For example:
$ virsh
On 04/25/2013 09:19 PM, Zhang Xiaohe wrote:
> hi guys,
>
> It's hard for me to understand why doesn't virsh command support an
> optional parameter because I think omitting a parameter and offering
> a default value sometimes is quite convenient.
>
> For example:
> $ virsh shutdown guest --mode a
hi guys,
It's hard for me to understand why doesn't virsh command support an
optional parameter because I think omitting a parameter and offering
a default value sometimes is quite convenient.
For example:
$ virsh shutdown guest --mode acpi
The option --mode only accept string "acpi", "agent", "