artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0c6a2
)
vmd(8): better debug message in a failure case
author
mlarkin
<mlarkin@openbsd.org>
Mon, 9 Jul 2018 16:07:55 +0000
(16:07 +0000)
committer
mlarkin
<mlarkin@openbsd.org>
Mon, 9 Jul 2018 16:07:55 +0000
(16:07 +0000)
usr.sbin/vmd/vm.c
patch
|
blob
|
history
diff --git
a/usr.sbin/vmd/vm.c
b/usr.sbin/vmd/vm.c
index
a797a41
..
aeb85a4
100644
(file)
--- a/
usr.sbin/vmd/vm.c
+++ b/
usr.sbin/vmd/vm.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vm.c,v 1.3
4 2018/06/19 17:12:34 reyk Exp $
*/
+/* $OpenBSD: vm.c,v 1.3
5 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);
}
}