aboutsummaryrefslogtreecommitdiff
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
parentad65aa882c4ed744fc5bae6ccd8630c57251c941 (diff)
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>
-rw-r--r--cpus.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpus.c b/cpus.c
index b421a7140e..2dae549225 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)