aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lguest/x86/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/lguest/x86/core.c')
-rw-r--r--drivers/lguest/x86/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/lguest/x86/core.c b/drivers/lguest/x86/core.c
index 84c09082f27f..a125109446dc 100644
--- a/drivers/lguest/x86/core.c
+++ b/drivers/lguest/x86/core.c
@@ -530,6 +530,10 @@ int lguest_arch_init_hypercalls(struct lguest *lg)
530 if (put_user(tsc_speed, &lg->lguest_data->tsc_khz)) 530 if (put_user(tsc_speed, &lg->lguest_data->tsc_khz))
531 return -EFAULT; 531 return -EFAULT;
532 532
533 /* The interrupt code might not like the system call vector. */
534 if (!check_syscall_vector(lg))
535 kill_guest(lg, "bad syscall vector");
536
533 return 0; 537 return 0;
534} 538}
535/* Now we've examined the hypercall code; our Guest can make requests. There 539/* Now we've examined the hypercall code; our Guest can make requests. There