Re: [Qemu-devel] [PATCH 07/10] target-s390: Fix STIDP

2013-10-01 Thread Richard Henderson
On 10/01/2013 08:52 AM, Alexander Graf wrote: > On 09/30/2013 09:48 PM, Richard Henderson wrote: >> On 09/30/2013 11:13 AM, Alexander Graf wrote: -int cpu_num; +union { +uint64_t cpuid; +struct { +#ifdef HOST_WORDS_BIGENDIAN +uint32_

Re: [Qemu-devel] [PATCH 07/10] target-s390: Fix STIDP

2013-10-01 Thread Alexander Graf
On 09/30/2013 09:48 PM, Richard Henderson wrote: On 09/30/2013 11:13 AM, Alexander Graf wrote: -int cpu_num; +union { +uint64_t cpuid; +struct { +#ifdef HOST_WORDS_BIGENDIAN +uint32_t cpu_num; +uint32_t machine_type; +#else +uint32_t ma

Re: [Qemu-devel] [PATCH 07/10] target-s390: Fix STIDP

2013-09-30 Thread Richard Henderson
On 09/30/2013 11:13 AM, Alexander Graf wrote: >> -int cpu_num; >> +union { >> +uint64_t cpuid; >> +struct { >> +#ifdef HOST_WORDS_BIGENDIAN >> +uint32_t cpu_num; >> +uint32_t machine_type; >> +#else >> +uint32_t machine_type; >> +

Re: [Qemu-devel] [PATCH 07/10] target-s390: Fix STIDP

2013-09-30 Thread Alexander Graf
On 09/23/2013 04:04 PM, Richard Henderson wrote: The implementation had been incomplete, as we did not store the machine type. Signed-off-by: Richard Henderson --- target-s390x/cpu.c | 2 ++ target-s390x/cpu.h | 14 +- target-s390x/translate.c | 2 +- 3 files chang

[Qemu-devel] [PATCH 07/10] target-s390: Fix STIDP

2013-09-23 Thread Richard Henderson
The implementation had been incomplete, as we did not store the machine type. Signed-off-by: Richard Henderson --- target-s390x/cpu.c | 2 ++ target-s390x/cpu.h | 14 +- target-s390x/translate.c | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/tar