* Re: getting error when running x86-run
2017-02-14 12:12 ` getting error when running x86-run mwoodpatrick
@ 2017-02-14 13:09 ` Andrew Jones
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jones @ 2017-02-14 13:09 UTC (permalink / raw)
To: mwoodpatrick; +Cc: kvm
On Tue, Feb 14, 2017 at 04:12:22AM -0800, mwoodpatrick@gmail.com wrote:
> I am trying to run x86-run ./x86/msr.flat but am getting the error:
>
> ./x86-run ./x86/msr.flat
> /home/scratch.mwoodpatrick/kvm/fsf/kvm-qemu-bin-64/bin/qemu-system-x86_64 -nodefaults -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -kernel ./x86/msr.flat
> scripts/arch-run.bash: line 32: exec: {stdout}: not found
>
> If I just run:
>
> /home/scratch.mwoodpatrick/kvm/fsf/kvm-qemu-bin-64/bin/qemu-system-x86_64 -nodefaults -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -kernel ./x86/msr.flat
>
> The test passes.
>
> Does the script require a particular version of bash?
The feature it's failing on was introduced with 4.1, but we haven't
attempted to identify/document a minimum bash version. I guess we
probably should.
>
> I'm running:
>
> GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)
> Copyright (C) 2005 Free Software Foundation, Inc.
If the redirection {var} feature is the only one holding you
up, then we can probably change it to using an unused file
descriptor number instead. You can find out if that's enough
by changing all occurrences of stdout in scripts/arch-run.bash
to 3.
>
> On CentOS release 5.7 (Final)
>
Wow, that's a testament to the satisfaction of stability :-)
Thanks,
drew
^ permalink raw reply [flat|nested] 2+ messages in thread