You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that directory shares are omitted from the list of properties. I have found the root cause of this to be that within the UTM.sdef file under the qemu configuration no property directory shares exists. i.e. all the of the apple configuration properties that get returned from the scripting interface exist within the qemu configuration as well. If a property only exists within the apple configuration, then it will not get displayed. I added the following property into qemu configuration:
<propertyname="directory share mode"code="DrSm"type="qemu directory share mode"description="Mode for directory sharing."/>
<!-- dummy property to allow apple configuration directory shares to appear -->
<propertyname="directory shares"code="DiRs"description="List of directory share configuration."type="list" />
<propertyname="drives"code="DrVs"description="List of drive configuration.">
<typetype="qemu drive configuration"list="yes"/>
</property>
My question is, should a dummy property be added to the qemu configuration in order to get directory shares to be returned? Or is there something else that can be done to ensure that properties unique to the apple configuration get returned.
Configuration
UTM Version: 4.6.5
MacOS: 15.4.1
Mac Chip: M4 Pro
The text was updated successfully, but these errors were encountered:
When running the following applescript against a macOS vm that has a directory share:
I receive the following output:
Notice that
directory shares
are omitted from the list of properties. I have found the root cause of this to be that within the UTM.sdef file under theqemu configuration
no propertydirectory shares
exists. i.e. all the of the apple configuration properties that get returned from the scripting interface exist within the qemu configuration as well. If a property only exists within the apple configuration, then it will not get displayed. I added the following property into qemu configuration:My question is, should a dummy property be added to the qemu configuration in order to get directory shares to be returned? Or is there something else that can be done to ensure that properties unique to the apple configuration get returned.
Configuration
UTM Version: 4.6.5
MacOS: 15.4.1
Mac Chip: M4 Pro
The text was updated successfully, but these errors were encountered: