Re: [PATCH] s390x: protvirt: Fix stray error_report_err in s390_machine_protect

2020-03-27 Thread David Hildenbrand
On 26.03.20 15:05, Janosch Frank wrote: > In case the protection of the machine fails at s390_pv_vm_enable(), > we'll currently report the local_error variable. Problem is that > there's no migration blocker error that we can report at this point so > the pointer is always NULL which leads to a SEG

Re: [PATCH] s390x: protvirt: Fix stray error_report_err in s390_machine_protect

2020-03-26 Thread Cornelia Huck
On Thu, 26 Mar 2020 10:05:05 -0400 Janosch Frank wrote: > In case the protection of the machine fails at s390_pv_vm_enable(), > we'll currently report the local_error variable. Problem is that > there's no migration blocker error that we can report at this point so > the pointer is always NULL wh

[PATCH] s390x: protvirt: Fix stray error_report_err in s390_machine_protect

2020-03-26 Thread Janosch Frank
In case the protection of the machine fails at s390_pv_vm_enable(), we'll currently report the local_error variable. Problem is that there's no migration blocker error that we can report at this point so the pointer is always NULL which leads to a SEGFAULT. Let's remove the error report. Signed-o