[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: |
David Hildenbrand |
Subject: |
Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h |
Date: |
Mon, 11 Sep 2017 19:56:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
>>>>
>>>> #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).
Thanks!
--
Thanks,
David
- [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, (continued)
- [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, David Hildenbrand, 2017/09/07
- 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, 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 <=
- Re: [Qemu-devel] [PATCH v3 08/21] s390x: move sclp_service_call() to sclp.h, Eduardo Habkost, 2017/09/11
[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