Skip to content

Commit

Permalink
Merge pull request #47 from loopholelabs/update-kernel
Browse files Browse the repository at this point in the history
Update PVM kernel version
  • Loading branch information
pojntfx authored Oct 23, 2024
2 parents 9042676 + 4365d15 commit 1f612a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ The Firecracker fork is available as static binaries on [GitHub releases](https:
```shell
# Without PVM support
for BINARY in firecracker jailer; do
curl -L -o "/tmp/${BINARY}" "https://github.com/loopholelabs/firecracker/releases/download/release-firecracker-v1.7-live-migration-and-msync/${BINARY}.linux-$(uname -m)"
curl -L -o "/tmp/${BINARY}" "https://github.com/loopholelabs/firecracker/releases/download/release-main-live-migration/${BINARY}.linux-$(uname -m)"
sudo install "/tmp/${BINARY}" /usr/local/bin
done

# With PVM support
for BINARY in firecracker jailer; do
curl -L -o "/tmp/${BINARY}" "https://github.com/loopholelabs/firecracker/releases/download/release-firecracker-v1.7-live-migration-pvm-and-msync/${BINARY}.linux-$(uname -m)"
curl -L -o "/tmp/${BINARY}" "https://github.com/loopholelabs/firecracker/releases/download/release-main-live-migration-pvm/${BINARY}.linux-$(uname -m)"
sudo install "/tmp/${BINARY}" /usr/local/bin
done
```
Expand Down
2 changes: 1 addition & 1 deletion os/board/firecracker-x86_64_pvm/kernel.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.7.0-rc6 Kernel Configuration
# Linux/x86 6.7.12 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y
Expand Down
4 changes: 2 additions & 2 deletions os/configs/drafteros-firecracker-x86_64_pvm_defconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BR2_x86_64=y
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="6.7.0-rc6"
BR2_DEFAULT_KERNEL_VERSION="6.7.12"
BR2_KERNEL_HEADERS_6_6=y
BR2_GNU_MIRROR="https://mirrors.kernel.org/gnu"
BR2_CCACHE=y
Expand All @@ -11,7 +11,7 @@ BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_LOOPHOLE_LABS_DRAFTER_OS_PATH)/board/firecracker-x86_64_pvm/overlay/"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/virt-pvm/linux/archive/819c84c7335cdcb9fe79444aff198071e13bf490.tar.gz"
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/loopholelabs/linux-pvm/archive/5488345cc923c83cd7285defbc1f41072ee6dcd0.tar.gz"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_LOOPHOLE_LABS_DRAFTER_OS_PATH)/board/firecracker-x86_64_pvm/kernel.config"
BR2_LINUX_KERNEL_VMLINUX=y
Expand Down

0 comments on commit 1f612a8

Please sign in to comment.