s390-virtio: Some cleanups.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390: Add a hypercall registration interface.hw/ hw/ hw/ +4 more | +112 | 2 replies | |
| 2/2 | s390-virtio: Factor out some initialization code.hw/ hw/ | +85 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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