firecracker-microvm / firecracker-microvm/nsdi2020-data
[Jul 2024] Updates to Scripts
- Dominant language
- Shell
- Stars
- 26
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Since the scripts in this repository were written in 2020, some external changes have caused minor breakage (such as signed links expiring and the QEMU git mirror changing locations). For anyone still looking to reproduce the results from the 2020 NSDI paper, please apply the following diff to the repository and then follow the instructions in README.md (note that the correctly loop device number will depend on however many loop devices are already in use on your system. If you're using snapd, then this can be quite a few):
```diff
diff --git a/prep/img/Makefile b/prep/img/Makefile
index 7e2b639..7ce36ef 100644
--- a/prep/img/Makefile
+++ b/prep/img/Makefile
@@ -17,7 +17,7 @@ TARGETS += ../../img/bench-ssh-vmlinuz
TARGETS += ../../img/bench-ssh-disk.img
LK := ../../bin/linuxkit
-LOOP ?= /dev/loop0
+LOOP ?= /dev/loop21
build: $(TARGETS)
diff --git a/prep/linuxkit/Makefile b/prep/linuxkit/Makefile
index da18cf7..327ab90 100644
--- a/prep/linuxkit/Makefile
+++ b/prep/linuxkit/Makefile
@@ -1,6 +1,6 @@
# Quick hacky makefile to build linuxkit with docker
-URL := https://github.com/linuxkit/linuxkit/releases/download/v0.7/linuxkit-linux-amd64
+URL := https://github.com/linuxkit/linuxkit/releases/download/v1.0.0/linuxkit-linux-amd64
../../bin/linuxkit:
curl -fsSL -o $@ $(URL)
diff --git a/prep/qemu/Dockerfile b/prep/qemu/Dockerfile
index 9f7f6f4..51f2c4e 100644
--- a/prep/qemu/Dockerfile
+++ b/prep/qemu/Dockerfile
@@ -11,7 +11,7 @@ RUN apt update && \
python \
libc6-dev-i386
-RUN git clone git://git.qemu.org/qemu.git && \
+RUN git clone https://github.com/qemu/qemu && \
cd qemu && \
git checkout v4.2.0
```
Contributor guide
Assessment
This issue has not been assessed yet.