virsh # pool-list --name
default
root
virsh # pool-list --uuid
76bd3b4d-2d23-4741-b6de-7377fa4320a1
f97964af-a3df-44ff-8664-886729035c09
virsh # pool-list --uuid --name
76bd3b4d-2d23-4741-b6de-7377fa4320a1 default
f97964af-a3df-44ff-8664-886729035c09 root
v2:
do something like 'virsh list`
Chen Hanxiao (3):
virsh: pool-list: introduce --uuid for printing pool's UUID only
virsh: pool-list: introduce --name for printing pool's name only
virsh: pool-list: allow both --uuid and --name in one cmd
tools/virsh-pool.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
tools/virsh.pod | 9 +++++++--
2 files changed, 53 insertions(+), 4 deletions(-)
--
2.5.5