[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC v2 4/8] qom: Introduce CPU class
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH RFC v2 4/8] qom: Introduce CPU class |
Date: |
Wed, 1 Feb 2012 22:25:53 +0000 |
On 1 February 2012 12:57, Andreas Färber <address@hidden> wrote:
> It's abstract and derived directly from TYPE_OBJECT.
> Prepare a virtual reset method.
>
> Place it in hw/. Have user emulators pick it up via VPATH, building it
> per target since they didn't use any qdev/QOM devices so far.
> ifdef CONFIG_LINUX_USER
>
> -$(call set-vpath,
> $(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR))
> +$(call set-vpath,
> $(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR):$(SRC_PATH)/hw)
I don't think we should go down the path of adding hw/ to the vpath
path for the user-mode emulators. hw/ is for system emulator specific
code and I don't think we should change that.
On the other hand I don't have an immediate answer to where it
should go instead and we didn't seem to come up with a clear answer
on IRC either. Anthony seems to be suggesting that as we do "proper"
QOM conversions on devices we move them out of hw/, I think, in
which case maybe we should put this in wherever the new right
place is (under some new subdir of qom/ ?)
-- PMM
- [Qemu-devel] [PATCH RFC v2 0/8] Introduce QOM CPU and use for ARM, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 4/8] qom: Introduce CPU class, Andreas Färber, 2012/02/01
- Re: [Qemu-devel] [PATCH RFC v2 4/8] qom: Introduce CPU class,
Peter Maydell <=
- [Qemu-devel] [PATCH RFC v2 7/8] target-arm: Prepare model-specific class_init function, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 3/8] qom: Add QOM support to user emulators, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 6/8] target-arm: Embed CPUARMState in QOM ARMCPU, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 1/8] qom: Allow object_class_foreach() to take additional parameters to refine search, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 2/8] qom: Register QOM infrastructure early, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 5/8] target-arm: Introduce QOM CPU and use it for CPUID lookup, Andreas Färber, 2012/02/01
- [Qemu-devel] [PATCH RFC v2 8/8] target-arm: Move CPU feature flags out of CPUState, Andreas Färber, 2012/02/01