Re: [Qemu-devel] [PATCH] hw/core/generic-loader: Allow PC to be set on command line

2018-02-05 Thread Philippe Mathieu-Daudé
On 02/05/2018 12:04 PM, Peter Maydell wrote: > The documentation for the generic loader claims that you can > set the PC for a CPU with an option of the form > -device loader,cpu-num=0,addr=0x1004 > > However if you try this QEMU complains: > cpu_num must be specified when setting a progra

Re: [Qemu-devel] [PATCH] hw/core/generic-loader: Allow PC to be set on command line

2018-02-05 Thread Alistair Francis
On Mon, Feb 5, 2018 at 7:04 AM, Peter Maydell wrote: > The documentation for the generic loader claims that you can > set the PC for a CPU with an option of the form > -device loader,cpu-num=0,addr=0x1004 > > However if you try this QEMU complains: > cpu_num must be specified when setting

[Qemu-devel] [PATCH] hw/core/generic-loader: Allow PC to be set on command line

2018-02-05 Thread Peter Maydell
The documentation for the generic loader claims that you can set the PC for a CPU with an option of the form -device loader,cpu-num=0,addr=0x1004 However if you try this QEMU complains: cpu_num must be specified when setting a program counter This is because we were testing against 0 rath