Thanks, applied.
On Wed, Aug 8, 2012 at 11:31 PM, Max Filippov wrote:
> This fixes the following error:
>
> $ qemu-system-xtensa -cpu help
> Segmentation fault
>
> Signed-off-by: Max Filippov
> ---
> hw/xtensa_sim.c |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff
On Thu, Aug 9, 2012 at 11:43 AM, Markus Armbruster wrote:
> Max Filippov writes:
>
>> This fixes the following error:
>>
>> $ qemu-system-xtensa -cpu help
>> Segmentation fault
>
> main() attempts to cope with "no machine found", it just screws it up:
>
> if (machine->hw_version) {
>
Dunrong Huang writes:
> 2012/8/9 Markus Armbruster :
>> Max Filippov writes:
>>
>>> This fixes the following error:
>>>
>>> $ qemu-system-xtensa -cpu help
>>> Segmentation fault
>>
>> main() attempts to cope with "no machine found", it just screws it up:
>>
>> if (machine->hw_version
2012/8/9 Markus Armbruster :
> Max Filippov writes:
>
>> This fixes the following error:
>>
>> $ qemu-system-xtensa -cpu help
>> Segmentation fault
>
> main() attempts to cope with "no machine found", it just screws it up:
>
> if (machine->hw_version) {
> qemu_set_version(machi
Max Filippov writes:
> This fixes the following error:
>
> $ qemu-system-xtensa -cpu help
> Segmentation fault
main() attempts to cope with "no machine found", it just screws it up:
if (machine->hw_version) {
qemu_set_version(machine->hw_version);
}
[...]
if (machine
This fixes the following error:
$ qemu-system-xtensa -cpu help
Segmentation fault
Signed-off-by: Max Filippov
---
hw/xtensa_sim.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/xtensa_sim.c b/hw/xtensa_sim.c
index ed38bd4..831460b 100644
--- a/hw/xtensa_sim.