Repository navigation
Releases
0.2-3
-
added
--pid-file <path>argument which writes the process id (pid) of themacosvmprocess into the specified file path before starting the VM and removes it on exit, making it easier to track running VMs if desired. -
added following to options governing the caching and synchronization modes of attached disk images:
sync=<full|fsync|none>:full- allways immediate synchronization (default)fsync- synchronizes data to the drive using the system’s best-effort synchronization modenone- disables data synchronization with the permanent storage, the framework can’t safely reuse the disk image on failure.
cache=<auto|cached|uncached>:auto- automatic (default, leaves it up to the VM)cached- enables data cachinguncacehd- disables data caching
Caching and synchronization can be relaxed for speed benefits at the cost of relaibility in case of a panic or crash.
Thanks to Amr Mesbah (PR#42)!
0.2-2
-
added
--scriptargument which allows to specify a script that should be called then the VM is successfully launched. Additional two arguments are added to the provided script string: thepidof themacosvmprocess and the MAC address of the first interface (if it exists). The script is executed via/bin/bash -cso the actual call for--script <script>will be similar to/bin/bash -c '<script> <pid> <mac>'and thus respectsPATHetc.For en example script see https://github.com/R-macos/vm-scripts-mini-r/blob/master/launch.sh
0.2-1
-
Linux guest would fail with "Number of pointing devices is greater than the maximum number supported" since VZ framework allows the choice of trackpad and USB only for macOS guests (#21, regression from 0.1-4).
-
Add
--recoveryoption to start macOS VM in recovery mode (#22, thanks to Jim Lake)
(For older entries see NEWS)
0.2-0
0.2-0
- command line parameters are now parsed after the specified configuration file is loaded and will cause the settings to be added to the configuration. This allows the use of pre-specified configurations which can be supplemented by command line arguments. This behavior is more intuitive, but different from 0.1 versions which is why we chose to increase the version.
- added
--save <path>which will write the resulting configuration after all arguments were parsed into a JSON file specified by<path>. Note that--restorealready creates the configuration file without this option, so--saveshould only be used when it is desired to update an existing configuration augmented with command line options to create a new configuration file. - optional capabilities that depend on the host environment are listed as
Capabilities:in the output of--version
0.1-4
0.1-4
--net unix:<socket>[,mac=<mac>][,mtu=<mtu>]creates a network interface which routes network traffic to a unix socket<socket>on the host. The default (and minimum) MTU is 1500, but it can be increased (only on macOS 13 and higher). A temporary socket is created in the temporary directory by default, but the directory can be overridden by theTMPSOCKDIRenvironment variable.- ephemeral files are now also removed on
SIGABRTwhich can happen if the Virtualization framework raises an execption - added support for
usbdisk type (macOS 13 and above only) - added support for Mac trackpad if both the guest and host are macOS 13
- added
--spicewhich will enable clipboard shaing between the host and guest using the SPICE protocol (experimental). Requires macOS 13 host andspice-vdagentin the guest. Due to an issue in the Apple VZ framework this currently only works with Linux guests (macOS guests crash).
0.1-3
See NEWS
- added
--volfor virtiofs shared volumes/directories (macOS 13 recommended) - added network interface MAC address reporting and options (see
--net nat:<MAC>and--mac <MAC>) - added serial console support for macOS guests (use
--no-serialto disable) - added
--ptysupport
Note: the (signed) binary only requires macOS 12 target, but uses macOS 13 SDK for optional features such as guest auto-mount.