[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Add -semihosting-config ....cmdline=string.
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] Add -semihosting-config ....cmdline=string. |
Date: |
Thu, 20 Nov 2014 15:10:04 +0000 |
On 20 November 2014 15:03, Liviu Ionescu <address@hidden> wrote:
>
> On 20 Nov 2014, at 15:31, Peter Maydell <address@hidden> wrote:
>
>> I think you can avoid having to plumb the command line
>> string into the MachineState and arm_boot_info structures,
>> because you can just have the semihosting code look the
>> option up by name:
>>
>> QemuOpts *opts =
>> qemu_opts_find(qemu_find_opts("semihosting-config"), NULL);
>
> something is missing with the way options are handled, this call fails with
> BAD_ACCESS.
What's this? It's not an error code in QEMU...
> I tried to debug the problem, but with little success so far.
I'll have a look.
>> That will also automatically make the command line option
>> work for A profile CPUs as well.
>
> where is the A profile code?
A profile CPUs generally boot via the code in hw/arm/boot.c.
-- PMM