Skip to content

Conversation

@Jgprog117
Copy link

Summary

Resolves #1202 by consolidating duplicate enum definitions.

Changes

  • Removed duplicate enum definition from
  • Added import to use the existing definition from module
  • Both enums were identical, ensuring no functional changes

Impact

This eliminates code duplication and establishes a single source of truth for the enumeration, improving maintainability.

Fixes #1202

Removed duplicate HypervisorType enum definition from sandbox/hypervisor.rs
and added import to use the existing definition from virtual_machine module.

Both enums were identical, so consolidating reduces code duplication and
ensures a single source of truth for the hypervisor type enumeration.

Fixes hyperlight-dev#1202

Signed-off-by: Jgprog117 <gustafsonjosef@gmail.com>
@Jgprog117 Jgprog117 force-pushed the fix/consolidate-hypervisor-type-enum branch from e4e3563 to 17cd14d Compare January 31, 2026 11:37
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.

Consolidate duplicate enum HypervisorType

1 participant