Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-08 Thread Wei Liu
On Sat, Dec 07, 2024 at 07:18:17AM +, Wei Liu wrote: > On Mon, Dec 02, 2024 at 01:35:16PM +0100, Olaf Hering wrote: > > hv_kvp_daemon uses popen(3) and system(3) as convinience helper to > > launch external helpers. These helpers are invoked via a > > temporary shell process. There is no need t

Re: [PATCH v2 1/2] Drivers: hv: util: Don't force error code to ENODEV in util_probe()

2024-12-08 Thread Saurabh Singh Sengar
On Wed, Nov 06, 2024 at 07:42:46AM -0800, mhkelle...@gmail.com wrote: > From: Michael Kelley > > If the util_init function call in util_probe() returns an error code, > util_probe() always return ENODEV, and the error code from the util_init > function is lost. The error message output in the cal

RE: [PATCH v2 1/2] Drivers: hv: util: Don't force error code to ENODEV in util_probe()

2024-12-08 Thread Michael Kelley
From: Saurabh Singh Sengar Sent: Sunday, December 8, 2024 9:31 AM > > On Wed, Nov 06, 2024 at 07:42:46AM -0800, mhkelle...@gmail.com wrote: > > From: Michael Kelley > > > > If the util_init function call in util_probe() returns an error code, > > util_probe() always return ENODEV, and the error

Re: kernel: fix hv tools build for arm64 when cross-built

2024-12-08 Thread Wei Liu
On Wed, Oct 23, 2024 at 02:01:12PM +, Adrian Vladu wrote: > Hello, > > While trying to build the LIS daemons for Flatcar Container Linux for > ARM64 (https://www.flatcar.org/), as we are doing Gentoo based > cross-building from X64 boxes, there was an error while building those > daemons, beca

Re: [PATCH v3 0/5] Introduce new headers for Hyper-V

2024-12-08 Thread Wei Liu
On Mon, Nov 25, 2024 at 03:24:39PM -0800, Nuno Das Neves wrote: > To support Linux as root partition[1] on Hyper-V many new definitions > are required. > > The plan going forward is to directly import definitions from > Hyper-V code without waiting for them to land in the TLFS document. > This is

Re: [PATCH v3 1/5] hyperv: Move hv_connection_id to hyperv-tlfs.h

2024-12-08 Thread Wei Liu
On Mon, Nov 25, 2024 at 03:24:40PM -0800, Nuno Das Neves wrote: > This definition is in the wrong file; it is part of the TLFS doc. > > Acked-by: Wei Liu > Reviewed-by: Easwar Hariharan > Reviewed-by: Michael Kelley > Signed-off-by: Nuno Das Neves One comment about the ordering of the tags. I

Re: [PATCH v1] tools/hv: reduce resouce usage in hv_kvp_daemon

2024-12-08 Thread Olaf Hering
Sun, 8 Dec 2024 23:52:54 + Wei Liu : > There's one conflict caused by an earlier patch by Vitaly. I've resolved > the conflict and applied the patch to hyperv-fixes. Please check the > final result. Commit b8ea8cd0fbd358feee3e9172c5ef8afd671e0d11 looks good, thanks. Olaf pgp7RZdDSAY7I.pgp

Re: [PATCH v1] tools/hv: add a .gitignore file

2024-12-08 Thread Saurabh Singh Sengar
On Mon, Dec 02, 2024 at 01:40:52PM +0100, Olaf Hering wrote: > Remove generated files from 'git status' output after 'make -C tools/hv'. > > Signed-off-by: Olaf Hering > --- > tools/hv/.gitignore | 3 +++ > 1 file changed, 3 insertions(+) > create mode 100644 tools/hv/.gitignore > > diff --git