linux/tools/hv
Olaf Hering a9640fcdd4 tools/hv: terminate fcopy daemon if read from uio fails
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@aepfle.de>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20241105081437.15689-1-olaf@aepfle.de
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20241105081437.15689-1-olaf@aepfle.de>
2024-12-09 18:44:14 +00:00
..
Build tools: hv: Add new fcopy application based on uio driver 2024-04-11 14:55:53 +02:00
Makefile tools: hv: rm .*.cmd when make clean 2024-09-05 07:23:08 +00:00
hv_fcopy_uio_daemon.c tools/hv: terminate fcopy daemon if read from uio fails 2024-12-09 18:44:14 +00:00
hv_get_dhcp_info.sh tools: hv: fix typos in toolchain 2019-08-17 15:29:28 -04:00
hv_get_dns_info.sh Tools: hv: Add an example script to retrieve DNS entries 2012-09-04 15:59:27 -07:00
hv_kvp_daemon.c hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile format 2024-04-10 21:25:40 +00:00
hv_set_ifconfig.sh tools: hv: change permissions of NetworkManager configuration file 2024-12-09 18:42:52 +00:00
hv_vss_daemon.c Tools: hv: Reopen the devices if read() or write() returns errors 2020-01-26 22:10:10 -05:00
lsvmbus tools: hv: lsvmbus: change shebang to use python3 2024-08-03 00:01:55 +00:00
vmbus_bufring.c tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_bufring.h tools: hv: Add vmbus_bufring 2024-04-11 14:55:53 +02:00
vmbus_testing vmbus_testing: fix wrong python syntax for integer value comparison 2023-07-23 23:19:30 +00:00