Statistics
| Branch: | Revision:

root / target-s390x @ 71e47088

Name Size
Makefile.objs 175 Bytes
cpu-qom.h 1.7 kB
cpu.c 2.6 kB
cpu.h 34.1 kB
helper.c 16.6 kB
helper.h 6.3 kB
interrupt.c 741 Bytes
kvm.c 12.8 kB
machine.c 930 Bytes
op_helper.c 74.6 kB
translate.c 162.9 kB

Latest revisions

# Date Author Comment
71e47088 09/10/2012 02:38 pm Blue Swirl

target-s390x: fix style

Before splitting op_helper.c and helper.c in the next patches,
fix style issues. No functional changes.

Replace also GCC specific FUNCTION with
standard func.

Don't init static variable (cpu_s390x_init:inited) with 0.

Signed-off-by: Blue Swirl <>...

9abf567d 08/15/2012 06:47 pm Christian Borntraeger

s390: Fix error handling and condition code of service call

Invalid sccb addresses will cause specification or addressing exception.
Lets add those checks. Furthermore, the good case (cc=0) was incorrect
for KVM, we did not set the CC at all. We now use return codes < 0...

000a1a38 08/15/2012 06:47 pm Christian Borntraeger

s390: provide interface for service interrupt/introduce interrupt.c

This patch creates interrupt.c. The first user is a callback for hw/*
code to trigger an service interrupt for a given sccb value. Several
interrupt types for s390 are floating (can be delivered to all CPUs)....

fdec9918 07/10/2012 07:27 pm Christian Borntraeger

s390: autodetect map private

By default qemu will use MAP_PRIVATE for guest pages. This will write
protect pages and thus break on s390 systems that dont support this feature.
Therefore qemu has a hack to always use MAP_SHARED for s390. But MAP_SHARED
has other problems (no dirty pages tracking, a lot more swap overhead etc.)...

8dacfcb4 06/24/2012 01:45 pm Blue Swirl

Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf

  • 's390-for-upstream' of git://repo.or.cz/qemu/agraf:
    s390: stop target cpu on sigp initial reset
    s390: make kvm_stat work on s390
    kvm: Update kernel headers
    s390x: fix s390 virtio aliases
71547a3b 06/21/2012 09:45 pm Blue Swirl

qemu-log: use LOG_UNIMP for some target CPU cases

Use LOG_UNIMP for some target CPU cases.

Signed-off-by: Blue Swirl <>
Acked-by: Alexander Graf <>

2fb70f6f 06/18/2012 04:32 pm Christian Borntraeger

s390: stop target cpu on sigp initial reset

We must not run the target cpu after an initial reset. This makes
system_reset more reliable for smp guests.

Signed-off-by: Christian Borntraeger <>
Signed-off-by: Alexander Graf <>

3edb8f92 06/11/2012 01:23 am Andreas Färber

target-s390x: Pass S390CPU to s390_cpu_restart()

Needed for qemu_cpu_kick().

Signed-off-by: Andreas Färber <>

564b863d 06/11/2012 01:23 am Andreas Färber

target-s390x: Let cpu_s390x_init() return S390CPU

Let cpu_init() return CPUS390XState for backwards compatibility.

Signed-off-by: Andreas Färber <>

45fa769b 06/11/2012 01:23 am Andreas Färber

s390-virtio: Let s390_cpu_addr2state() return S390CPU

Convert ipi_states to S390CPU**.

Needed for s390_cpu_restart() in handle_sigp().

Signed-off-by: Andreas Färber <>

View revisions

Also available in: Atom