Skip to content

Commit a8d2218

Browse files
committed
libkrun: bump libkrunfw to 5.x.x
TSIv3 is an ABI breaking change, so it's provided by a different major version of libkrunfw. Signed-off-by: Sergio Lopez <[email protected]>
1 parent 435e29c commit a8d2218

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: sudo apt-get install -y --no-install-recommends build-essential patchelf pkg-config net-tools
5050

5151
- name: Install libkrunfw
52-
run: curl -L -o /tmp/libkrunfw-4.9.0-x86_64.tgz https://github.com/containers/libkrunfw/releases/download/v4.9.0/libkrunfw-4.9.0-x86_64.tgz && mkdir tmp && tar xf /tmp/libkrunfw-4.9.0-x86_64.tgz -C tmp && sudo mv tmp/lib64/* /lib/x86_64-linux-gnu
52+
run: curl -L -o /tmp/libkrunfw-5.0.0-x86_64.tgz https://github.com/containers/libkrunfw/releases/download/v5.0.0/libkrunfw-5.0.0-x86_64.tgz && mkdir tmp && tar xf /tmp/libkrunfw-5.0.0-x86_64.tgz -C tmp && sudo mv tmp/lib64/* /lib/x86_64-linux-gnu
5353

5454
- name: Integration tests
5555
run: RUST_LOG=trace KRUN_ENOMEM_WORKAROUND=1 KRUN_NO_UNSHARE=1 make test

src/libkrun/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ const MAX_ARGS: usize = 4096;
7676

7777
// krunfw library name for each context
7878
#[cfg(all(target_os = "linux", not(feature = "tee")))]
79-
const KRUNFW_NAME: &str = "libkrunfw.so.4";
79+
const KRUNFW_NAME: &str = "libkrunfw.so.5";
8080
#[cfg(all(target_os = "linux", feature = "amd-sev"))]
81-
const KRUNFW_NAME: &str = "libkrunfw-sev.so.4";
81+
const KRUNFW_NAME: &str = "libkrunfw-sev.so.5";
8282
#[cfg(all(target_os = "linux", feature = "tdx"))]
83-
const KRUNFW_NAME: &str = "libkrunfw-tdx.so.4";
83+
const KRUNFW_NAME: &str = "libkrunfw-tdx.so.5";
8484
#[cfg(target_os = "macos")]
85-
const KRUNFW_NAME: &str = "libkrunfw.4.dylib";
85+
const KRUNFW_NAME: &str = "libkrunfw.5.dylib";
8686

8787
// Path to the init binary to be executed inside the VM.
8888
const INIT_PATH: &str = "/init.krun";

0 commit comments

Comments
 (0)