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

add async support #55

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

add async support #55

wants to merge 6 commits into from

Commits on Oct 27, 2023

  1. async: introduce async crates

    `async_io`, `async_runtime` and `async_rustls` is introduced to
    provide async/await support.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    7f54e42 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. devices/vsock: add async support for vsock stream

    Add nonblock operations for virtio-vsock device.
    
    Implement `AsyncRead/AsyncWrite` for `VsockStream`.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    78f0b72 View commit details
    Browse the repository at this point in the history
  2. crypto: implement async tls

    Add async tls wrapper functions in `crypto` crate and async ratls
    implementation in `migtd` crate.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    9c650fe View commit details
    Browse the repository at this point in the history
  3. migtd: refactor vmcall service and add async support

    Simplify the vmcall service implementation.
    
    Add async `wait_for_request` function.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    abcc786 View commit details
    Browse the repository at this point in the history
  4. migtd: add async pre-mig support

    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    7c1c789 View commit details
    Browse the repository at this point in the history
  5. migtd: add timeout future

    Set timeout for network operations.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    8852a00 View commit details
    Browse the repository at this point in the history