Re: [Qemu-devel] [PATCH v7 2/3] generic-loader: Add a generic loader

2016-06-13 Thread Peter Maydell
On 13 June 2016 at 18:25, Alistair Francis wrote: > On Thu, Jun 9, 2016 at 10:50 AM, Peter Maydell > wrote: >> On 25 May 2016 at 19:49, Alistair Francis >> wrote: >>> +uint16_t cpu_num; >> >> (Why 16 bits in particular?) > > No reason in particular. Do you think it should be something else

Re: [Qemu-devel] [PATCH v7 2/3] generic-loader: Add a generic loader

2016-06-13 Thread Alistair Francis
On Thu, Jun 9, 2016 at 10:50 AM, Peter Maydell wrote: > On 25 May 2016 at 19:49, Alistair Francis wrote: >> Add a generic loader to QEMU which can be used to load images or set >> memory values. >> >> Signed-off-by: Alistair Francis >> --- >> V7: >> - Rebase >> V6: >> - Add error checking >> V

Re: [Qemu-devel] [PATCH v7 2/3] generic-loader: Add a generic loader

2016-06-09 Thread Peter Maydell
On 25 May 2016 at 19:49, Alistair Francis wrote: > Add a generic loader to QEMU which can be used to load images or set > memory values. > > Signed-off-by: Alistair Francis > --- > V7: > - Rebase > V6: > - Add error checking > V5: > - Rebase > V4: > - Allow the loader to work with every archi

[Qemu-devel] [PATCH v7 2/3] generic-loader: Add a generic loader

2016-05-25 Thread Alistair Francis
Add a generic loader to QEMU which can be used to load images or set memory values. Signed-off-by: Alistair Francis --- V7: - Rebase V6: - Add error checking V5: - Rebase V4: - Allow the loader to work with every architecture - Move the file to hw/core - Increase the maximum number of CPUs