Skip to content

Commit

Permalink
openhcl/page_pool_alloc: support save restore (#418)
Browse files Browse the repository at this point in the history
Support save restore for the page_pool_alloc crate. This allows save
restore of the shared visibility pool.

A future PR will add support for a private page pool to be used by AK
cert renewal and other usages.
  • Loading branch information
chris-oo authored Dec 9, 2024
1 parent 309bb5e commit 5492803
Show file tree
Hide file tree
Showing 6 changed files with 513 additions and 118 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4650,12 +4650,14 @@ dependencies = [
"hvdef",
"inspect",
"memory_range",
"mesh",
"parking_lot",
"sparse_mmap",
"thiserror 2.0.0",
"tracing",
"user_driver",
"vm_topology",
"vmcore",
]

[[package]]
Expand Down
8 changes: 4 additions & 4 deletions openhcl/page_pool_alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ vfio = ["user_driver/vfio"]
hcl.workspace = true

user_driver.workspace = true
vm_topology.workspace = true
hvdef.workspace = true
sparse_mmap.workspace = true
vmcore.workspace = true
memory_range = { workspace = true, features = [ "inspect", "mesh" ] }
vm_topology = { workspace = true, features = [ "inspect", "mesh" ] }

inspect.workspace = true
mesh.workspace = true

parking_lot.workspace = true
thiserror.workspace = true
anyhow.workspace = true
tracing.workspace = true

[dev-dependencies]
memory_range.workspace = true

[lints]
workspace = true
Loading

0 comments on commit 5492803

Please sign in to comment.