• A
    target-s390x: wire up DIAG IPL in TCG mode · 8df7eef3
    Aurelien Jarno 提交于
    DIAG IPL is already implemented for KVM, but not wired from TCG. For
    that change the format of the instruction so that we can get R1 and R3
    numbers in addition to the function code.
    
    The diag function can change plenty of things, including CC, so we
    should enter with a static CC. Also it doesn't set the value of general
    register 2 to 0 as in the current code. We also need to exit the CPU
    loop after a reset, which means a new PSW.
    Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    8df7eef3
helper.h 6.5 KB