[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:17:33 +0200 |
On Mon, 16 May 2016 17:36:13 +0200
Paolo Bonzini <address@hidden> wrote:
Maybe mention which stuff was moved why ;)
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> hw/s390x/css.c | 4 +-
> hw/s390x/s390-skeys.c | 1 +
> hw/s390x/s390-virtio-ccw.c | 4 +-
> hw/s390x/virtio-ccw.c | 5 +-
> hw/s390x/virtio-ccw.h | 3 +-
> {hw => include/hw}/s390x/css.h | 31 +++++++-
> {target-s390x => include/hw/s390x}/ioinst.h | 16 +---
> target-s390x/cpu.h | 113
> +++++-----------------------
> target-s390x/helper.c | 1 +
> target-s390x/interrupt.c | 66 +++++++++++++++-
> target-s390x/ioinst.c | 2 +-
> 11 files changed, 128 insertions(+), 118 deletions(-)
> rename {hw => include/hw}/s390x/css.h (76%)
> rename {target-s390x => include/hw/s390x}/ioinst.h (87%)
> diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h
> index 66c831b..86b9edb 100644
> --- a/hw/s390x/virtio-ccw.h
> +++ b/hw/s390x/virtio-ccw.h
> @@ -24,7 +24,8 @@
> #include <hw/virtio/virtio-rng.h>
> #include <hw/virtio/virtio-bus.h>
>
> -#include "css.h"
> +#include <hw/s390x/s390_flic.h>
Wonder why we didn't need that one before?
> +#include <hw/s390x/css.h>
>
> #define VIRTUAL_CSSID 0xfe
>
> diff --git a/hw/s390x/css.h b/include/hw/s390x/css.h
> similarity index 76%
> rename from hw/s390x/css.h
> rename to include/hw/s390x/css.h
> index a320eea..98b2e2c 100644
> --- a/hw/s390x/css.h
> +++ b/include/hw/s390x/css.h
> @@ -14,7 +14,7 @@
>
> #include "hw/s390x/adapter.h"
> #include "hw/s390x/s390_flic.h"
> -#include "ioinst.h"
> +#include "hw/s390x/ioinst.h"
>
> /* Channel subsystem constants. */
> #define MAX_SCHID 65535
> @@ -67,6 +67,7 @@ typedef struct CMBE {
> uint32_t reserved[7];
> } QEMU_PACKED CMBE;
>
> +typedef struct SubchDev SubchDev;
> struct SubchDev {
Maybe do typedef and declaration all in one, to match the other
structures in this file?
> /* channel-subsystem related things: */
> uint8_t cssid;
In any case:
Acked-by: Cornelia Huck <address@hidden>
- [Qemu-devel] [PATCH 37/50] qemu-common: stop including qemu/bswap.h from qemu-common.h, (continued)
- [Qemu-devel] [PATCH 37/50] qemu-common: stop including qemu/bswap.h from qemu-common.h, Paolo Bonzini, 2016/05/16
- [Qemu-devel] [PATCH 47/50] exec: extract exec/tb-context.h, Paolo Bonzini, 2016/05/16
- [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
- Re: [Qemu-devel] [PATCH 41/50] s390x: move stuff out of cpu.h,
Cornelia Huck <=
- [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