diff options
Diffstat (limited to 'drivers/xen/events.c')
-rw-r--r-- | drivers/xen/events.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index b4c84814c5..beaccded69 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -23,6 +23,8 @@ #include <xen/events.h> #include <xen/hvm.h> +extern u32 console_evtchn; + #define NR_EVS 1024 /** @@ -49,6 +51,8 @@ void unbind_all_ports(void) struct vcpu_info *vcpu_info = &s->vcpu_info[cpu]; for (i = 0; i < NR_EVS; i++) { + if (i == console_evtchn) + continue; if (test_and_clear_bit(i, bound_ports)) { printf("port %d still bound!\n", i); unbind_evtchn(i); |