s390x/misc_helper.c: wrap IO instructions in BQL
commit278f5e98c647f74e93636e8b6f9ba20a71765a44
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Mar 2017 16:22:40 +0000 (1 16:22 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 9 Mar 2017 10:41:43 +0000 (9 10:41 +0000)
treeb2746c87cd8d9a38a4493b3b3d1e96c7b6ed97af
parent5ee5993001cf32addb86a92e2ae8cb090fbc1462
s390x/misc_helper.c: wrap IO instructions in BQL

Helpers that can trigger IO events (including interrupts) need to be
protected by the BQL. I've updated all the helpers that call into an
ioinst_handle_* functions.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/s390x/misc_helper.c