Re: [Qemu-devel] [Patch v1 15/29] s390x/sclp: indicate sclp features

2016-08-02 Thread David Hildenbrand
> > +void s390_get_feat_block(S390FeatType type, uint8_t *data) > > +{ > > +static S390CPU *cpu; > > + > > +if (!cpu) { > > +cpu = S390_CPU(qemu_get_cpu(0)); > > +} > > + > > +if (!cpu || !cpu->model) { > > +return; > > +} > > +return s390_fill_feat_block(cp

Re: [Qemu-devel] [Patch v1 15/29] s390x/sclp: indicate sclp features

2016-08-02 Thread Thomas Huth
On 02.08.2016 13:59, David Hildenbrand wrote: > We have three different blocks in the SCLP read-SCP information response > that indicate sclp features. Let's prepare propagation. > > Acked-by: Cornelia Huck > Signed-off-by: David Hildenbrand > --- > hw/s390x/sclp.c | 9 + > t

[Qemu-devel] [Patch v1 15/29] s390x/sclp: indicate sclp features

2016-08-02 Thread David Hildenbrand
We have three different blocks in the SCLP read-SCP information response that indicate sclp features. Let's prepare propagation. Acked-by: Cornelia Huck Signed-off-by: David Hildenbrand --- hw/s390x/sclp.c | 9 + target-s390x/cpu_models.c | 14 ++ target-s390x/cpu