Statistics
| Branch: | Revision:

root / target-s390x @ 6a1751b7

Name Size
Makefile.objs 214 Bytes
arch_dump.c 5.5 kB
cc_helper.c 12.7 kB
cpu-qom.h 2.4 kB
cpu.c 5.4 kB
cpu.h 37.2 kB
fpu_helper.c 20.8 kB
gdbstub.c 2.7 kB
helper.c 22.2 kB
helper.h 6.4 kB
insn-data.def 40.8 kB
insn-format.def 2.4 kB
int_helper.c 4.4 kB
interrupt.c 796 Bytes
ioinst.c 18.9 kB
ioinst.h 6.8 kB
kvm.c 24.4 kB
mem_helper.c 27.5 kB
misc_helper.c 13.7 kB
translate.c 129.1 kB

Latest revisions

# Date Author Comment
56c4bfb3 08/08/2013 06:01 pm Laszlo Ersek

dump: rebase from host-private RAMBlock offsets to guest-physical addresses

RAMBlock.offset --> GuestPhysBlock.target_start
RAMBlock.offset + RAMBlock.length --> GuestPhysBlock.target_end
RAMBlock.length --> GuestPhysBlock.target_end -...

d2ee7746 07/30/2013 05:12 pm Thomas Huth

s390x/kvm: Remove redundant return code

Removed the redundant return code statement from handle_instruction() - it
always returned 0 and never reports any errors to its caller, since errors
from the sub-functions are already reported via program exceptions instead....

9b4f38e1 07/30/2013 05:12 pm Ekaterina Tumanova

s390: Implement dump-guest-memory support for target s390x

With this patch dump-guest-memory on s390 produces an ELF formatted,
crash-readable dump.
In order to implement this, the arch-specific part of dump-guest-memory
was added:
target-s390x/arch_dump.c contains the whole set of function for writing...

c1e8dfb5 07/30/2013 05:12 pm Thomas Huth

s390x/kvm: Reworked/fixed handling of cc3 in kvm_handle_css_inst()

Consolidated the setting of the condition code in kvm_handle_css_inst().
For the (unhandled) instructions EQBS and SQBS, we have to return
an operation exception instead of cc3. Also removed the is_ioinst()...

7ae5a7c0 07/30/2013 05:11 pm Thomas Huth

s390x/ioinst: Fixed alignment check in SCHM instruction

Register 2 only has to be aligned to a 32-byte boundary, not a
full page boundary.

Signed-off-by: Thomas Huth <>
Acked-by: Cornelia Huck <>
Signed-off-by: Christian Borntraeger <>

71ed827a 07/30/2013 05:11 pm Thomas Huth

s390x/ioinst: Fixed priority of operand exceptions

Operand exceptions have a lower priority than specification and address
exceptions. Thus the checks for operand exceptions must be done later.

Signed-off-by: Thomas Huth <>
Acked-by: Cornelia Huck <>...

61bf0dcb 07/30/2013 05:10 pm Thomas Huth

s390x/ioinst: Add missing alignment checks for IO instructions

The IO instructions MSCH, SSCH, STSCH, TSCH, STCRW and TPI require
that the second operand address must be aligned on a word boundary.

Signed-off-by: Thomas Huth <>
Reviewed-by: Cornelia Huck <>...

0056fc9e 07/30/2013 05:10 pm Thomas Huth

s390x/ioinst: Throw addressing exception when memory_map failed

So far, the IO instructions were throwing specification exceptions when
there was a problem with accessing the memory. However, the better way
is to throw an addressing exception instead.

Signed-off-by: Thomas Huth <>...

e67137c6 07/30/2013 03:33 am Peter Maydell

s390x: Rename 'dprintf' to 'DPRINTF'

'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)

Signed-off-by: Peter Maydell <>...

14a10fc3 07/29/2013 04:29 pm Andreas Färber

cpu: Partially revert "cpu: Change qemu_init_vcpu() argument to CPUState"

Commit c643bed99 moved qemu_init_vcpu() calls to common CPUState code.
This causes x86 cpu-add to fail with "KVM: setting VAPIC address failed".

The reason for the failure is that CPUClass::kvm_fd is not yet...

View revisions

Also available in: Atom