[libvirt] [PATCH 0/5]virsh: solutions for hiding '--shareable' option

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Fri Oct 18 06:42:37 UTC 2013


From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>

As Daniel mentioned, '--shareable' should be hidden from users.
But we had to take care of backwards compatibility.
These patches give solutions to solve these issues.

Chen Hanxiao (5):
  [libvirt]virsh: disable config readonly and shareable in virsh command
  [libvirt]virsh: introduce flags VSH_OFLAG_IGNORE
  [libvirt]virsh: if VSH_OFLAG_IGNORE set, don't show it in '--help'
  [libvirt]virsh: If VSH_OFLAG_IGNORE set, don't auto complete in virsh
  [libvirt]virsh: mark '--shareable' as VSH_OFLAG_IGNORE

 tools/virsh-domain.c | 3 ++-
 tools/virsh.c        | 9 +++++++++
 tools/virsh.h        | 1 +
 tools/virsh.pod      | 3 +--
 4 files changed, 13 insertions(+), 3 deletions(-)

-- 
1.8.2.1




More information about the libvir-list mailing list