[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/23] qdev: register all types natively through
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 08/23] qdev: register all types natively through QEMU Object Model |
Date: |
Mon, 30 Jan 2012 22:29:56 +0000 |
On 30 January 2012 21:08, Anthony Liguori <address@hidden> wrote:
> This was done in a mostly automated fashion. I did it in three steps and then
> rebased it into a single step which avoids repeatedly touching every file in
> the tree.
>
> The first step was a sed-based addition of the parent type to the subclass
> registration functions.
>
> The second step was another sed-based removal of subclass registration
> functions
> while also adding virtual functions from the base class into a class_init
> function as appropriate.
>
> Finally, a python script was used to convert the DeviceInfo structures and
> qdev_register_subclass functions to TypeInfo structures, class_init functions,
> and type_register_static calls.
Can you document this process in enough detail so that those of us with
trees/branches not yet upstream can use it to ease the process of
rebasing after this lands, please?
Thanks
-- PMM
- [Qemu-devel] [PATCH 01/23] usb-hid: simplify class initialization a bit, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 03/23] qdev: make DeviceInfo private, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 04/23] qdev: remove info from class, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 06/23] qdev: refactor device creation to allow bus_info to be set only in class, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 07/23] qdev: kill off DeviceInfo list, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 05/23] qdev: allow classes to overload qdev functions, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 18/23] qom: accept any compatible type when setting a link property, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 08/23] qdev: register all types natively through QEMU Object Model, Anthony Liguori, 2012/01/30
- Re: [Qemu-devel] [PATCH 08/23] qdev: register all types natively through QEMU Object Model,
Peter Maydell <=
- [Qemu-devel] [PATCH 00/23] qom: use Type system to register all devices, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 11/23] qom: allow object_class_foreach to take additional parameters to refine search, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 15/23] qdev: split out UI portions into a new function, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 21/23] object: sure up reference counting, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 12/23] qom: add new command to search for types, Anthony Liguori, 2012/01/30
- [Qemu-devel] [PATCH 22/23] container: make a decendent of Object, Anthony Liguori, 2012/01/30