Good day!
Discovered the inaccuracy of the UMDF driver Serial port with VMware ® Workstation 9.0.2 build-1031769.
Two times I asked for a help and did not get it from VMware.
Analysis of this problem showed incompatibility UMDF driver COM port the core operating system with VMware ® Workstation.
APIMonitor shows that the process vmware-vmx.exe opens the serial ports in asynchronous mode.
My virtual serial port driver is written using UMDF.
IRP packets are executed with status STATUS_PENDING.
I analyzed the order of calls VMware:
- 1. WaitCommEvent
- 2. WaitForSingleObject
- 3. GetOverlappedResult
- 4. ReadFile
- 5. GetLastError
When using the standard KMDF serial port driver GetLastError does not return an error.
When using UMDF virtual serial port driver GetLastError returns an error ERROR_IO_PENDING.
In this case, the guest operating system displays the message "Serial0: Unable to read from the" COM X "serial port: Overlapped I / O operation is in progress".
This makes it impossible to use a virtual serial port can connect to the VMware ® Workstation.
Is there a solution of this problem by VMware?
Here I attached logs Monitor AP (WinAPIOverride64.exe)I. It is obvious that the function readfile in the kernel mode driver is executed successfully, and the user - with an error.
I look forward to hearing from you
Yours sincerely,
Artem Timofeev