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

Conversation

gaojiaqi7
Copy link
Member

@gaojiaqi7 gaojiaqi7 commented Aug 30, 2023

Fix: #583
Fix: #585
Fix: #586
Fix: #587
Fix: #591

Signed-off-by: Jiaqi Gao <jiaqi.gao@intel.com>
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>
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>
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>
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 gaojiaqi7 changed the title upgrade rust-toolchain to nightly-2023-08-28 upgrade rust-toolchain to nightly-2023-08-28 and fix CI Aug 31, 2023
@gaojiaqi7 gaojiaqi7 force-pushed the toolchain branch 2 times, most recently from 42607df to cc6d791 Compare September 1, 2023 05:55
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>
@jyao1 jyao1 merged commit 34b31e3 into confidential-containers:main Sep 1, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment