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

acpi: add dbs-acpi support for Dragonball #254

Closed studychao closed 1 year ago

studychao commented 1 year ago

This is for initializing dbs-acpi.

fixes: #253

Signed-off-by: Chao Wu chaowu@linux.alibaba.com

codecov[bot] commented 1 year ago

Codecov Report

Merging #254 (0eade51) into main (fff7509) will decrease coverage by 1.16%. The diff coverage is 79.85%.

:exclamation: Current head 0eade51 differs from pull request most recent head 6a77b74. Consider uploading reports for the commit 6a77b74 to get more accurate results

@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
- Coverage   91.57%   90.42%   -1.16%     
==========================================
  Files          80       82       +2     
  Lines       22429    24596    +2167     
==========================================
+ Hits        20540    22241    +1701     
- Misses       1889     2355     +466     
Flag Coverage Δ
dbs-address-space 95.30% <99.00%> (+0.23%) :arrow_up:
dbs-allocator 94.98% <ø> (ø)
dbs-arch 96.37% <100.00%> (+0.06%) :arrow_up:
dbs-boot 94.90% <83.33%> (ø)
dbs-device 92.95% <100.00%> (ø)
dbs-interrupt 90.42% <100.00%> (+0.02%) :arrow_up:
dbs-legacy-devices 92.77% <0.00%> (ø)
dbs-miniball ∅ <ø> (∅)
dbs-upcall 94.31% <94.73%> (+0.04%) :arrow_up:
dbs-utils 91.25% <80.00%> (ø)
dbs-virtio-devices 87.31% <77.64%> (-1.87%) :arrow_down:

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

Impacted Files Coverage Δ
crates/dbs-arch/src/x86_64/cpuid/mod.rs 87.50% <ø> (ø)
...rates/dbs-arch/src/x86_64/cpuid/transformer/mod.rs 94.80% <ø> (+1.21%) :arrow_up:
crates/dbs-legacy-devices/src/serial.rs 88.63% <0.00%> (ø)
crates/dbs-utils/src/time.rs 85.90% <0.00%> (ø)
crates/dbs-virtio-devices/src/block/handler.rs 78.33% <ø> (ø)
...ates/dbs-virtio-devices/src/vsock/backend/inner.rs 93.52% <0.00%> (ø)
...ates/dbs-virtio-devices/src/vsock/epoll_handler.rs 89.44% <ø> (ø)
crates/dbs-virtio-devices/src/fs/device.rs 69.84% <44.68%> (+0.54%) :arrow_up:
crates/dbs-virtio-devices/src/vsock/device.rs 79.49% <60.00%> (-3.48%) :arrow_down:
crates/dbs-virtio-devices/src/mmio/mmio_state.rs 84.54% <75.00%> (-0.40%) :arrow_down:
... and 34 more

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

NK-fengsf commented 1 year ago

looks good for me

studychao commented 1 year ago

Close this and #297 will continue the work.