Re: [libvirt] [PATCH] virsh: Avoid undefine active interface

2011-07-16 Thread ajia
On 07/15/2011 12:04 AM, Daniel P. Berrange wrote: On Fri, Jul 15, 2011 at 12:04:17AM +0800, a...@redhat.com wrote: * tools/virsh.c: libvirt should check if current interface is active before undefine the interface, and don't allow to undefine a active interface. --- tools/virsh.c | 10 +++

Re: [libvirt] [PATCH] virsh: Avoid undefine active interface

2011-07-14 Thread Daniel P. Berrange
On Fri, Jul 15, 2011 at 12:04:17AM +0800, a...@redhat.com wrote: > * tools/virsh.c: libvirt should check if current interface is active before > undefine the interface, and don't allow to undefine a active interface. > --- > tools/virsh.c | 10 ++ > 1 files changed, 10 insertions(+), 0

[libvirt] [PATCH] virsh: Avoid undefine active interface

2011-07-14 Thread ajia
* tools/virsh.c: libvirt should check if current interface is active before undefine the interface, and don't allow to undefine a active interface. --- tools/virsh.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index bd6fea7..89