diff options
author | 2016-04-13 04:44:41 +0000 | |
---|---|---|
committer | 2016-04-13 04:44:41 +0000 | |
commit | fb9ab6e9b89a8169d69b03bf3619be0586c48cc3 (patch) | |
tree | 835f01b3a105579ee5072416a493bb3f98513b42 | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-fb9ab6e9b89a8169d69b03bf3619be0586c48cc3.tar.xz wireguard-openbsd-fb9ab6e9b89a8169d69b03bf3619be0586c48cc3.zip |
add missing arguments to debug printf
-rw-r--r-- | sys/arch/amd64/amd64/vmm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index d747166368c..8b5b6618e0c 100644 --- a/sys/arch/amd64/amd64/vmm.c +++ b/sys/arch/amd64/amd64/vmm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmm.c,v 1.52 2016/04/12 06:41:09 mlarkin Exp $ */ +/* $OpenBSD: vmm.c,v 1.53 2016/04/13 04:44:41 mlarkin Exp $ */ /* * Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org> * @@ -3183,7 +3183,8 @@ vmx_handle_exit(struct vcpu *vcpu) break; case VMX_EXIT_TRIPLE_FAULT: #ifdef VMM_DEBUG - DPRINTF("vmx_handle_exit: vm %d vcpu %d triple fault\n"); + DPRINTF("vmx_handle_exit: vm %d vcpu %d triple fault\n", + vcpu->vc_parent->vm_id, vcpu->vc_id); vmx_vcpu_dump_regs(vcpu); dump_vcpu(vcpu); #endif /* VMM_DEBUG */ |