Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanenck/vfu
simple virtualization utility for macOS written in swift and using the virtualization framework
https://github.com/seanenck/vfu
virtual-machine virtualization-framework vm
Last synced: about 2 months ago
JSON representation
simple virtualization utility for macOS written in swift and using the virtualization framework
- Host: GitHub
- URL: https://github.com/seanenck/vfu
- Owner: seanenck
- License: gpl-3.0
- Created: 2023-08-05T01:10:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-17T23:01:31.000Z (4 months ago)
- Last Synced: 2024-09-18T03:28:49.574Z (4 months ago)
- Topics: virtual-machine, virtualization-framework, vm
- Language: Swift
- Homepage:
- Size: 128 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
vfu
===`vfu` is a swift re-implementation of [vftool](https://github.com/evansm7/vftool) (but in swift!)
with a set of changes that make it a bit different to run and including additional functionality, like:
- VM JSON configuration (instead of CLI flags)
- Additional features (e.g. nvme, entropy, time sync, shared directories, static
MACs...)
- Graphical option/output[![build](https://github.com/seanenck/vfu/actions/workflows/build.yml/badge.svg)](https://github.com/seanenck/vfu/actions/workflows/build.yml)
## Build
to get `vfu` working, clone the repository
```
make
```## Install
build and then deploy the full application contents to `/Applications` as
`vfu.app`
```
make install
```## Usage
There is a small set of example JSON configurations in the `examples/` directory
### CLI
To validate a configuration without starting the VM
```
/Applications/vfu.app/Contents/MacOS/vfu-cli --config --verify
```To start the VM
```
/Applications/vfu.app/Contents/MacOS/vfu-cli --config
```### GUI
The simple GUI variant allows for attaching an actual virtio graphics setup to a
VM configuration. When started it will open a dialog box to select a configuration
JSON file and the GUI will close when VM stops. This is starting by running the `vfu.app`.