mbox series

[v2,0/1] s390x/next: build fix for non-KVM platforms

Message ID 20200406100158.5940-1-borntraeger@de.ibm.com (mailing list archive)
Headers show
Series s390x/next: build fix for non-KVM platforms | expand

Message

Christian Borntraeger April 6, 2020, 10:01 a.m. UTC
Bruce Rogers reported that hw/s390/ipl.c does not compile on RISC-V due
to missing KVM headers.
Instead of ifdef we should probably move the problematic function into
pv.c

V1->V2:
1. rename function s390_machine_inject_pv_error-->s390_pv_inject_reset_error
2. Add explanation why we need address space include
3. mention the rename in the patch description

Christian Borntraeger (1):
  s390x/s390-virtio-ccw: Fix build on systems without KVM

 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(-)