Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run without saving changes does not work for Apple VM #4201

Open
conath opened this issue Jul 10, 2022 · 4 comments · May be fixed by #3893
Open

Run without saving changes does not work for Apple VM #4201

conath opened this issue Jul 10, 2022 · 4 comments · May be fixed by #3893
Labels
macOS macOS issues

Comments

@conath
Copy link
Contributor

conath commented Jul 10, 2022

From pyrosousa on Discord:

Does the "Run without saving changes" work for a macOS Monterrey guest on m1?

Maybe i'm misunderstanding its function, but i was testing with some text files on my desktop and all the changes i was making (pretty simple ones) were persisting.

@conath conath added the macOS macOS issues label Jul 10, 2022
@mikedowler
Copy link

+1 - I used "Run without saving changes" and installed some software. Rebooted the VM, and the software is still there.

@osy osy linked a pull request Aug 5, 2022 that will close this issue
@jsiegers
Copy link

+1 As well

@Javdat
Copy link

Javdat commented Oct 1, 2022

Seems to work as intended in macOS Monterrey on M1. You have to exit the "disposable mode", or re-open it. Reboot doesn't seem to exit it, hence you continue within the same "disposable mode". Closing the window and starting again will start a fresh one.

@lewurm
Copy link

lewurm commented Jan 25, 2023

There is some API in the Apple hypervisor that sounds related:
https://developer.apple.com/documentation/virtualization/vzdiskimagestoragedeviceattachment/3857729-init
https://developer.apple.com/documentation/virtualization/vzdiskimagesynchronizationmode

VZDiskImageSynchronizationMode
case none
Disables data synchronization with the permanent storage.

But UTM doesn't specify a synchronizationMode currently:

func vzDiskImage() throws -> VZDiskImageStorageDeviceAttachment? {
if let imageURL = imageURL {
return try VZDiskImageStorageDeviceAttachment(url: imageURL, readOnly: isReadOnly)
} else {
return nil
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS macOS issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants