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

Fix for #17 - v0.1.1_release branch #19

Merged
merged 3 commits into from Oct 14, 2020

Conversation

andreeaflorescu
Copy link
Member

@andreeaflorescu andreeaflorescu commented Oct 14, 2020

Fixes: #17

Updated version to v0.1.1 so we can publish it on crates.io

Besides the rename, now the readme also specifies that the FIFO size is
64.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
Check that there is still space in the `in_buffer` before enqueuing
bytes. The maximum number of bytes allowed at a time should be equal to
`FIFO_SIZE`.

Since no bytes are written and an error is returned when the buffer is
full, also add a function `fifo_capacity` to query how many bytes can
still be written.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
Updated the version in Cargo.toml so we can publish it to crates.io.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
@andreeaflorescu andreeaflorescu changed the title Fix for #17 - v0.2.0_release branch Fix for #17 - v0.1.1_release branch Oct 14, 2020
@andreeaflorescu andreeaflorescu changed the base branch from v0.2.0_release to v0.1.1_release October 14, 2020 09:39
@aghecenco aghecenco merged commit 4961023 into rust-vmm:v0.1.1_release Oct 14, 2020
1 check passed
@andreeaflorescu andreeaflorescu deleted the fixed_fifo_size branch October 14, 2020 09:45
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

3 participants