permissions: 0.106 PID: 0.101 semantic: 0.086 device: 0.080 other: 0.079 socket: 0.075 graphic: 0.071 debug: 0.070 vnc: 0.068 files: 0.066 performance: 0.064 boot: 0.053 network: 0.052 KVM: 0.031 debug: 0.196 vnc: 0.115 PID: 0.112 performance: 0.107 files: 0.098 socket: 0.084 semantic: 0.059 device: 0.057 other: 0.054 boot: 0.044 network: 0.025 permissions: 0.021 graphic: 0.016 KVM: 0.012 FP exception reporting not working on NetBSD host I recognize that NetBSD is not one of the officially supported host OS. However, qemu 0.13.0 is available in the NetBSD pkgsrc collection, and works quite well. Well, with one exception (pun intended): It seems that Floating Point exceptions don't get reported properly. The following code-snippet demonstrates the problem: volatile int flt_signal = 0; static sigjmp_buf sigfpe_flt_env; static void sigfpe_flt_action(int signo, siginfo_t *info, void *ptr) { flt_signal++; } void trigger(void) { struct sigaction sa; double d = strtod("0", NULL); if (sigsetjmp(sigfpe_flt_env, 0) == 0) { sa.sa_flags = SA_SIGINFO; sa.sa_sigaction = sigfpe_flt_action; sigemptyset(&sa.sa_mask); sigaction(SIGFPE, &sa, NULL); fpsetmask(FP_X_INV|FP_X_DZ|FP_X_OFL|FP_X_UFL|FP_X_IMP); printf("%g\n", 1 / d); } printf("FPE signal handler invoked %d times.\n"); } On Mon, Jan 3, 2011 at 12:14 PM, Paul Goyette