Skip to main content
vee
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

vee start

Start a VM in the background and wait until it is ready.

vee start <name>

vee spawns QEMU as a background process, then polls until the VM is ready. For provisioned guests (any cloud-init template — vee’s SSH key is injected there), ready means an authenticated SSH command round-trip succeeds, so vee ssh works the moment start returns. Guests vee cannot log into (imported disks, truenas) fall back to a reachability probe: the SSH port accepts, or the guest agent answers. Progress is shown as a spinner; the command exits when the VM is ready.

If stdout is not a TTY (e.g. in a script), the spinner is skipped and a plain message is printed when the VM is ready.

GPU passthrough VMs

For VMs with GPU passthrough, vee start runs a pre-flight check before launching:

  1. Reads the GPU’s PCIe power state and driver binding.
  2. If the device is in D3cold (left over from an unclean exit), attempts a PCI function-level reset via sysfs.
  3. Verifies the IOMMU group is fully bound to vfio-pci.

If the preflight fails and the device cannot be recovered, a cold reboot of the host is required.

Example

vee start linux-gaming