s390x: pv: Fix diag318 PV fencing
Diag318 fencing needs to be determined on the current VM PV state and not on the state that the VM has when we create the CPU model. Fixes: fabdada9 ("s390: guest support for diagnose 0x318") Reported-by:Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by:
Janosch Frank <frankja@linux.ibm.com> Tested-by:
Marc Hartmayer <mhartmay@linux.ibm.com> Reviewed-by:
Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by:
Collin Walling <walling@linux.ibm.com> Acked-by:
David Hildenbrand <david@redhat.com> Message-Id: <20201022103135.126033-3-frankja@linux.ibm.com> Signed-off-by:
Cornelia Huck <cohuck@redhat.com>
Showing
- target/s390x/cpu_features.c 5 additions, 0 deletionstarget/s390x/cpu_features.c
- target/s390x/cpu_features.h 4 additions, 0 deletionstarget/s390x/cpu_features.h
- target/s390x/cpu_models.c 4 additions, 0 deletionstarget/s390x/cpu_models.c
- target/s390x/kvm.c 1 addition, 2 deletionstarget/s390x/kvm.c
Loading
Please register or sign in to comment