qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] s390-virtio: Some cleanups.
@ 2013-01-16 11:57 Cornelia Huck
  2013-01-16 11:57 ` [Qemu-devel] [PATCH 1/2] s390: Add a hypercall registration interface Cornelia Huck
  2013-01-16 11:57 ` [Qemu-devel] [PATCH 2/2] s390-virtio: Factor out some initialization code Cornelia Huck
  0 siblings, 2 replies; 8+ messages in thread
From: Cornelia Huck @ 2013-01-16 11:57 UTC (permalink / raw)
  To: Alexander Graf; +Cc: Christian Borntraeger, Jens Freimann, qemu-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-01-16 13:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 11:57 [Qemu-devel] [PATCH 0/2] s390-virtio: Some cleanups Cornelia Huck
2013-01-16 11:57 ` [Qemu-devel] [PATCH 1/2] s390: Add a hypercall registration interface Cornelia Huck
2013-01-16 12:17   ` Alexander Graf
2013-01-16 12:51     ` Cornelia Huck
2013-01-16 11:57 ` [Qemu-devel] [PATCH 2/2] s390-virtio: Factor out some initialization code Cornelia Huck
2013-01-16 12:19   ` Alexander Graf
2013-01-16 12:41   ` Andreas Färber
2013-01-16 13:05     ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).