[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [Qemu-devel] [PATCH v1] s390: guest support for diagnos
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [Qemu-devel] [PATCH v1] s390: guest support for diagnose 318 and limit max VCPUs to 247 |
Date: |
Wed, 5 Dec 2018 12:07:17 +0100 |
On Tue, 4 Dec 2018 17:26:36 -0500
Collin Walling <address@hidden> wrote:
> I screen-scraped the @ibm address again (Conny was the victim this time)
>
> Reply to this thread to avoid any delivery failures.
>
> On 12/4/18 5:18 PM, Collin Walling wrote:
> > Add migration and reset support for diagnose 318. This is a new z14 GA2
> > hardware feature, but we can provide guest support starting with the
> > zEC12-full CPU model.
> >
> > Because new hardware introduces a new facility-availability byte in
> > the Read SCP Info block, we lose one byte in the CPU entries list
> > and must limit the maximum VCPUs to 247 (down from 248).
> >
> > Signed-off-by: Collin Walling <address@hidden>
> > ---
> >
> > Changelog
> >
> > RFC -> v1
> > - introduced kvm stubs for set/get cpc
> > - s/fac134/byte_134
> > - moved diag318 vmstate description to diag.c
> > - reduced S390_VCPU_MAX to 247
> >
> > hw/s390x/ipl.c | 3 +++
> > hw/s390x/s390-virtio-ccw.c | 3 +++
> > hw/s390x/sclp.c | 2 ++
> > include/hw/s390x/sclp.h | 2 ++
> > linux-headers/asm-s390/kvm.h | 5 ++++
> > target/s390x/cpu.h | 2 +-
> > target/s390x/cpu_features.c | 3 +++
> > target/s390x/cpu_features.h | 1 +
> > target/s390x/cpu_features_def.h | 3 +++
> > target/s390x/diag.c | 53
> > +++++++++++++++++++++++++++++++++++++++++
> > target/s390x/gen-features.c | 1 +
> > target/s390x/internal.h | 4 +++-
> > target/s390x/kvm-stub.c | 10 ++++++++
> > target/s390x/kvm.c | 23 ++++++++++++++++++
> > target/s390x/kvm_s390x.h | 3 +++
> > 15 files changed, 116 insertions(+), 2 deletions(-)
> > diff --git a/linux-headers/asm-s390/kvm.h b/linux-headers/asm-s390/kvm.h
> > index 0265482..8c206d2 100644
> > --- a/linux-headers/asm-s390/kvm.h
> > +++ b/linux-headers/asm-s390/kvm.h
Please split this out into a dummy headers update patch, which will be
replaced with a real headers update when applied.
Re: [qemu-s390x] [PATCH v1] s390: guest support for diagnose 318 and limit max VCPUs to 247, Christian Borntraeger, 2018/12/05