RE: [PATCH v3 5/7] tools: hv: Add new fcopy application based on uio driver

From: Long Li
Date: Wed Apr 03 2024 - 13:56:39 EST


> Subject: [PATCH v3 5/7] tools: hv: Add new fcopy application based on uio driver
>
> New fcopy application using uio_hv_generic driver. This application copies file
> from Hyper-V host to guest VM.
>
> A big part of this code is copied from tools/hv/hv_fcopy_daemon.c which this new
> application is replacing.
>
> Signed-off-by: Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx>

Reviewed-by: Long Li <longli@xxxxxxxxxxxxx>

> ---
> [V3]
> - Restricted Makefile to x86.
>
> [V2]
> - Improve commit message.
> - Change (4 * 4096) to 0x4000 for ring buffer size
> - Removed some unnecessary type casting.
> - Mentioned in file copy right header that this code is copied.
> - Changed the print from "Registration failed" to "Signal to host failed".
> - Fixed mask for rx buffer interrupt to 0 before waiting for interrupt.