Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f99823f
feat: add submodules
ZR233 Nov 28, 2025
a5d00b1
feat: 添加 changelog 文档和布局文件
ZR233 Dec 26, 2025
a41eef8
feat: 更新 changelog 布局,添加虚拟 CPU 组件
ZR233 Dec 26, 2025
63bd96b
feat: 更新 changelog 布局,添加组件和特征样式
ZR233 Dec 26, 2025
5779cba
feat: 更新 changelog 布局,调整组件位置并添加新组件
ZR233 Dec 26, 2025
029a10e
Refactor code structure for improved readability and maintainability
ZR233 Dec 26, 2025
efe71e8
feat: 更新 AxVCpu 文档,优化设计理念和模块化结构
ZR233 Dec 26, 2025
12321a6
refactor: extract shell and VMM into separate modules with enhanced s…
YanLien Jan 6, 2026
4192922
feat: 使用 cargo-bins 安装 ostool,简化依赖管理
ZR233 Jan 29, 2026
71d84c5
feat: 更新 ostool 安装方式,使用 cargo +stable 安装指定版本
ZR233 Jan 29, 2026
e6b846e
fix: 将 Rust 工具链通道更新为 nightly
ZR233 Jan 29, 2026
fc057a5
feat: 添加 derive_more 和 unicode-xid 依赖
ZR233 Jan 29, 2026
a7f0a12
refactor: 重构命令解析和执行逻辑,优化代码结构
ZR233 Jan 29, 2026
0b314c8
fix: 移除不必要的依赖并更新子模块引用
ZR233 Jan 29, 2026
2747b18
feat: use buddy-slab-allocator (#356)
bullhh Jan 30, 2026
519ce56
fix: 更新子模块引用以反映最新提交
ZR233 Jan 30, 2026
883e185
fix: 更新 syn 依赖版本至 2.0.114
ZR233 Jan 30, 2026
9a84571
fix: 更新 buddy-slab-allocator 子模块引用至最新提交
ZR233 Jan 30, 2026
0991526
Next dev (#358)
ZR233 Feb 2, 2026
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
25 changes: 25 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,28 @@ rustflags = [
[alias]
xtask = "run --package xtask --"

# >>> devspace patches >>>
# Managed by `cargo xtask devspace`
[patch."crates-io"]
axaddrspace = { path = "modules/axaddrspace" }
axdevice_base = { path = "modules/axdevice_base" }
axvisor_api = { path = "modules/axvisor_api" }
x86_vcpu = { path = "modules/x86_vcpu" }
x86_vlapic = { path = "modules/x86_vlapic" }

[patch."https://github.com/arceos-hypervisor/arm_vcpu"]
arm_vcpu = { path = "modules/arm_vcpu/" }

[patch."https://github.com/arceos-hypervisor/arm_vgic"]
arm_vgic = { path = "modules/arm_vgic/" }

[patch."https://github.com/arceos-hypervisor/axdevice"]
axdevice = { path = "modules/axdevice/" }

[patch."https://github.com/arceos-hypervisor/axvcpu"]
axvcpu = { path = "modules/axvcpu/" }

[patch."https://github.com/arceos-hypervisor/axvmconfig"]
axvmconfig = { path = "modules/axvmconfig/" }

# <<< devspace patches <<<
86 changes: 86 additions & 0 deletions .devspace/state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"modules": {
"axvisor_api": {
"name": "axvisor_api",
"path": "modules/axvisor_api"
},
"x86_vlapic": {
"name": "x86_vlapic",
"path": "modules/x86_vlapic"
},
"axvmconfig": {
"name": "axvmconfig",
"path": "modules/axvmconfig"
},
"arm_vcpu": {
"name": "arm_vcpu",
"path": "modules/arm_vcpu"
},
"arm_vgic": {
"name": "arm_vgic",
"path": "modules/arm_vgic"
},
"x86_vcpu": {
"name": "x86_vcpu",
"path": "modules/x86_vcpu"
},
"axdevice_base": {
"name": "axdevice_base",
"path": "modules/axdevice_base"
},
"axaddrspace": {
"name": "axaddrspace",
"path": "modules/axaddrspace"
},
"axvcpu": {
"name": "axvcpu",
"path": "modules/axvcpu"
},
"axdevice": {
"name": "axdevice",
"path": "modules/axdevice"
}
},
"patches": [
{
"source": "crates-io",
"crate_name": "axaddrspace"
},
{
"source": "crates-io",
"crate_name": "axdevice_base"
},
{
"source": "crates-io",
"crate_name": "axvisor_api"
},
{
"source": "crates-io",
"crate_name": "x86_vcpu"
},
{
"source": "crates-io",
"crate_name": "x86_vlapic"
},
{
"source": "https://github.com/arceos-hypervisor/arm_vcpu",
"crate_name": "arm_vcpu"
},
{
"source": "https://github.com/arceos-hypervisor/arm_vgic",
"crate_name": "arm_vgic"
},
{
"source": "https://github.com/arceos-hypervisor/axdevice",
"crate_name": "axdevice"
},
{
"source": "https://github.com/arceos-hypervisor/axvcpu",
"crate_name": "axvcpu"
},
{
"source": "https://github.com/arceos-hypervisor/axvmconfig",
"crate_name": "axvmconfig"
}
]
}
72 changes: 0 additions & 72 deletions .github/workflows/actions/setup-nimbos-guest-image/action.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/actions/setup-qemu/action.yml

This file was deleted.

10 changes: 7 additions & 3 deletions .github/workflows/test-board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ jobs:
- ${{ matrix.board }}

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: "recursive"

- name: Install dependencies
- uses: cargo-bins/cargo-binstall@main

- name: Install ostool
# run: cargo binstall ostool
run: cargo +stable install ostool --version ^0.8

- name: Run tests
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/test-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,25 @@ jobs:
# vmconfigs: configs/vms/arceos-riscv64-qemu-smp1.toml
# vmconfigs_name: ArceOS
# vmimage_name: qemu_arceos_riscv64
- arch: x86_64
vmconfigs: configs/vms/nimbos-x86_64-qemu-smp1.toml
vmconfigs_name: NimbOS
vmimage_name: qemu_x86_64_nimbos
# - arch: x86_64
# vmconfigs: configs/vms/nimbos-x86_64-qemu-smp1.toml
# vmconfigs_name: NimbOS
# vmimage_name: qemu_x86_64_nimbos
fail-fast: false
runs-on:
- self-hosted
- linux
- intel

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
submodules: "recursive"

- name: Install dependencies
- uses: cargo-bins/cargo-binstall@main

- name: Install ostool
# run: cargo binstall ostool
run: cargo +stable install ostool --version ^0.8

- name: Download images and patch vm configs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/uboot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ success_regex = [
"Welcome to AxVisor Shell!",
"All tests passed!",
"Hello World!",
"Hello, world!",
"root@firefly:~#",
"root@phytium-Ubuntu:~#",
"Welcome to Phytium Buildroot",
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ __pycache__/
/crates/*
!/crates/nop/
!/crates/nop/**
.devspace/

/Cargo.toml.bk

Expand Down
36 changes: 36 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[submodule "modules/axvm"]
path = modules/axvm
url = https://github.com/arceos-hypervisor/axvm.git
[submodule "modules/axvcpu"]
path = modules/axvcpu
url = https://github.com/arceos-hypervisor/axvcpu.git
[submodule "modules/axdevice"]
path = modules/axdevice
url = https://github.com/arceos-hypervisor/axdevice.git
[submodule "modules/arm_vcpu"]
path = modules/arm_vcpu
url = https://github.com/arceos-hypervisor/arm_vcpu
[submodule "modules/arm_vgic"]
path = modules/arm_vgic
url = https://github.com/arceos-hypervisor/arm_vgic.git
[submodule "modules/axaddrspace"]
path = modules/axaddrspace
url = https://github.com/arceos-hypervisor/axaddrspace
[submodule "modules/axdevice_base"]
path = modules/axdevice_base
url = https://github.com/arceos-hypervisor/axdevice_base.git
[submodule "modules/axvisor_api"]
path = modules/axvisor_api
url = https://github.com/arceos-hypervisor/axvisor_api
[submodule "modules/x86_vcpu"]
path = modules/x86_vcpu
url = https://github.com/arceos-hypervisor/x86_vcpu
[submodule "modules/x86_vlapic"]
path = modules/x86_vlapic
url = https://github.com/arceos-hypervisor/x86_vlapic
[submodule "modules/axvmconfig"]
path = modules/axvmconfig
url = https://github.com/arceos-hypervisor/axvmconfig.git
[submodule "platform/axplat-aarch64-dyn"]
path = platform/axplat-aarch64-dyn
url = https://github.com/arceos-hypervisor/axplat-aarch64-dyn
2 changes: 1 addition & 1 deletion .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
force_explicit_abi = false
# force_explicit_abi = false
Loading
Loading