]> git.proxmox.com Git - mirror_qemu.git/commit
monitor: Check whether TCG is enabled before running the "info jit" code
authorThomas Huth <thuth@redhat.com>
Wed, 26 Apr 2017 04:11:47 +0000 (06:11 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 31 Aug 2017 16:21:45 +0000 (11:21 -0500)
commite8679f5b456afdc2278913245b491a3e907cd899
treeeade0bc67cf2f1b15035722460d2436e97e804a5
parentc152efc943d4e3a1aa2986d7388b89b87cc59520
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: Thomas Huth <thuth@redhat.com>
Message-Id: <1493179907-22516-1-git-send-email-thuth@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
(cherry picked from commit b7da97eef74bf834be244de0796ccb01db3985c9)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
monitor.c