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

cpuid: add cpu leaf 4000_0001 #261

Closed studychao closed 1 year ago

studychao commented 1 year ago

Add KVM CPUID bits to support TDX cases.

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

codecov[bot] commented 1 year ago

Codecov Report

Merging #261 (503ca78) into main (7b2bae4) will increase coverage by 1.83%. The diff coverage is n/a.

:exclamation: Current head 503ca78 differs from pull request most recent head 4806da5. Consider uploading reports for the commit 4806da5 to get more accurate results

@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
+ Coverage   89.76%   91.59%   +1.83%     
==========================================
  Files          69       80      +11     
  Lines       22141    22405     +264     
==========================================
+ Hits        19874    20521     +647     
+ Misses       2267     1884     -383     
Flag Coverage Δ
dbs-address-space 95.06% <ø> (-0.25%) :arrow_down:
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 89.18% <ø> (+1.87%) :arrow_up:

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

see 25 files with indirect coverage changes

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