Named Pipes in windows kernel driver in VM and to be accessed in host machine

I am a newbie in driver writing and want to write a driver that runs in VM and create a named pipe inside it and then I need the output of this pipe in my host machine. How can I do this? Need help.

Named pipes are not really the right solution. It would be better to ship your data to a user-mode helper for transmission to another host.

There are ways to do TCP socket code in the kernel. What kind of data are you sending?

It is just some kind of log that I want to get ,if driver may crash, so before its crashing the windows, all the log I need to place in my host machine to trace its activity.

The more typical way to do this is to have a logging ringbuffer in your driver that you can extract from a crash dump.

Or, you know, use the built in logging ring buffer that WPP’s IFR provides.

Peter

1 Like

I’ve basically never considered the ETW logging and its related nonsense useful. But that is just my opinion.

I used to agreed with you. But… It’s actually become useful over time. If you haven’t done so in a while, you might wanna have another look.

Peter