mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-04 12:41:37 +00:00
kvm tools: Remove unused handle_sigint() function
Removed handle_sigint. SIGINT is now passed to the guest. Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
4d67c820b2
commit
ea6a97ea02
@@ -43,11 +43,6 @@ static struct kvm *kvm;
|
||||
static struct kvm_cpu *kvm_cpus[KVM_NR_CPUS];
|
||||
static __thread struct kvm_cpu *current_kvm_cpu;
|
||||
|
||||
static void handle_sigint(int sig)
|
||||
{
|
||||
exit(1);
|
||||
}
|
||||
|
||||
static void handle_sigquit(int sig)
|
||||
{
|
||||
serial8250__inject_sysrq(kvm);
|
||||
@@ -171,7 +166,6 @@ int kvm_cmd_run(int argc, const char **argv, const char *prefix)
|
||||
|
||||
signal(SIGALRM, handle_sigalrm);
|
||||
signal(SIGQUIT, handle_sigquit);
|
||||
signal(SIGINT, handle_sigint);
|
||||
|
||||
while (argc != 0) {
|
||||
argc = parse_options(argc, argv, options, run_usage,
|
||||
|
||||
Reference in New Issue
Block a user