* [Qemu-devel] [PATCH] hxtool: Fix line number reporting on SQMP/EQMP errors
@ 2010-06-02 7:06 Jan Kiszka
2010-06-04 18:07 ` Luiz Capitulino
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2010-06-02 7:06 UTC (permalink / raw)
To: qemu-devel, Anthony Liguori
From: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
hxtool | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hxtool b/hxtool
index d499dc0..7ca83ed 100644
--- a/hxtool
+++ b/hxtool
@@ -59,6 +59,7 @@ hxtoqmp()
{
IFS=
flag=0
+ line=1
while read -r str; do
case "$str" in
HXCOMM*)
@@ -87,6 +88,7 @@ hxtoqmp()
test $flag -eq 1 && echo "$str"
;;
esac
+ line=$((line+1))
done
}
--
1.6.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] hxtool: Fix line number reporting on SQMP/EQMP errors
2010-06-02 7:06 [Qemu-devel] [PATCH] hxtool: Fix line number reporting on SQMP/EQMP errors Jan Kiszka
@ 2010-06-04 18:07 ` Luiz Capitulino
0 siblings, 0 replies; 2+ messages in thread
From: Luiz Capitulino @ 2010-06-04 18:07 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Anthony Liguori, qemu-devel
On Wed, 02 Jun 2010 09:06:03 +0200
Jan Kiszka <jan.kiszka@web.de> wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Looks good.
> ---
> hxtool | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/hxtool b/hxtool
> index d499dc0..7ca83ed 100644
> --- a/hxtool
> +++ b/hxtool
> @@ -59,6 +59,7 @@ hxtoqmp()
> {
> IFS=
> flag=0
> + line=1
> while read -r str; do
> case "$str" in
> HXCOMM*)
> @@ -87,6 +88,7 @@ hxtoqmp()
> test $flag -eq 1 && echo "$str"
> ;;
> esac
> + line=$((line+1))
> done
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-04 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 7:06 [Qemu-devel] [PATCH] hxtool: Fix line number reporting on SQMP/EQMP errors Jan Kiszka
2010-06-04 18:07 ` Luiz Capitulino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).