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

From: Wei Liu
Date: Sat Dec 07 2024 - 02:53:38 EST


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 returns EIO.
>
> Also handle an interrupted system call, and continue in this case.
>
> Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

Applied to hyperv-fixes. Thanks.