Re: [libvirt] [PATCH] virsh: fix forget jump to clean up when set a big bandwidth

2015-03-30 Thread Peter Krempa
On Fri, Mar 27, 2015 at 17:56:29 +0800, Luyao Huang wrote: > We already have a check for this, just add a jump to cleanup and change to > use vshError instead of virReportError. > > Signed-off-by: Luyao Huang > --- > tools/virsh-domain.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions

[libvirt] [PATCH] virsh: fix forget jump to clean up when set a big bandwidth

2015-03-27 Thread Luyao Huang
We already have a check for this, just add a jump to cleanup and change to use vshError instead of virReportError. Signed-off-by: Luyao Huang --- tools/virsh-domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 1d822