[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to scl
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h |
Date: |
Mon, 11 Sep 2017 15:06:32 -0300 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
On Mon, Sep 11, 2017 at 07:56:19PM +0200, David Hildenbrand wrote:
>
> >>>>
> >>>> #endif
> >>>
> >>> Why not use typedefs.h?
> >>
> >> See Markus's reply. But, maybe it's even better to use S390CPU* and
> >> include target/s390x/cpu-qom.h, which by design provides as little
> >> definitions as needed.
> >
> > I don't see an argument against moving typedef CPUS390XState to
> > typedefs.h in Markus' reply. I see one argument for it (reducing
> > the need for non-cyclic includes).
> >
> > cpu-qom.h includes cpu.h, so I don't know why using S390CPU*
> > would solve any problem. I don't disagree about changing the
> > function to use S390CPU* eventually, but it would still require
> > us make a choice between: a) including the header where the
> > typedef name is declared (cpu.h or cpu-qom.h); or b) moving the
> > typedef name declaration to typedefs.h.
>
> It includes qom/cpu.h, not cpu.h. That's why using cpu-qom.h for such
> typedefs works (see v4).
>
Oops, I was looking at an older tree (before commit 347b1a5c).
You're right, sorry for the noise.
--
Eduardo
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, (continued)
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Thomas Huth, 2017/09/08
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Markus Armbruster, 2017/09/08
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Thomas Huth, 2017/09/10
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, David Hildenbrand, 2017/09/08
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Eduardo Habkost, 2017/09/09
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Thomas Huth, 2017/09/10
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Paolo Bonzini, 2017/09/11
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, David Hildenbrand, 2017/09/11
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Eduardo Habkost, 2017/09/11
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, David Hildenbrand, 2017/09/11
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h,
Eduardo Habkost <=
- [Qemu-devel] [PATCH v3 09/21] target/s390x: use trigger_pgm_exception() in s390_cpu_handle_mmu_fault(), David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 10/21] target/s390x: use program_interrupt() in per_check_exception(), David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 11/21] s390x: allow only 1 CPU with TCG, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 12/21] target/s390x: set cpu->id for linux user when realizing, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 13/21] target/s390x: use "core-id" for cpu number/address/id handling, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 14/21] target/s390x: rename next_cpu_id to next_core_id, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 15/21] s390x: print CPU definitions in sorted order, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 16/21] s390x: allow cpu hotplug via device_add, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 17/21] s390x: CPU hot unplug via device_del cannot work for now, David Hildenbrand, 2017/09/07
- [Qemu-devel] [PATCH v3 18/21] s390x: implement query-hotpluggable-cpus, David Hildenbrand, 2017/09/07