Some guests cause a warning message during a shutdown. Log the vmd
vm id and not the kernel vmm id as it's next to useless to the end
user. This has annoyed me too much.
-/* $OpenBSD: vm.c,v 1.91 2023/09/06 03:35:57 dv Exp $ */
+/* $OpenBSD: vm.c,v 1.92 2023/09/23 12:27:21 dv Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
/* If run ioctl failed, exit */
ret = errno;
log_warn("%s: vm %d / vcpu %d run ioctl failed",
- __func__, vrp->vrp_vm_id, n);
+ __func__, current_vm->vm_vmid, n);
break;
}