Skip to content

Commit 0cdd073

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 629c1ff commit 0cdd073

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
@@ -71,13 +71,13 @@ const MAX_ARGS: usize = 4096;
7171

7272
// krunfw library name for each context
7373
#[cfg(all(target_os = "linux", not(feature = "tee")))]
74-
const KRUNFW_NAME: &str = "libkrunfw.so.4";
74+
const KRUNFW_NAME: &str = "libkrunfw.so.5";
7575
#[cfg(all(target_os = "linux", feature = "amd-sev"))]
76-
const KRUNFW_NAME: &str = "libkrunfw-sev.so.4";
76+
const KRUNFW_NAME: &str = "libkrunfw-sev.so.5";
7777
#[cfg(all(target_os = "linux", feature = "tdx"))]
78-
const KRUNFW_NAME: &str = "libkrunfw-tdx.so.4";
78+
const KRUNFW_NAME: &str = "libkrunfw-tdx.so.5";
7979
#[cfg(target_os = "macos")]
80-
const KRUNFW_NAME: &str = "libkrunfw.4.dylib";
80+
const KRUNFW_NAME: &str = "libkrunfw.5.dylib";
8181

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

0 commit comments

Comments
 (0)