Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
UK_BRANCH=$(grep 'version:' kraft.yaml | head -1 | awk '{print $2}')
mkdir -p .unikraft/apps .unikraft/libs
rm -rf .unikraft/unikraft .unikraft/apps/elfloader
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/app-elfloader.git .unikraft/apps/elfloader
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/app-elfloader.git .unikraft/apps/elfloader
git clone --branch staging --depth 1 https://github.com/unikraft/lib-libelf.git .unikraft/libs/libelf
rm -rf .unikraft/build
kraft-hyperlight --no-prompt build --plat hyperlight --arch x86_64
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ jobs:
UK_BRANCH=$(grep -E '^ version:' kraft.yaml | head -1 | awk '{print $2}')
mkdir -p .unikraft/apps .unikraft/libs
rm -rf .unikraft/unikraft .unikraft/apps/elfloader .unikraft/libs/libelf .unikraft/build
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/app-elfloader.git .unikraft/apps/elfloader
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/app-elfloader.git .unikraft/apps/elfloader
git clone --branch staging --depth 1 https://github.com/unikraft/lib-libelf.git .unikraft/libs/libelf
kraft-hyperlight --no-prompt build --plat hyperlight --arch x86_64
fi
Expand Down Expand Up @@ -285,8 +285,8 @@ jobs:
UK_BRANCH=$(grep -E '^ version:' kraft.yaml | head -1 | awk '{print $2}')
mkdir -p .unikraft/apps .unikraft/libs
rm -rf .unikraft/unikraft .unikraft/apps/elfloader .unikraft/libs/libelf .unikraft/build
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/app-elfloader.git .unikraft/apps/elfloader
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/app-elfloader.git .unikraft/apps/elfloader
git clone --branch staging --depth 1 https://github.com/unikraft/lib-libelf.git .unikraft/libs/libelf
kraft-hyperlight --no-prompt build --plat hyperlight --arch x86_64
fi
Expand Down Expand Up @@ -418,8 +418,8 @@ jobs:
UK_BRANCH=$(grep -E '^ version:' kraft.yaml | head -1 | awk '{print $2}')
mkdir -p .unikraft/apps .unikraft/libs
rm -rf .unikraft/unikraft .unikraft/apps/elfloader .unikraft/libs/libelf .unikraft/build
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/danbugs/app-elfloader.git .unikraft/apps/elfloader
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/unikraft.git .unikraft/unikraft
git clone --branch $UK_BRANCH --depth 1 https://github.com/unikraft/app-elfloader.git .unikraft/apps/elfloader
git clone --branch staging --depth 1 https://github.com/unikraft/lib-libelf.git .unikraft/libs/libelf
kraft-hyperlight --no-prompt build --plat hyperlight --arch x86_64
fi
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install just

# 2. kraft-hyperlight (builds Unikraft kernels)
git clone --branch hyperlight-platform https://github.com/unikraft/kraftkit.git
git clone --branch hyperlight-platform https://github.com/danbugs/kraftkit.git
cd kraftkit && go build -o kraft-hyperlight ./cmd/kraft
sudo mv kraft-hyperlight /usr/local/bin/ && cd ..

Expand Down Expand Up @@ -204,7 +204,7 @@ Every path the guest sends is resolved relative to `HOST_DIR` and any
escape (via `..` or symlinks) is rejected host-side.

Known limitation: `opendir`/`readdir` don't work yet (see
[lib/hostfs/README.md](https://github.com/unikraft/unikraft/blob/hyperlight-platform/lib/hostfs/README.md)). Stat and enumerate known paths instead.
[lib/hostfs/README.md](https://github.com/unikraft/unikraft/blob/plat-hyperlight/lib/hostfs/README.md)). Stat and enumerate known paths instead.

### Running ad-hoc code (no initrd rebuild)

Expand Down
8 changes: 4 additions & 4 deletions demos/pptx-gen/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ specification: '0.6'
name: python-pptx-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -61,8 +61,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/dotnet-nativeaot/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: dotnet-nativeaot-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
CONFIG_PLAT_HYPERLIGHT: 'y'
CONFIG_PAGING: 'n'
Expand Down Expand Up @@ -53,8 +53,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/dotnet/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: dotnet-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -78,8 +78,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/go/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ specification: '0.6'
name: go-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -61,8 +61,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/helloworld-c/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: helloworld-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
CONFIG_PLAT_HYPERLIGHT: 'y'
CONFIG_PAGING: 'n'
Expand Down Expand Up @@ -52,8 +52,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/hostfs-posix-c/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: hostfs-posix-c-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -68,8 +68,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/hostfs-posix-py/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: hostfs-posix-py-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -73,8 +73,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/multifn-c/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: multifn-c-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
CONFIG_PLAT_HYPERLIGHT: 'y'
CONFIG_PAGING: 'n'
Expand Down Expand Up @@ -46,8 +46,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/nodejs/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ specification: '0.6'
name: nodejs-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -74,8 +74,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/powershell/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: powershell-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -89,8 +89,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/python-agent-driver/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: python-agent-driver-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
CONFIG_PLAT_HYPERLIGHT: 'y'
CONFIG_PAGING: 'n'
Expand Down Expand Up @@ -71,8 +71,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/python-agent/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ specification: '0.6'
name: python-agent-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -85,8 +85,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/python-tools/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ specification: '0.6'
name: python-tools-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -63,8 +63,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/python/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ specification: '0.6'
name: python-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -64,8 +64,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
8 changes: 4 additions & 4 deletions examples/rust/kraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ specification: '0.6'
name: rust-hyperlight

unikraft:
source: https://github.com/danbugs/unikraft.git
version: hyperlight-platform
source: https://github.com/unikraft/unikraft.git
version: plat-hyperlight
kconfig:
# Platform
CONFIG_PLAT_HYPERLIGHT: 'y'
Expand Down Expand Up @@ -59,8 +59,8 @@ unikraft:

libraries:
app-elfloader:
source: https://github.com/danbugs/app-elfloader.git
version: hyperlight-platform
source: https://github.com/unikraft/app-elfloader.git
version: plat-hyperlight
libelf:
source: https://github.com/unikraft/lib-libelf.git
version: staging
Expand Down
Loading
Loading