[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/1] s390x/s390-virtio-ccw: Fix build on systems without K
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v2 1/1] s390x/s390-virtio-ccw: Fix build on systems without KVM |
Date: |
Mon, 6 Apr 2020 12:46:13 +0200 |
On Mon, 6 Apr 2020 06:01:58 -0400
Christian Borntraeger <address@hidden> wrote:
> linux/kvm.h is not available on all platforms. Let us move
> s390_machine_inject_pv_error into pv.c as it uses KVM structures.
> Also rename the function to s390_pv_inject_reset_error.
>
> While at it, ipl.h needs an include for "exec/address-spaces.h"
> as it uses address_space_memory.
>
> Fixes: 49fc3220175e ("s390x: protvirt: Support unpack facility")
> Reported-by: Bruce Rogers <address@hidden>
> Signed-off-by: Christian Borntraeger <address@hidden>
> ---
> hw/s390x/ipl.h | 1 +
> hw/s390x/pv.c | 11 +++++++++++
> hw/s390x/s390-virtio-ccw.c | 12 +-----------
> include/hw/s390x/pv.h | 3 +++
> 4 files changed, 16 insertions(+), 11 deletions(-)
Thanks, applied.