Skip to content

Conversation

@Iscreamx
Copy link
Contributor

fix: AXVISOR_VM_CONFIGS separator for platform compatibility (#307 )

  • Ensure platform compatibility for VM config file environment variable
  • Automatically select the correct separator for AXVISOR_VM_CONFIGS based on the operating system (; for Windows, : for Unix).

}

if !vm_config_paths.is_empty() {
let sep = if cfg!(target_os = "windows") { ";" } else { ":" };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use std::env::join_paths?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Contributor

@aarkegz aarkegz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZR233 ZR233 merged commit a9ac71a into arceos-hypervisor:next2 Nov 27, 2025
5 checks passed
ZR233 pushed a commit that referenced this pull request Nov 27, 2025
* fix AXVISOR_VM_CONFIGS separator

* fix: use std::env::join_paths for AXVISOR_VM_CONFIGS
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.

3 participants