I found some events in the Windows Event Log, and I was wondering which binary caused them.
The event I am curious about is Event ID 27 from Hyper-V
Hyper-V launch failed; the Hyper-V boot loader was unable to allocate sufficient resources to perform the launch.
Any ideas on how to track which binary was in charge of emitting that event? I want to understand what resource is the one failing.
strace
and search for libraries associated (your code likely load those dynamically) with the file descriptor that writes THIS PARTICULAR log message. There is something here related tostrace
equivalentes on windows (stackoverflow.com/questions/864839/…). Sysinternals is probably the place to start. 2) If you have source, you could search forHV_EVENTLOG_BAL_INSUFFICIENT_RESOURCES
in a source file.