Skip to content

Supress macOS warnings#7

Merged
dpsoft merged 1 commit intomainfrom
fix/suppress-macos-warnings
Feb 25, 2026
Merged

Supress macOS warnings#7
dpsoft merged 1 commit intomainfrom
fix/suppress-macos-warnings

Conversation

@dpsoft
Copy link
Copy Markdown
Contributor

@dpsoft dpsoft commented Feb 25, 2026

This pull request enhances how kernel modules are handled in the guest agent and installation scripts, particularly by distinguishing between required and optional modules and ensuring proper inclusion of 9p filesystem modules. The most important changes are grouped below by theme.

Kernel module loading logic improvements:

  • Updated the load_kernel_modules function in guest-agent/src/main.rs to specify which modules are required and which are optional, allowing optional modules (such as network and 9p filesystem modules) to fail silently if missing, which is expected on macOS/VZ. Required modules now trigger warnings if loading fails.

Kernel module installation enhancements:

  • Added the 9p filesystem modules (9pnet.ko and 9pnet_virtio.ko) to the list of modules extracted from the Debian package in scripts/lib/guest_linux.sh, ensuring they are available for installation.
  • Updated the install_kernel_modules_linux function in scripts/lib/guest_linux.sh to install the 9p filesystem modules, further supporting host directory sharing features.

…modules

- Added a `required` flag to module loading logic to handle optional modules silently.
- Included support for 9p filesystem kernel modules in Linux guest setup.
- Adjusted scripts to install 9p modules.
@dpsoft dpsoft merged commit 5e9151d into main Feb 25, 2026
14 checks passed
@dpsoft dpsoft deleted the fix/suppress-macos-warnings branch February 25, 2026 03:00
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