Skip to content

tpt-solutions/tpt-virtual

TPT Virtual

Infrastructure Freedom Through Technical Excellence

License: MIT License: Apache 2.0 CI

TPT Virtual is a next-generation, open-source virtualization platform built from the ground up in Rust. It delivers a microkernel-based Virtual Machine Monitor (VMM) that natively supports VMs, containers, and WebAssembly workloads with hardware-level GPU/NPU virtualization.

Unlike existing solutions that retrofit modern capabilities onto legacy architectures, TPT Virtual is purpose-built for the AI era, the multi-cloud era, and the post-Broadcom era of infrastructure independence.

Vision

  • More secure than proprietary alternatives (Rust memory safety, microkernel isolation)
  • More performant for modern workloads (AI/ML, containers, edge computing)
  • More flexible (run anywhere: bare-metal, cloud, edge, ARM, x86, RISC-V)
  • More honest (zero feature gating, transparent development, community governance)

Architecture

┌─────────────────────────────────────────────────────────────┐
│                    TPT Virtual Control Plane                 │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐       │
│  │   Web UI     │  │   REST API   │  │   CLI Tool   │       │
│  └──────────────┘  └──────────────┘  └──────────────┘       │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                  TPT Virtual Orchestrator                    │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐       │
│  │  Scheduler   │  │  Networking  │  │   Storage    │       │
│  └──────────────┘  └──────────────┘  └──────────────┘       │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    TPT Virtual VMM (Rust)                    │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐       │
│  │  VM Manager  │  │ ContainerMgr │  │  Wasm Runtime│       │
│  │  (KVM accel) │  │  (runc shim) │  │  (Wasmtime)  │       │
│  └──────────────┘  └──────────────┘  └──────────────┘       │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│                    Host OS (Minimal Linux)                   │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐       │
│  │   Kernel     │  │  Device Mgr  │  │  Telemetry   │       │
│  └──────────────┘  └──────────────┘  └──────────────┘       │
└─────────────────────────────────────────────────────────────┘

Crates

Crate Description
tpt-common Shared types, traits, and error definitions
tpt-vmm Virtual Machine Monitor with KVM acceleration
tpt-orchestrator Distributed control plane and scheduler
tpt-storage Distributed block storage layer
tpt-networking SDN controller and virtual networking
tpt-cli Command-line interface

Quick Start

Note: TPT Virtual is in early development. The following instructions will work once Phase 1 is complete.

Prerequisites

  • Rust 1.86.0+ (see rust-toolchain.toml)
  • Linux with KVM support (for VMM)
  • Bazel 7.6.1+ (optional, for Bazel builds)

Build

# Clone the repository
git clone https://github.com/tpt-solutions/tpt-virtual.git
cd tpt-virtual

# Build with Cargo
cargo build --workspace

# Or build with Bazel
bazel build //...

Run Tests

cargo test --workspace

Lint

cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all -- --check

Development Phases

Phase Timeline Focus
Phase 1 Months 1-6 Foundation — VMM, basic VM lifecycle, CLI, web UI
Phase 2 Months 7-12 Clustering — multi-node, distributed storage, live migration
Phase 3 Months 13-18 VMware Migration — vCenter integration, VMDK replication
Phase 4 Months 19-24 Advanced — GPU virtualization, containers, Wasm, SDN

See spec.txt for the full design document.

Contributing

See CONTRIBUTING.md for guidelines on how to contribute.

License

TPT Virtual is dual-licensed under:

You may choose either license for your use. All source files carry the SPDX identifier:

SPDX-License-Identifier: MIT OR Apache-2.0

About

An open-source, Rust-based microkernel VMM unifying VMs, containers, and WebAssembly workloads with hardware-level GPU/NPU virtualization. Built for the AI era and the post-Broadcom/VMware era of infrastructure freedom.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors