[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2 |
Date: |
Wed, 20 Mar 2013 10:30:29 +0000 |
On 20 March 2013 00:00, Paolo Bonzini <address@hidden> wrote:
> ARM is already quite good in that respect. However, until all
> architectures are converted cpu_*_init needs to remain because of
> user-mode targets (where the CPUs are created by common code, there is
> no board to encapsulate the target-specific differences). IMHO waiting
> for the demise of cpu_*_init is putting the cart before the horse, or
> another similar proverb.
As I say, I don't object to you moving the cpu init code into the
a*mpcore containers. I do object to you moving the a*mpcore
containers into hw/arm, and so transitively I object to changes
to the containers made only with the intent to cause them to move
into hw/arm.
> (Also, I don't see much difference between using a function in
> target-ARCH and using a TYPE_FOO define from target-ARCH. They are the
> same thing masked through RTTI. hw/ARCH should really be the bridge
> between target-ARCH and hw/everything-else, and a*mpcore.c fits in that
> description).
Basically I don't like the way your categorization scheme seems
to be "kind of device, except for stuff in hw/ARCH which has
a completely different rationale". I'm OK with hw/ARCH having
board models, because that's really "kind of device", it's
just split what ought to be hw/boards into a bunch of separate
directories. And I've accepted having some of the random "needs
fixing and splitting and chucking back out of hw/ARCH" code as
a temporary measure. But please stop trying to push stuff into
hw/ARCH rather than categorising it properly. I feel like I'm
arguing round in circles here.
-- PMM
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, (continued)
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Peter Maydell, 2013/03/18
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Peter Maydell, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/19
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2, Paolo Bonzini, 2013/03/20
[Qemu-devel] [PATCH 03/35] configure: fix TPM logic, Paolo Bonzini, 2013/03/18
[Qemu-devel] [PATCH 04/35] tpm: reorganize headers and split hardware part, Paolo Bonzini, 2013/03/18
[Qemu-devel] [PATCH 09/35] hw: make all of hw/usb/ configurable via default-configs/, Paolo Bonzini, 2013/03/18
[Qemu-devel] [PATCH 02/35] hw: make subdirectories for devices, Paolo Bonzini, 2013/03/18
[Qemu-devel] [PATCH 21/35] hw: move char devices to hw/char/, configure via default-configs/, Paolo Bonzini, 2013/03/18
[Qemu-devel] [PATCH 07/35] hw: move virtio devices to hw/ subdirectories, Paolo Bonzini, 2013/03/18