Skip to content

s390-virtio: Some cleanups.

Cornelia Huck qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390: Add a hypercall registration interface.hw/s390-virtio.c hw/s390-virtio.h hw/s390x/Makefile.objs +4 more+112 -452 replies
2/2s390-virtio: Factor out some initialization code.hw/s390-virtio.c hw/s390-virtio.h+85 -553 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] s390-virtio: Some cleanups.

Hi,

here are two cleanup/refactoring patches for the s390-virtio code. They will make it easier for virtio-ccw, so I'd like to get them in before the bulk of the virtio-ccw related patches.

The first one creates an interface for registering callbacks for diagnose 500, inspired by the spapr hcall interface.

The second one factors initialization code that also can be used by other machines out into exported functions.

Cornelia Huck (2):
s390: Add a hypercall registration interface.
s390-virtio: Factor out some initialization code.

 hw/s390-virtio.c             | 222 +++++++++++++++++++++++++------------------
 hw/s390-virtio.h             |  29 ++++++
 hw/s390x/Makefile.objs       |   1 +
 hw/s390x/s390-virtio-hcall.c |  33 +++++++
 target-s390x/cpu.h           |   2 +-
 target-s390x/kvm.c           |   2 +-
 target-s390x/misc_helper.c   |   2 +-
 7 files changed, 194 insertions(+), 97 deletions(-)
 create mode 100644 hw/s390-virtio.h
 create mode 100644 hw/s390x/s390-virtio-hcall.c
Signature · 1 line
1.7.12.4