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

upgrade rust-toolchain to nightly-2023-08-28 and fix CI #584

Merged
merged 6 commits into from
Sep 1, 2023

Commits on Aug 30, 2023

  1. upgrade rust-toolchain to nightly-2023-08-28

    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    ba675dd View commit details
    Browse the repository at this point in the history
  2. install cargo-afl instead of afl

    According to https://github.com/rust-fuzz/afl.rs, it requires user
    to install `cargo-afl` binary.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    42ca234 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. td-exception: fix clippy error masking with zero

    Zero mask here meant the 6th bit shall be 0 for ring0. When the
    structure is used for non ring0 privileges, the corresponding
    flag needs to be set.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    ad2b8d5 View commit details
    Browse the repository at this point in the history
  2. use repr(C) layout for GuidExtension

    It is important to use `repr(C)` layout for structures that are
    used for decoding/encoding from/into bytes.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    07962eb View commit details
    Browse the repository at this point in the history
  3. tdx-tdcall: use heap for TD report buffer

    The array address inside a structure may change when using the
    `TdxReportBuf` on the latest rust toolchain.
    
    alternatively, we can allocate aligned memory on heap for the
    `TDCALL.REPORT`. The memory is manually allocated when new() is
    called and it will be freed at the end of its lifetime.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    4cb91e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. CI: update integration-tdx flow for latest tdx stack

    Update the kernel, qemu and cloud hypervisor used by the CI and
    the TD launch command.
    
    Timeout is relaxed due to the known performance regression on
    kernel 6.2.
    
    Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
    gaojiaqi7 committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    cf1e024 View commit details
    Browse the repository at this point in the history