Skip to content

Cherry pick "Hoist VSM/HEKI types and errors into litebox_common_lvbs"#1069

Merged
sangho2 merged 1 commit into
uliteboxfrom
ulitebox-pr-1064
Jul 23, 2026
Merged

Cherry pick "Hoist VSM/HEKI types and errors into litebox_common_lvbs"#1069
sangho2 merged 1 commit into
uliteboxfrom
ulitebox-pr-1064

Conversation

@sangho2

@sangho2 sangho2 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Sangho Lee <sanghle@microsoft.com>
@sangho2
sangho2 enabled auto-merge July 22, 2026 23:53
@sangho2
sangho2 added this pull request to the merge queue Jul 22, 2026
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.49.0/src/lints/enum_missing.ron

Failed in:
  enum litebox_platform_lvbs::mshv::error::VsmError, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/error.rs:13
  enum litebox_platform_lvbs::host::linux::PkeyIdType, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:99
  enum litebox_platform_lvbs::mshv::hvcall::HypervCallError, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/hvcall.rs:289
  enum litebox_platform_lvbs::mshv::VsmFunction, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:205

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.49.0/src/lints/module_missing.ron

Failed in:
  mod litebox_platform_lvbs::mshv::error, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/error.rs:4

--- failure pub_module_level_const_missing: pub module-level const is missing ---

Description:
A public const is missing or renamed
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.49.0/src/lints/pub_module_level_const_missing.ron

Failed in:
  KEXEC_SEGMENT_MAX in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:166
  NUM_VTLCALL_PARAMS in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:180
  HV_STATUS_INVALID_HYPERCALL_INPUT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:99
  VSM_VTL_CALL_FUNC_ID_LOCK_REGS in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:184
  HV_STATUS_ACCESS_DENIED in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:102
  VSM_VTL_CALL_FUNC_ID_LOAD_KDATA in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:187
  HV_STATUS_INVALID_PORT_ID in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:105
  VSM_VTL_CALL_FUNC_ID_UNLOAD_MODULE in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:190
  HV_STATUS_TIME_OUT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:108
  VSM_VTL_CALL_FUNC_ID_PATCH_TEXT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:193
  VSM_VTL_CALL_FUNC_ID_OPTEE_MESSAGE in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:200
  VSM_VTL_CALL_FUNC_ID_ENABLE_APS_VTL in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:182
  HV_STATUS_INVALID_ALIGNMENT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:100
  VSM_VTL_CALL_FUNC_ID_SIGNAL_END_OF_BOOT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:185
  HV_STATUS_OPERATION_DENIED in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:103
  VSM_VTL_CALL_FUNC_ID_VALIDATE_MODULE in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:188
  MAX_CORES in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/arch/x86/mod.rs:47
  HV_STATUS_INVALID_CONNECTION_ID in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:106
  VSM_VTL_CALL_FUNC_ID_COPY_SECONDARY_KEY in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:191
  HV_STATUS_VTL_ALREADY_ENABLED in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:109
  VSM_VTL_CALL_FUNC_ID_ALLOCATE_RINGBUFFER_MEMORY in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:194
  HV_STATUS_INVALID_HYPERCALL_CODE in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:98
  VSM_VTL_CALL_FUNC_ID_BOOT_APS in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:183
  HV_STATUS_INVALID_PARAMETER in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:101
  VSM_VTL_CALL_FUNC_ID_PROTECT_MEMORY in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:186
  HV_STATUS_INSUFFICIENT_MEMORY in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:104
  VSM_VTL_CALL_FUNC_ID_FREE_MODULE_INIT in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:189
  HV_STATUS_INSUFFICIENT_BUFFERS in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:107
  VSM_VTL_CALL_FUNC_ID_KEXEC_VALIDATE in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:192
  VSM_VTL_CALL_FUNC_ID_SET_PLATFORM_ROOT_KEY in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/mshv/mod.rs:197

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.49.0/src/lints/struct_missing.ron

Failed in:
  struct litebox_platform_lvbs::host::linux::ListHead, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:172
  struct litebox_platform_lvbs::host::linux::Kimage, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:152
  struct litebox_platform_lvbs::host::linux::ModuleSignature, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:108
  struct litebox_platform_lvbs::host::linux::KexecSegment, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/9a9393f8a6218004d1b982308919fc62addbfd01/litebox_platform_lvbs/src/host/linux.rs:138

Merged via the queue into ulitebox with commit 106e625 Jul 23, 2026
7 checks passed
@sangho2
sangho2 deleted the ulitebox-pr-1064 branch July 23, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant