Displaying 3 results from an estimated 3 matches for "qemu_io_format_raw_args".
2018 Nov 13
1
Re: Further nbdkit patches for Haiku
...; qemuioargs="-f raw"
> > qemu-io -h | grep -- -f > /dev/null 2>&1 || qemuioargs=""
> >
> > qemu-io $qemuioargs ...
> >
> > Seems to work here.
>
> Yes we could do something like that, but perhaps with a better name
> such as ‘$qemu_io_format_raw_args’.
I looked into this further. Unfortunately although we are able to
work around the missing ‘-f’ flag using this technique, we are still
no closer to having the tests pass. This old qemu does not support
various other features we need, at least:
- newstyle protocol
- --image-opts parameter...
2018 Nov 13
2
Re: Further nbdkit patches for Haiku
Le 13/11/2018 à 14:40, Richard W.M. Jones a écrit :
> On Tue, Nov 06, 2018 at 09:02:17AM +0000, Richard W.M. Jones wrote:
>> Finally about the list of failing tests:
>>
>> https://pastebin.com/1PFG85DS
>>
>> Mostly these are because of the old qemu-io binary. The qemu-io -f
>> option was added 4 years ago :-/ so it could be time to upgrade.
>
> FWIW
2018 Nov 13
0
Re: Further nbdkit patches for Haiku
...sibly use something like this?
>
> qemuioargs="-f raw"
> qemu-io -h | grep -- -f > /dev/null 2>&1 || qemuioargs=""
>
> qemu-io $qemuioargs ...
>
> Seems to work here.
Yes we could do something like that, but perhaps with a better name
such as ‘$qemu_io_format_raw_args’.
> > I reproduced this on FreeBSD. The path used in the tests is indeed
> > relative:
> >
> > #!../nbdkit
> >
> > However replacing this with an absolute path did *not* fix the issue.
> > FreeBSD seems to not like running a shell script from a sheban...