[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qdev: Start disentangling bus from device
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] qdev: Start disentangling bus from device |
Date: |
Fri, 12 Feb 2016 11:25:05 +0000 |
On 12 February 2016 at 11:09, Andreas Färber <address@hidden> wrote:
> Move bus type and related APIs to a separate file bus.c.
> This is a first step in breaking up qdev.c into more manageable chunks.
>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
> Here's a first step in breaking up qdev.c, originally prepared as part of my
> QOM device reset refactoring. Amazingly it still applied.
>
> hw/core/Makefile.objs | 1 +
> hw/core/bus.c | 248
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> hw/core/qdev.c | 222 --------------------------------------------
> 3 files changed, 249 insertions(+), 222 deletions(-)
> create mode 100644 hw/core/bus.c
Makes sense to me. I eyeballed the patch to confirm that it's
purely moving code.
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM