Skip to content

Conversation

@3405691582
Copy link
Collaborator

Some of these targets are intrinsically Linux specific or depend on Linux-specific functionality. They should be marked as such. We're not supplying alternative implementations here, but it makes sense to provide this information.

@3405691582 3405691582 requested a review from Databean January 23, 2026 19:05
@3405691582 3405691582 added the kokoro:run Run e2e tests. label Jan 23, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Jan 23, 2026
Some of these targets are intrinsically Linux specific or depend on
Linux-specific functionality. They should be marked as such. We're not
supplying alternative implementations here, but it makes sense to
provide this information.
Comment on lines +449 to +451
target_compatible_with = [
"@platforms//os:linux",
],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AF_VSOCK is linux-specific, but SharedFD::VsockClient will actually use unix sockets when running with the vhost-user-vsock host process.

auto client = SharedFD::SocketLocalClient(GetVhostUserVsockClientAddr(cid),

Copy link
Collaborator Author

@3405691582 3405691582 Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VsockServer is marked #ifdef __linux__ in shared_fd.cpp, though. Perhaps incorrectly so or over-eagerly so, but may still be good to keep this one marked as such?

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