diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2013-08-15 17:57:59 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-09-03 01:34:46 +0200 |
commit | 988902fc3bc599f7431461b790f3d63d3a2357f9 (patch) | |
tree | 49ecdb66af7b7591076aa62c8acc2c7e2e56d1a8 /migration-rdma.c | |
parent | 4ff78e0dbcd5c795962567fdc1b31e9e03c55b07 (diff) |
tcg/mips: detect available host instructions at runtime
Now that TCG supports enabling and disabling ops at runtime, it's
possible to detect the available host instructions at runtime, and
enable the corresponding ops accordingly.
Unfortunately it's not easy to probe for available instructions on
MIPS, the information is partially available in /proc/cpuinfo, and
not available in AUXV. This patch therefore probes for the instructions
by trying to execute them and by catching a possible SIGILL signal.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'migration-rdma.c')
0 files changed, 0 insertions, 0 deletions