openanolis / dragonball-sandbox

Dragonball-sandbox is a collection of Rust crates to help build custom Virtual Machine Monitors and hypervisors.
Apache License 2.0
88 stars 41 forks source link

dbs-upcall: support vcpu resize on aarch64 #256

Closed xuejun-xj closed 1 year ago

xuejun-xj commented 1 year ago

This PR add supports for vcpu resize feature with upcall. By the way, fix a cargo test error on aarch64.

codecov[bot] commented 1 year ago

Codecov Report

Merging #256 (69618e6) into main (194b2cc) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #256   +/-   ##
=======================================
  Coverage   91.57%   91.57%           
=======================================
  Files          80       80           
  Lines       22369    22384   +15     
=======================================
+ Hits        20484    20499   +15     
  Misses       1885     1885           
Flag Coverage Δ
dbs-address-space 95.06% <ø> (ø)
dbs-allocator 94.98% <ø> (ø)
dbs-arch 96.30% <ø> (ø)
dbs-boot 94.90% <ø> (ø)
dbs-device 92.95% <ø> (ø)
dbs-interrupt 90.42% <100.00%> (+0.02%) :arrow_up:
dbs-legacy-devices 92.77% <ø> (ø)
dbs-miniball ∅ <ø> (∅)
dbs-upcall 94.31% <100.00%> (+0.05%) :arrow_up:
dbs-utils 91.25% <ø> (ø)
dbs-virtio-devices 89.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
crates/dbs-interrupt/src/manager.rs 96.59% <100.00%> (+0.01%) :arrow_up:
crates/dbs-upcall/src/dev_mgr_service.rs 85.67% <100.00%> (+0.52%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more