qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: QEMU help output broken


From: Blue Swirl
Subject: [Qemu-devel] Re: QEMU help output broken
Date: Sat, 28 Mar 2009 22:19:17 +0200

On 3/28/09, Blue Swirl <address@hidden> wrote:
> On 3/28/09, Anthony Liguori <address@hidden> wrote:
>  > DEFOPTION() is turning the \n into a 'n' so everything ends up on the same
>  > line.
>  >
>  >  gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
>  >
>  >  Passing arbitrary text into a macro looks very fishy to me.  CPP still 
> uses
>  > a C tokenizer IIRC so you need at least lexically correct C.
>
>
> No, it's a problem with the shell script parser hxtool. The text is
>  already broken in the parsed file (for example sparc-softmmu/)
>  qemu-options.h:
>
>  DEF("M", HAS_ARG, QEMU_OPTION_M,
>  "-M machine select emulated machine (-M ? for list)n")
>
>  I'm pretty certain that both Perl and C hxtool parsers did work.

This patch fixes the problem, but only for sh == bash case.

Attachment: fix_hxtool_munging.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]