Re: [Qemu-devel] [PATCH] iscsi: add error handling for qmp_query_uuid

2013-11-05 Thread Amos Kong
On Tue, Nov 05, 2013 at 10:03:10AM +0100, Paolo Bonzini wrote: > Il 05/11/2013 01:08, Amos Kong ha scritto: > > We can't assume that qmp_query_uuid() always returns available value. > > > > Signed-off-by: Amos Kong > > --- > > block/iscsi.c | 7 +-- > > 1 file changed, 5 insertions(+), 2 del

Re: [Qemu-devel] [PATCH] iscsi: add error handling for qmp_query_uuid

2013-11-05 Thread Paolo Bonzini
Il 05/11/2013 01:08, Amos Kong ha scritto: > We can't assume that qmp_query_uuid() always returns available value. > > Signed-off-by: Amos Kong > --- > block/iscsi.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/block/iscsi.c b/block/iscsi.c > index a2a961e..1f

[Qemu-devel] [PATCH] iscsi: add error handling for qmp_query_uuid

2013-11-04 Thread Amos Kong
We can't assume that qmp_query_uuid() always returns available value. Signed-off-by: Amos Kong --- block/iscsi.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/block/iscsi.c b/block/iscsi.c index a2a961e..1fc1da4 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1059