qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Cornelia Huck
Subject: [Qemu-devel] [PATCH 0/2] s390-virtio: Some cleanups.
Date: Wed, 16 Jan 2013 12:57:23 +0100

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

-- 
1.7.12.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]