2 Commits
Author SHA1 Message Date
Sam Atkinson f2c3ecaedc scripting: fix shared directory access for Apple Virtualization VMs
update registry falls back to a disconnected UTMProcess for non-QEMU
backends, which mints a non-security-scoped bookmark wrapped in an
unresolved URL; the resulting entry can never be accessed, so the VM
fails to start with "Cannot access resource". Build a real
security-scoped bookmark directly for the Apple backend instead, and
explicitly resync config from the registry since there is no QEMU
process to trigger it.

Assisted-by: Claude:claude-sonnet-5
2026-08-25 15:12:54 -04:00
Naveenraj M f57fe2ef64 scripting: add vm resgistry suite
The registry suite is used to read and update vm registry.
All configs saved to disk is exposed by Configuration suite,
similarly those that are not saved to disk are stored in RegistryEntry
 will now be exposed by Registry suite.
  - UTMScriptingRegistryEntryImpl will control what will be exposed from RegistryEntry to scripting bridge, currently only shared directory is exposed in the form of [URL]
  - expose UTMQemuVirtualMachine.system as public to be used in Scripting
  - Add UTMRegistryEntry.appendSharedDirectory to support multiple directory shares.
2025-01-18 16:55:32 -07:00