Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for virtIO block #28

Merged
merged 23 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a04f098
Fixing headers related to virtio
erichchan999 Apr 26, 2024
7565316
Update virtio console comments to sddf rename changes
erichchan999 Apr 26, 2024
f616c5f
virtio mmio refactor
erichchan999 Apr 26, 2024
c2c351b
Make memcpy and memset externally linked
erichchan999 Apr 26, 2024
fe8dc39
Add printing in hex convenience function
erichchan999 Apr 26, 2024
a81ed86
add virtio block implementation
erichchan999 Apr 26, 2024
5f40ec9
add libuio and uio blk driver implementation
erichchan999 Apr 26, 2024
5a5f61a
Add script to generate virtual disk with mbr/msdos partition table
erichchan999 Apr 26, 2024
dbc1e41
Add virtio block system to virtio example
erichchan999 Apr 26, 2024
692e2bf
Format to CI style
erichchan999 Apr 26, 2024
cf58ad9
ci: test to see if installing gcc-aarch64-linux-gnu works
Ivan-Velickovic Apr 30, 2024
c5a3687
ci: build for Odroid-C4 in virtIO example
Ivan-Velickovic May 3, 2024
2226211
ci: regress virtIO example on macOS temporarily
Ivan-Velickovic May 3, 2024
343de70
nix: add aarch64-unknown-linux-gcc
Ivan-Velickovic May 3, 2024
cc350cc
Add handling for block size
erichchan999 May 3, 2024
be90711
Check return for fsync
erichchan999 May 3, 2024
72059b9
Check UIO IRQ injection
erichchan999 May 3, 2024
33c63ff
Add comment explaining why we need sddf_max_data_buffers
erichchan999 May 3, 2024
581b2ce
Clean up ericc commennts
erichchan999 May 3, 2024
b061321
Update README to have max 100 character lines
erichchan999 May 3, 2024
bb0aa51
Update README
erichchan999 May 3, 2024
3bd513f
Better commenting on libuio driver functions
erichchan999 May 3, 2024
428e0bd
Various virtIO example/block changes and fixes
erichchan999 May 6, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: unzip microkit-sdk.zip && tar -xf microkit-sdk-1.2.6.tar.gz
- name: Install dependencies (via apt)
# 'expect' is only a dependency for CI testing
run: sudo apt update && sudo apt install -y make clang lld llvm qemu-system-arm device-tree-compiler expect
run: sudo apt update && sudo apt install -y make clang lld llvm qemu-system-arm device-tree-compiler expect gcc-aarch64-linux-gnu
- name: Install Zig
run: |
wget https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.3434+e90583f5d.tar.xz
Expand Down
8 changes: 8 additions & 0 deletions ci/examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,16 @@ simulate_zig "release" "ReleaseSafe"
build_zig "release" "ReleaseSmall"
simulate_zig "release" "ReleaseSmall"

# The setup for virtIO block does not currently work on macOS due to
# Linux-specific utilities not being available.
if [ "$(uname)" == "Linux" ]; then

build_virtio "qemu_arm_virt" "debug"
build_virtio "qemu_arm_virt" "release"
build_virtio "odroidc4" "debug"
build_virtio "odroidc4" "release"

fi

echo ""
echo "CI|INFO: Passed all VMM tests"
Loading
Loading