Skip to content

Commit 15c9e2b

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 29ab32a commit 15c9e2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)