Skip to content
Commit e8679f5b authored by Thomas Huth's avatar Thomas Huth Committed by Michael Roth
Browse files

monitor: Check whether TCG is enabled before running the "info jit" code



The "info jit" command currently aborts on Mac OS X with the message
"qemu_mutex_lock: Invalid argument" when running with "-M accel=qtest".
We should only call into the TCG code here if TCG has really been
enabled and initialized.

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Message-Id: <1493179907-22516-1-git-send-email-thuth@redhat.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
(cherry picked from commit b7da97ee)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent c152efc9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment