[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class |
Date: |
Tue, 13 Mar 2012 13:20:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
Il 13/03/2012 13:13, Andreas Färber ha scritto:
> > It will be easier to generalize later qdev code and not make special
> > case when adding cpus.
>
> I never heard anyone wanting to generalize reset so far. I don't think
> it belongs into Object at least. Maybe DeviceState. Anthony? Paolo?
I believe long term we want CPUs to become a DeviceState. For now, I
think Andreas's prototype is fine. Methods should not take a superclass
argument in general.
> This series is taking much too long to move forward (the QOM "steam"
> seems to be gone?) and I'm worried that introducing much more basic
> infrastructure will make review and applying even slower, cf.
> object_class_foreach_ordered()/_get_list().
Agreed, this series looks more or less good (and mostly mechanical
anyway). Is it an RFC or what? :) I wonder if reviewers are put off by
the subject.
Paolo
- [Qemu-devel] [PATCH RFC v4 41/44] sparc hw/: Don't use CPUState, (continued)
- [Qemu-devel] [PATCH RFC v4 24/44] target-sparc: Don't overuse CPUState, Andreas Färber, 2012/03/09
- [Qemu-devel] [PATCH RFC v4 38/44] ppc hw/: Don't use CPUState, Andreas Färber, 2012/03/09
- [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Andreas Färber, 2012/03/09
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Anthony Liguori, 2012/03/13
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Igor Mitsyanko, 2012/03/14
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Anthony Liguori, 2012/03/14
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Andreas Färber, 2012/03/14
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Anthony Liguori, 2012/03/14
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Andreas Färber, 2012/03/14
- Re: [Qemu-devel] [PATCH RFC v4 44/44] qom: Introduce CPU class, Anthony Liguori, 2012/03/14
[Qemu-devel] [PATCH RFC v4 00/20] QOM'ify ARM CPU, Andreas Färber, 2012/03/10