[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h |
Date: |
Thu, 19 May 2016 12:41:50 +0200 |
On Thu, 19 May 2016 12:32:05 +0200
Paolo Bonzini <address@hidden> wrote:
> On 19/05/2016 12:17, Cornelia Huck wrote:
> > On Mon, 16 May 2016 17:36:13 +0200
> > Paolo Bonzini <address@hidden> wrote:
> >
> > Maybe mention which stuff was moved why ;)
>
> Right:
>
> ----
> Move cpu_inject_* to the only C file where they are used.
>
> Move ioinst.h declarations that need S390CPU to cpu.h, to make
> ioinst.h independent of cpu.h.
>
> Move channel declarations that only need SubchDev from cpu.h
> to css.h, to make more channel users independent of cpu.h.
Sounds good.
> ----
>
> >> -#include "css.h"
> >> +#include <hw/s390x/s390_flic.h>
> >
> > Wonder why we didn't need that one before?
>
> It's not needed, hw/s390x/css.h includes it. But this file uses
> AdapterRoutes, so I added it explicitly.
Thanks, makes sense.
>
> >> +#include <hw/s390x/css.h>
> >>
> >> #define VIRTUAL_CSSID 0xfe
- [Qemu-devel] [PATCH 44/50] arm: move arm_log_exception into .c file, (continued)
- [Qemu-devel] [PATCH 44/50] arm: move arm_log_exception into .c file, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 38/50] qemu-common: stop including qemu/host-utils.h from qemu-common.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 34/50] hw: move CPU state serialization to migration/cpu.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 43/50] qemu-common: push cpu.h inclusion out of qemu-common.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 46/50] hw: explicitly include qemu/log.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 35/50] hw: cannot include hw/hw.h from user emulation, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 49/50] hw: remove pio_addr_t, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 48/50] cpu: move exec-all.h inclusion out of cpu.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 50/50] hw: clean up hw/hw.h includes, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 32/50] include: poison symbols in osdep.h, Paolo Bonzini, 2016/05/16
- Re: [Qemu-devel] [PATCH CFT v3 00/50] NEED_CPU_H / cpu.h / hw/hw.h cleanups, Peter Maydell, 2016/05/16
Re: [Qemu-devel] [PATCH CFT v3 00/50] NEED_CPU_H / cpu.h / hw/hw.h cleanups, Cornelia Huck, 2016/05/18