Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server: call receive_cb on initial Attach #39

Merged
merged 1 commit into from Dec 9, 2015

Conversation

djs55
Copy link
Member

@djs55 djs55 commented Dec 9, 2015

Before this patch we were in an inconsistent situation where the first
attach was handled magically by the server functor, while all subsequent
attach requests had to be handled by the user module. This led to the
initial root_fid being special-cased.

This patch requires the user module to handle all attach requests, making
it easier for the user module to maintain a table of active fids (i.e.
no need for special-casing the root_fid)

Signed-off-by: David Scott dave.scott@unikernel.com

Before this patch we were in an inconsistent situation where the first
`attach` was handled magically by the server functor, while all subsequent
`attach` requests had to be handled by the user module. This led to the
initial `root_fid` being special-cased.

This patch requires the user module to handle all `attach` requests, making
it easier for the user module to maintain a table of active fids (i.e.
no need for special-casing the `root_fid`)

Signed-off-by: David Scott <dave.scott@unikernel.com>
djs55 added a commit that referenced this pull request Dec 9, 2015
Server: call `receive_cb` on initial `Attach`
@djs55 djs55 merged commit 651963b into mirage:master Dec 9, 2015
@djs55 djs55 deleted the better-attach branch December 9, 2015 21:05
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.

None yet

1 participant