summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2018-07-09 16:07:55 +0000
committermlarkin <mlarkin@openbsd.org>2018-07-09 16:07:55 +0000
commit33b2bf4bdd176ef50a629f30b3138fd663646ebc (patch)
tree6750f15189b57af297dc80361137b9b4354d9196 /usr.sbin/vmd
parentWrong function name in error message (diff)
downloadwireguard-openbsd-33b2bf4bdd176ef50a629f30b3138fd663646ebc.tar.xz
wireguard-openbsd-33b2bf4bdd176ef50a629f30b3138fd663646ebc.zip
vmd(8): better debug message in a failure case
Diffstat (limited to 'usr.sbin/vmd')
-rw-r--r--usr.sbin/vmd/vm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c
index a797a417dc8..aeb85a48058 100644
--- a/usr.sbin/vmd/vm.c
+++ b/usr.sbin/vmd/vm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm.c,v 1.34 2018/06/19 17:12:34 reyk Exp $ */
+/* $OpenBSD: vm.c,v 1.35 2018/07/09 16:07:55 mlarkin Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -1793,7 +1793,8 @@ vcpu_deassert_pic_irq(uint32_t vm_id, uint32_t vcpu_id, int irq)
if (!i8259_is_pending()) {
if (vcpu_pic_intr(vm_id, vcpu_id, 0))
- fatalx("%s: can't deassert INTR", __func__);
+ fatalx("%s: can't deassert INTR for vm_id %d, "
+ "vcpu_id %d", __func__, vm_id, vcpu_id);
}
}