qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/arm/vexpress: Set reset-cbar property for CP


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] hw/arm/vexpress: Set reset-cbar property for CPUs
Date: Thu, 13 Feb 2014 23:51:08 +0000

On 13 February 2014 23:39, Peter Crosthwaite
<address@hidden> wrote:
> I've been thinking about the CPU-mpcore problem, and perhaps the most
> annoying part of it is propagating the user -cpu argument through to
> change to CPU model. On several occasions however we have declared
> this to be largely bogus for ARM. E.G.
>
> qemu-system-arm -M zynq -cpu "cortex-a8"
>
> doesn't really make any sense. So going into the release (which has a
> major revision bump last I knew), can we defeature the -cpu syntax at
> least for the MPCore boards, if not all ARM. If you want to BYO cpu,
> then it should be done with regular -device style mechanisms (some
> patches needed).

Yes, I think that makes sense: anything with a set of private peripherals
really expects to see the right set, not some random other set, and any
real board with a real SoC expects to see that SoC's CPU, not some
random other thing. We should probably provide a helpful error message
rather than totally ignoring -cpu. If you want to write patches to do that I'll
accept them.

(The 'virt' board is the odd one out here given that it picks the private
peripheral set to match the specified CPU. But 'virt' is odd in lots of ways.)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]