summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vmd/vm.c')
-rw-r--r--usr.sbin/vmd/vm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c
index 18327eb3cdb..a240623752f 100644
--- a/usr.sbin/vmd/vm.c
+++ b/usr.sbin/vmd/vm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm.c,v 1.32 2018/04/26 17:10:10 mlarkin Exp $ */
+/* $OpenBSD: vm.c,v 1.33 2018/04/27 12:15:10 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -935,6 +935,8 @@ init_emulated_hw(struct vmop_create_params *vmc, int child_cdrom,
ioports_map[IO_ICU1 + 1] = vcpu_exit_i8259;
ioports_map[IO_ICU2] = vcpu_exit_i8259;
ioports_map[IO_ICU2 + 1] = vcpu_exit_i8259;
+ ioports_map[ELCR0] = vcpu_exit_i8259;
+ ioports_map[ELCR1] = vcpu_exit_i8259;
/* Init ns8250 UART */
ns8250_init(con_fd, vcp->vcp_id);