Re: [libvirt] [PATCH v2] virsh: Use option alias for outmoded "--persistent"

2012-03-08 Thread Osier Yang
On 2012年03月09日 10:55, Daniel Veillard wrote: On Thu, Mar 08, 2012 at 07:38:57PM +0800, Osier Yang wrote: Since VIR_DOMAIN_AFFECT_{LIVE,CONFIG,CURRENT} was created, all new virsh commands use "--config" to represents the persistent changing. This patch add "--config" option for the old commands w

Re: [libvirt] [PATCH v2] virsh: Use option alias for outmoded "--persistent"

2012-03-08 Thread Daniel Veillard
On Thu, Mar 08, 2012 at 07:38:57PM +0800, Osier Yang wrote: > Since VIR_DOMAIN_AFFECT_{LIVE,CONFIG,CURRENT} was created, > all new virsh commands use "--config" to represents the > persistent changing. This patch add "--config" option > for the old commands which still use "--persistent", > and "--

[libvirt] [PATCH v2] virsh: Use option alias for outmoded "--persistent"

2012-03-08 Thread Osier Yang
Since VIR_DOMAIN_AFFECT_{LIVE,CONFIG,CURRENT} was created, all new virsh commands use "--config" to represents the persistent changing. This patch add "--config" option for the old commands which still use "--persistent", and "--persistent" is now alias of "--config". tools/virsh.c: (use "--config