> On August 19, 2013 at 6:15 PM Erik Rull <erik.r...@rdsoftware.de> wrote: > > > Luiz Capitulino wrote: > > On Fri, 16 Aug 2013 14:21:50 +0100 > > Peter Maydell <peter.mayd...@linaro.org> wrote: > > > >> On 16 August 2013 08:59, Erik Rull <erik.r...@rdsoftware.de> wrote: > >>> Hi all, > >>> > >>> when using the released qemu-1.6.0.tar.bz2, I get the following error > >>> message: > >>> File "/home/erik/qemu-1.6.0/scripts/qapi.py", line 164 > >>> except QAPISchemaError as e: > >>> ^ > >>> SyntaxError: invalid syntax > >>> make: *** [qmp-commands.h] Error 1 > >> > >> My guess is that your python is older than 2.6; I think > >> the "except Foo as e" syntax is new in 2.6. We probably > >> missed this because most people use a newer Python than > >> 2.6, but configure's check only requires 2.4 or better. > >> > >> We should probably update the scripts to not use overly > >> new features (or alternatively decide that 2.6 is our new > >> minimum -- what do RHEL5 and our other oldest-supported > >> distros ship?) > >> > >> For this specific case I think it needs to change to > >> except QAPISchemaError, e: > > > > Erik, can you try that and post a patch? Would be interesting > > to know if this is the only problem with older python. > > > > Yes, I will try that. I never really tried to send patches to this list... > My python version is 2.4 - as it was assumed already. > > Best regards, > > Erik
This "fixes" it - it compiles successfully, but my guest no longer boots up completely! Windows XP gets a bluescreen and reboots in an infinite loop. Strange is: I was requested to put some "efi*" files now on my target system for handling the network cards (qemu complains at startup via stderr when I don't have them available on my target system). But why? Where can I select to use the "pxe*" files? There seems to be no possibility to select them via ./configure or as qemu command line option. Maybe this is related to the bluescreen? 1.2.0 was working properly. Best regards, Erik