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-boot: fdt: redefines vcpu_mpdir to vcpu_state #280

Closed xuejun-xj closed 1 year ago

xuejun-xj commented 1 year ago

This commit redefines the parameter "vcpu_mpidr" to "vcpu_state". "vcpu_state" combines two cpu attributes: mpidr and boot_enabled.

The "boot_enabled" attribute indicates whether this cpu should be brought up at boot procedure. 1 means online while 0 means offline.

codecov[bot] commented 1 year ago

Codecov Report

Merging #280 (cdd5736) into main (0d7ddaa) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   90.44%   90.44%           
=======================================
  Files          82       82           
  Lines       24597    24597           
=======================================
  Hits        22246    22246           
  Misses       2351     2351           
Flag Coverage Δ
dbs-address-space 95.30% <ø> (ø)
dbs-allocator 94.98% <ø> (ø)
dbs-arch 96.37% <ø> (ø)
dbs-boot 94.90% <ø> (ø)
dbs-device 92.95% <ø> (ø)
dbs-interrupt 90.42% <ø> (ø)
dbs-legacy-devices 92.77% <ø> (ø)
dbs-miniball ∅ <ø> (∅)
dbs-upcall 94.31% <ø> (ø)
dbs-utils 91.25% <ø> (ø)
dbs-virtio-devices 87.34% <ø> (ø)

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

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