aboutsummaryrefslogtreecommitdiff
path: root/cpus.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2012-01-12 17:05:34 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2012-01-12 10:34:20 -0600
commita7d64ddbcccecab7f212f5ef53897ed408727237 (patch)
tree8fbe365d9a452080be328808b72142983952afe1 /cpus.c
parentad65aa882c4ed744fc5bae6ccd8630c57251c941 (diff)
downloadqemu-a7d64ddbcccecab7f212f5ef53897ed408727237.zip
qemu-a7d64ddbcccecab7f212f5ef53897ed408727237.tar.gz
qemu-a7d64ddbcccecab7f212f5ef53897ed408727237.tar.bz2
cleanup, Remove duplicated code
These two blocks of code are exactly the same, remove one. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpus.c b/cpus.c
index b421a71..2dae549 100644
--- a/cpus.c
+++ b/cpus.c
@@ -565,14 +565,6 @@ static void qemu_kvm_init_cpu_signals(CPUState *env)
fprintf(stderr, "kvm_set_signal_mask: %s\n", strerror(-r));
exit(1);
}
-
- sigdelset(&set, SIG_IPI);
- sigdelset(&set, SIGBUS);
- r = kvm_set_signal_mask(env, &set);
- if (r) {
- fprintf(stderr, "kvm_set_signal_mask: %s\n", strerror(-r));
- exit(1);
- }
}
static void qemu_tcg_init_cpu_signals(void)