virtualization-rs provides the API of the Apple Virtualization.framework in Rust language.

Overview

virtualization-rs

Crates Document

Rust bindings for Virtualization.framework

virtualization-rs provides the API of the Apple Virtualization.framework in Rust language.

Requirements

macOS Big Sur

Usage

[dependencies]
virtualization-rs = "0.1.2"

Example

The example is inspired from SimpleVM.

make release
./target/release/examples/simplevm --kernel ubuntu/vmlinuz --initrd ubuntu/initrd --disk ubuntu/ubuntu.iso

simplevm

You might also like...
A Rust framework for building Minecraft servers.

A Rust framework for building Minecraft: Java Edition servers. Like feather, Valence is an effort to build a Minecraft compatible server completely fr

A safe, fast and cross-platform 2D component-based game framework written in rust

shura shura is a safe, fast and cross-platform 2D component-based game framework written in rust. shura helps you to manage big games with a component

A reimplementation of the minecraft server framework in rust.

FerrumC About FerrumC is a Rust-based reimplementation of the Minecraft server, designed to be fast and efficient, optimized for low memory usage and

String processing with file/line/col information and the regular rust `str` API

Simple span handling for str and &[u8] This crate exposes some of the methods that exist on str or bstr. If you are missing any you need, please open

Gameroasters Server Base Framework

atlas atlasserver is a rust library for the purpose of composing REST APIs out of re-usable and extensible modules, specifically with supporting the n

A framework for making games using Macroquad.

Omegaquad A framework for making games using Macroquad. After writing maybe 5 games and finding myself always going to the previous project to copy-pa

Engine / framework for creating highly customizable and user modable action RPG's

Rust RPG Toolkit PLEASE NOTE: this in early and very heavy development. API is subject to constant change, as it has newly transitioned from being a g

Hotham is a framework for quickly and easily creating amazing standalone VR experiences.
Hotham is a framework for quickly and easily creating amazing standalone VR experiences.

🚧 Under construction! Please mind the mess! 🚧 Introduction G'day, and welcome to Hotham! 👋 Hotham is an attempt to create a lightweight, high perfo

A lightweight job framework for Bevy.

bevy_jobs A lightweight job framework for Bevy. Getting started Defining a job: pub struct FetchRequestJob { pub url: String, } impl bevy_jobs::J

Comments
  • Compilation errors on rustc 1.63

    Compilation errors on rustc 1.63

    I'm trying to compile virtualization-rs using rustc 1.63, but I'm getting those errors:

    $ cargo build
    Compiling libc v0.2.132
    Compiling block v0.1.6
    Compiling malloc_buf v0.0.6
    Compiling objc v0.2.7
    Compiling virtualization-rs v0.1.2 (/Users/antek/dev/thirdparty/virtualization-rs)
    error[E0054]: cannot cast as `bool`
    --> src/base.rs:117:13
    |
    117 |             obj as BOOL
    |             ^^^^^^^^^^^ unsupported cast
    
    error[E0054]: cannot cast as `bool`
    --> src/virtualization/virtual_machine.rs:196:20
    |
    196 |                 Ok(obj as BOOL)
    |                    ^^^^^^^^^^^ unsupported cast
    
    error[E0308]: mismatched types
    --> src/virtualization/virtual_machine.rs:255:23
    |
    255 |             Ok(ret == 1i8)
    |                       ^^^ expected `bool`, found `i8`
    
    Some errors have detailed explanations: E0054, E0308.
    For more information about an error, try `rustc --explain E0054`.
    error: could not compile `virtualization-rs` due to 3 previous errors
    FAIL: 101
    

    Did anyone have a similar issue? Is there any quick fix for this?

    opened by antekone 3
Owner
suzu
https://suzusuzu.github.io/
suzu
Scuffed UEFI video(bad apple) player

Bad UEFI Another day, another Bad Apple project. Video and audio are loaded from \video.uefiv and \audio.uefia respectively. (when running in QEMU esp

Matic Babnik 4 Nov 8, 2022
Provides a mechanism to lay out data into GPU buffers according to WGSL's memory layout rules

Provides a mechanism to lay out data into GPU buffers ensuring WGSL's memory layout requirements are met. Features supports all WGSL host-shareable ty

Teodor Tanasoaia 69 Dec 30, 2022
An asset that provides 2d collision detector and kinematics, build from scratch in bevy

Busturi A physics engine An asset that provides 2d collision detector and kinematics, build from scratch in bevy How to use Add PhysicsPlugin to the p

NemuiSen 2 Jun 22, 2022
Bell is a work in progress programming language that compiles to MCfunction (Minecraft's language for creating datapacks).

Bell is a work in progress programming language that compiles to MCfunction (Minecraft's language for creating datapacks). It provides a higher level,

Yoav 17 Aug 25, 2022
Victorem - easy UDP game server and client framework for creating simple 2D and 3D online game prototype in Rust.

Victorem Easy UDP game server and client framework for creating simple 2D and 3D online game prototype in Rust. Example Cargo.toml [dependencies] vict

Victor Winbringer 27 Jan 7, 2023
Creative Coding Framework based on Entity Component System (ECS) written in Rust

creativity creativity is Creative Coding Framework based on Entity Component System (ECS) written in Rust. Key Features TBA Quick Start TBA How To Con

Chris Ohk 9 Nov 6, 2021
Heavy - an opinionated, efficient, relatively lightweight, and tightly Lua-integrated game framework for Rust

Heavy - an opinionated, efficient, relatively lightweight, and tightly Lua-integrated game framework for Rust Slow down, upon the teeth of Orange Heav

Shea Leffler 12 Mar 18, 2022
A small, portable and extensible game framework written in Rust.

What is This? Crayon is a small, portable and extensible game framework, which loosely inspired by some amazing blogs on bitsquid, molecular and flooo

JK Mao 174 Oct 22, 2022
🎮 A simple 2D game framework written in Rust

Tetra Tetra is a simple 2D game framework written in Rust. It uses SDL2 for event handling and OpenGL 3.2+ for rendering. Website Tutorial API Docs FA

Joe Clay 766 Jan 8, 2023
🎮 A 2D game framework written in Rust

Nova Nova is a 2D game framework written in Rust. ⚠️ Use at your own risk! This framework is designed as a base for my own projects, rather than as a

Joe Clay 10 Dec 17, 2022