Statistics
| Branch: | Revision:

root / hw / s390x @ cb3fb38e

Name Size
Makefile.objs 227 Bytes
css.c 34.6 kB
css.h 2.9 kB
event-facility.c 10.9 kB
event-facility.h 2.4 kB
ipl.c 4.9 kB
s390-virtio-bus.c 17.1 kB
s390-virtio-bus.h 4 kB
s390-virtio-ccw.c 3.5 kB
s390-virtio-hcall.c 817 Bytes
s390-virtio.c 7.8 kB
s390-virtio.h 927 Bytes
sclp.c 4 kB
sclp.h 3.8 kB
sclpconsole.c 8.2 kB
sclpquiesce.c 2.8 kB
virtio-ccw.c 27.5 kB
virtio-ccw.h 2.9 kB

Latest revisions

# Date Author Comment
760794f7 02/13/2013 07:56 pm Christian Borntraeger

s390/sclpconsole: prevent char layer callback during initialization

Starting a qemu with an sclp console and pressing a key very early
can result in
"qemu-system-s390x: hw/s390x/sclpconsole.c:60: receive_from_chr_layer:
Assertion `scon->iov' failed."

Lets make sure that the init process is finished, since the iov is...

91b0a8f3 02/13/2013 07:56 pm Cornelia Huck

s390: Fix handling of iscs.

There are two ways to express an interruption subclass:
- As a bitmask, as used in cr6.
- As a number, as used in the I/O interruption word.

Unfortunately, we have treated to I/O interruption word as if it
contained the bitmask as well, which went unnoticed so far as...

1e89ad5b 02/08/2013 03:37 pm Anthony Liguori

virtio-net: pass host features to virtio_net_init

Signed-off-by: Anthony Liguori <>

f9466733 02/01/2013 03:02 am Andreas Färber

target-s390x: Clean up cpu_inject_*() signatures

Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e017ba2b19d (s390:
I/O interrupt and machine check injection.) added functions
cpu_inject_io() and cpu_inject_crw_mchk() with CPUS390XState argument,...

49e15878 02/01/2013 03:02 am Andreas Färber

target-s390x: Pass S390CPU to s390_{add, del}_running_cpu()

This prepares for moving the halted field to CPUState.
Most call sites can already supply S390CPU, for some env becomes unused.

Signed-off-by: Andreas Färber <>
Acked-by: Cornelia Huck <>...

a5c95808 01/29/2013 10:50 pm Cornelia Huck

s390: Add s390-ccw-virtio machine.

Add a new machine type, s390-ccw-virtio, making use of the
virtio-ccw transport to present virtio devices as channel
devices.

Signed-off-by: Cornelia Huck <>
Signed-off-by: Alexander Graf <>

50c8d9bf 01/29/2013 10:50 pm Cornelia Huck

s390: Use s390_cpu_physical_memory_map for tpi.

Map the I/O interruption code before calling into css.

Signed-off-by: Cornelia Huck <>
Signed-off-by: Alexander Graf <>

8d034a6f 01/29/2013 10:50 pm Cornelia Huck

s390: css error codes.

Changed error codes in the channel subsystem / virtio-ccw code
(-EOPNOTSUPP -> -ENOSYS, -ERESTART -> -EINPROGRESS).

This should hopefully fix building on mingw32.

Signed-off-by: Cornelia Huck <>
Reviewed-by: Stefan Weil <>...

19380b1b 01/29/2013 10:50 pm Cornelia Huck

s390: Drop set_bit usage in virtio_ccw.

set_bit on indicators doesn't go well on 32 bit targets:

note: expected 'long unsigned int *' but argument is of type 'uint64_t *'

Switch to bit shifts instead.

Signed-off-by: Cornelia Huck <>...

ab290630 01/29/2013 10:50 pm Andreas Färber

s390-virtio: Check for NULL device in reset hypercall

s390_virtio_bus_find_mem() may return a NULL VirtIOS390Device.
If called with, e.g., args0 == 0, this leads to a segfault.
Fix this by adding error handling as done for other hypercalls.

Present since baf0b55a9e57b909b1f8b0f732c0b10242867418 (Implement...

View revisions

Also available in: Atom