Skip to content

Conversation

TSnake41
Copy link
Member

Needs more testing, but looks good on Linux.

TSnake41 and others added 23 commits November 22, 2024 10:27
Signed-off-by: Teddy Astie <[email protected]>
Try to make things more organized

Signed-off-by: Teddy Astie <[email protected]>
Signed-off-by: Teddy Astie <[email protected]>
Signed-off-by: Teddy Astie <[email protected]>
This avoids having to install VC++ runtime along with the service.

Signed-off-by: Tu Dinh <[email protected]>
We don't need it, and it significantly bloats up binary size and
compilation time.

Signed-off-by: Tu Dinh <[email protected]>
* Use async syntax for GuestAgentPublisher::run()

Signed-off-by: Teddy Astie <[email protected]>
@TSnake41 TSnake41 changed the base branch from xcp-ng-9.1 to main February 28, 2025 15:53
@dinhngtu
Copy link
Member

dinhngtu commented Feb 28, 2025

Windows service is broken, since blocking on stop_rx.recv_async().await (which itself waits on all child tasks) prevents the service from receiving its stop signal.

Fixed with this patch:

0001-Fix-running-as-service-on-Windows.patch

@stormi
Copy link
Member

stormi commented Mar 3, 2025

Why do we do PRs to main here if https://gitlab.com/xen-project/xen-guest-agent is the upstream project that we also maintain?

* Use smol instead of tokio
* Use flume instead of futures::mpsc

Signed-off-by: Teddy Astie <[email protected]>
@TSnake41
Copy link
Member Author

TSnake41 commented Mar 3, 2025

Why do we do PRs to main here if https://gitlab.com/xen-project/xen-guest-agent is the upstream project that we also maintain?

only @ydirson has access to https://gitlab.com/xen-project/xen-guest-agent

@dinhngtu
Copy link
Member

dinhngtu commented Mar 3, 2025

Works for me on Windows.

@dinhngtu dinhngtu requested a review from ydirson March 21, 2025 16:07
@stormi
Copy link
Member

stormi commented Jun 25, 2025

only @ydirson has access to https://gitlab.com/xen-project/xen-guest-agent

And you can't fork and create a merge request? Oo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants