You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: fetch artifact first to reduce HTTP requests
70
77
env:
71
78
CC: ${{ steps.install_cc.outputs.cc }}
@@ -265,15 +272,15 @@ jobs:
265
272
CC: ${{ steps.install_cc.outputs.cc }}
266
273
run: |
267
274
make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 $PARALLEL && make ENABLE_SYSTEM=1 artifact $PARALLEL
268
-
.ci/boot-linux.sh
275
+
bash -c "${BOOT_LINUX_TEST}"
269
276
make ENABLE_SYSTEM=1 clean
270
277
if: ${{ always() }}
271
278
- name: boot Linux kernel test (JIT)
272
279
env:
273
280
CC: ${{ steps.install_cc.outputs.cc }}
274
281
run: |
275
282
make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 ENABLE_JIT=1 ENABLE_T2C=0 ENABLE_MOP_FUSION=0 $PARALLEL && make ENABLE_SYSTEM=1 artifact $PARALLEL
276
-
.ci/boot-linux.sh
283
+
bash -c "${BOOT_LINUX_TEST}"
277
284
make ENABLE_SYSTEM=1 ENABLE_JIT=1 ENABLE_T2C=0 ENABLE_MOP_FUSION=0 clean
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,8 @@ Generate ext4 image file for virtio block device in Unix-like system:
93
93
$ dd if=/dev/zero of=disk.img bs=4M count=32
94
94
$ mkfs.ext4 disk.img
95
95
```
96
+
Instead of creating a new block device image, you can share the hostOS's existing block devices. For example, on macOS host, specify the block device path as `-x vblk:/dev/disk3`, or on Linux host as `-x vblk:/dev/loop3`, assuming these paths point to valid block devices.
97
+
96
98
Mount the virtual block device and create a test file after booting, note that root privilege is required to mount and unmount a disk:
0 commit comments