[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: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument |
Date: |
Fri, 5 Jun 2015 23:54:33 +0100 |
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.
-- PMM
- 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 <=
- Re: [Qemu-devel] [PATCH v4 2/2] semihosting: add --semihosting-config arg sub-argument, Liviu Ionescu, 2015/06/06
- 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