-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (40 loc) · 1.25 KB
/
Cargo.toml
File metadata and controls
47 lines (40 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "axvm"
authors = ["aarkegz <aarkegz@gmail.com>"]
version = "0.3.0"
edition = "2024"
categories = ["virtualization", "no-std"]
description = "Virtual Machine resource management crate for ArceOS's hypervisor variant."
repository = "https://github.com/arceos-hypervisor/axvm"
keywords = ["vm", "hypervisor", "arceos"]
license = "Apache-2.0"
[features]
default = ["vmx"]
vmx = []
4-level-ept = [] # TODO: Realize 4-level-ept on x86_64 and riscv64.
[dependencies]
log = "0.4"
cfg-if = "1.0"
spin = "0.10"
# System independent crates provided by ArceOS.
axerrno = "0.2"
cpumask = "0.1.0"
# kspin = "0.1.0"
memory_addr = "0.4"
page_table_entry = { version = "0.6", features = ["arm-el2"] }
page_table_multiarch = "0.6"
percpu = { version = "0.2.0", features = ["arm-el2"] }
# System dependent modules provided by ArceOS-Hypervisor.
axvcpu = "0.3"
axaddrspace = "0.3"
axvisor_api = "0.3"
axdevice = "0.2.2"
axdevice_base = "0.2.2"
axvmconfig = { version = "0.2.2", default-features = false }
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_vcpu = "0.3"
[target.'cfg(target_arch = "riscv64")'.dependencies]
riscv_vcpu = "0.3"
[target.'cfg(target_arch = "aarch64")'.dependencies]
arm_vcpu = "0.3"
arm_vgic = { version = "0.2.2", features = ["vgicv3"] }