Skip to content

feat: implement KVM support for Linux platform (x86_64)#102

Merged
78 merged 5 commits intomainfrom
kvm
Apr 19, 2026
Merged

feat: implement KVM support for Linux platform (x86_64)#102
78 merged 5 commits intomainfrom
kvm

Conversation

@78
Copy link
Copy Markdown
Owner

@78 78 commented Apr 19, 2026

  • Introduced KVM-based virtualization for Linux, including the creation of KVM VM and vCPU classes.
  • Added necessary platform files for KVM integration, including memory management and interrupt handling.
  • Updated CMake configuration to support Linux-specific components and dependencies.
  • Enhanced console port handling for POSIX compatibility across platforms.
  • Improved Docker build scripts to accommodate loop-mounting requirements for root filesystem builds.

78 added 5 commits April 20, 2026 05:31
- Introduced KVM-based virtualization for Linux, including the creation of KVM VM and vCPU classes.
- Added necessary platform files for KVM integration, including memory management and interrupt handling.
- Updated CMake configuration to support Linux-specific components and dependencies.
- Enhanced console port handling for POSIX compatibility across platforms.
- Improved Docker build scripts to accommodate loop-mounting requirements for root filesystem builds.
- Updated the C++ build job to support multiple operating systems (Windows and Linux) using a matrix strategy.
- Modified the configuration and build steps to dynamically adjust based on the OS, improving build efficiency and artifact management.
- Artifacts are now named and stored according to the respective platform, ensuring clarity in build outputs.
…lementations

- Updated logging statements in the I8254Pit class to ensure proper formatting of frequency values.
- Enhanced the Write method in PosixConsolePort to handle short writes and interruptions, ensuring all data is sent without loss.
- Modified the virtio_fs.cpp file to suppress unused return value warnings from the truncate function.
…mponents

- Updated logging statements in various files to use portable format specifiers (e.g., PRIx64, PRIu64) for 64-bit integers, enhancing consistency and readability.
- Adjusted error and info logs in Aarch64 and x86_64 architecture files, as well as in disk management and guest agent components, to ensure proper formatting of addresses and sizes.
- Included necessary header for <cinttypes> to support the new format specifiers.
- Updated the ReadBe64 function in test_qcow2.cpp to suppress unused return value warnings from fread by storing the return value in a variable and casting it to void.
- This change enhances code quality and maintains compiler warnings at bay.
@78 78 merged commit 141ed35 into main Apr 19, 2026
3 checks passed
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