Re: [PATCH v2] tools/hv: terminate fcopy daemon if read from uio fails

2024-12-06 Thread Wei Liu
On Tue, Nov 05, 2024 at 09:14:04AM +0100, Olaf Hering wrote: > Terminate endless loop in reading fails, to avoid flooding syslog. > > This happens if the state of "Guest services" integration service > is changed from "enabled" to "disabled" at runtime in the VM > settings. In this case pread retu

Re: [PATCH v2] tools/hv: terminate fcopy daemon if read from uio fails

2024-11-05 Thread Saurabh Singh Sengar
On Tue, Nov 05, 2024 at 09:14:04AM +0100, Olaf Hering wrote: > Terminate endless loop in reading fails, to avoid flooding syslog. > > This happens if the state of "Guest services" integration service > is changed from "enabled" to "disabled" at runtime in the VM > settings. In this case pread retu

[PATCH v2] tools/hv: terminate fcopy daemon if read from uio fails

2024-11-05 Thread Olaf Hering
Terminate endless loop in reading fails, to avoid flooding syslog. This happens if the state of "Guest services" integration service is changed from "enabled" to "disabled" at runtime in the VM settings. In this case pread returns EIO. Also handle an interrupted system call, and continue in this