Re: getting error when running x86-run

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

 



On Tue, Feb 14, 2017 at 04:12:22AM -0800, mwoodpatrick@xxxxxxxxx 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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux