mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-11-07 02:06:32 +00:00
If the port can't be open (probably opened by vdservice), go to the next one. Add ability to increase write buffer size and send entire buffer filled by characters without getting data from the console. This helps testing corner cases of vioser.sys, for example: configure additional test port port with tcp socket backend, connect to it with 'nc', press ^Z to suspend the 'nc' and send several large (512K) buffers. At some point the write does not return immediately and closing test application causes cancellation flow. Another scenarion: if 1M buffer sent, the driver fails the operation due to too large SG table. Signed-off-by: Yuri Benditovich <[email protected]>