summary refs log tree commit diff stats
path: root/scripts/qapi2texi.py
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2017-01-25 16:01:03 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-02-24 10:15:18 +0100
commitba690c7171cb863643c21ab9f7e7116ad5df1c63 (patch)
tree767eabc3e940de37ebf3cb42102c67c307269ed4 /scripts/qapi2texi.py
parent409422cd83f36450a3c0bdd49163786cbff3a7ea (diff)
downloadfocaccia-qemu-ba690c7171cb863643c21ab9f7e7116ad5df1c63.tar.gz
focaccia-qemu-ba690c7171cb863643c21ab9f7e7116ad5df1c63.zip
s390x/flic: fail migration on source already
Current code puts a 'FLIC_FAILED' marker into the migration stream
to indicate something went wrong while saving flic state and fails
load if it encounters that marker. VMState's put routine recently
gained the ability to return error codes (but did not wire it up
yet).

In order to be able to reap the benefits of returning an error and
failing migration on the source already once this gets wired up
in core, return an error in addition to storing 'FLIC_FAILED'.

Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'scripts/qapi2texi.py')
0 files changed, 0 insertions, 0 deletions