Commit Graph
17 Commits
Author SHA1 Message Date
osy 7ec85d56a9 scripting: replace uuid with index for displays
We do not have persistent UUIDs for displays and so every time a new
config object is constructed, the UUIDs will change. We should
use index instead just like with serial and networking options.

Fixes #7145
2025-07-24 11:02:55 -07:00
osy 2b86f67d99 Merge pull request #6978 from naveenrajm7/script-display
scripting: expose display config
2025-04-07 16:06:09 -07:00
osy 3dfcddcc79 Merge pull request #6977 from naveenrajm7/script-sandbox-path
scripting : add vm registry suite
2025-04-07 16:05:44 -07:00
Naveenraj M 77a36173cc scripting: expose display config
qemu display
- All fields , except vga ram is exposed
apple display
- only dynamic resolution property is exposed.
- From GUI , the height, width and pixel of resolution is in pre-defined ratio as hence not exposed.

Both display will have id, which can be used to track and ditach the displays.
2025-01-19 02:17:17 -07:00
Naveenraj M f0cf825c22 scripting: add file urls to qemu additional arguments
* file urls is a list of file
* file urls are not saved to the disk (config.plist)
* QEMU launcher looks at file urls of args to collect required resources
* QEMU uses file URLs to access its corresponding bookmark
* The permissions of these urls is not handled as part of config update (ConfigImpl) , they should be handled at VM level(VMImpl) to update registryEntry of each VM
2025-01-17 17:30:50 -07:00
Naveenraj M 26fe0de354 scripting: expose icon in config
* Allows to get/set built-in icons
iconURL is URL in UTMConfig, but stored as string in config.plist, same is done for scripting interface.
2024-12-22 23:31:12 -07:00
Naveenraj M f101cceca0 scripting: drop file urls from qemu arguments
If file urls were be supported, handle file permissions before use (app sandbox)
2024-11-20 20:29:12 -07:00
Naveenraj M 7c8f656592 scripting: change property name
Avoid using reserved keyword in AppleScript as property name
2024-10-12 22:03:57 -06:00
Naveenraj M a4a79fea7c scripting: add qemu additional arguments
read and update qemu additional argument of vm config
2024-10-12 14:08:49 -06:00
osy e65578fe07 Merge pull request #5357 from MMP0/patch-1
Fix string format + Update Japanese localization
2023-07-03 09:16:56 -05:00
osy 37991d246f vm: rewrite UTMVirtualMachine in Swift 2023-06-28 19:45:05 -05:00
osy d498239b38 data: refactor UTMVirtualMachine to VMData for use in Views
This replaces the functionality of UTMWrappedVirtualMachine and moves some of
the presentation logic from UTMVirtualMachine.
2023-06-26 23:28:18 -05:00
MMP0 97976bd1ea Fix string format 2023-06-02 20:54:53 +09:00
osy 9db50536f9 scripting: fix target always resetting 2023-03-20 12:00:54 -07:00
osy ed1dde8822 scripting: simplified drives and support updating existing drive source 2023-03-20 12:00:11 -07:00
osy 1d42ceb7fe scripting: add make virtual machine 2023-03-19 21:11:22 -07:00
osy 4b4b33d10a scripting: add configuration suite 2023-03-19 21:11:22 -07:00