[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config ar
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument |
Date: |
Sat, 6 Jun 2015 11:50:10 +0300 |
> On 06 Jun 2015, at 01:54, Peter Maydell <address@hidden> wrote:
>
> On 5 June 2015 at 22:11, Liviu Ionescu <address@hidden> wrote:
>>
>>> On 05 Jun 2015, at 23:09, Leon Alrae <address@hidden> wrote:
>>> ... how the
>>> TARGET_SYS_GET_CMDLINE should behave if cmdline is not available,
>>> whether should return -1 or pass an empty string to the guest.
>>
>> for consistency I would suggest to return -1 for all cases that do
>> not return a legal cmdline.
>
> The existing linux-user implementation of this semihosting
> call handles this case by returning the empty string, so
> consistency suggests following that in the equivalent
> softmmu case.
in this case it doesn't make any major difference, the application should
accommodate both cases, but, as a general comment, if one case is broken/poorly
implemented, for the sake of consistency I would not rush to make all others
broken too, but I would first try to find a solution to fix/improve them all.
regards,
Liviu
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Peter Maydell, 2015/06/05
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Leon Alrae, 2015/06/05
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Liviu Ionescu, 2015/06/05
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Peter Maydell, 2015/06/05
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument,
Liviu Ionescu <=
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Liviu Ionescu, 2015/06/16
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Peter Maydell, 2015/06/16
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Leon Alrae, 2015/06/16
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Peter Maydell, 2015/06/18