English | 中文
Introduction
arm_vcpu provides an OS-neutral AArch64 vCPU core. It owns EL2 guest entry/exit, guest register state, trap decode, and hardware virtualization register semantics. Host OS and VMM policy is supplied through ArmHostOps; AxVM integration lives in virtualization/axvm/src/arch/aarch64.
Quick Start
Installation
Add this crate to your Cargo.toml:
[]
= "0.5.0"
Run Check and Test
# Enter the crate directory
# Format code
# Run the workspace clippy flow
# Run host-runnable contract tests
# Build documentation
Integration
Example
use ;
;
Documentation
Generate and view API documentation:
Online documentation: docs.rs/arm_vcpu
Contributing
- Fork the repository and create a branch
- Run local format and checks
- Run local tests relevant to this crate
- Submit a PR and ensure CI passes
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.