Open jamesmortensen opened 2 years ago
I'm not sure what exactly is happening to the Images timestamp but view.plist is going to be gone in the next UTM 4.x so that shouldn't be a problem anymore.
Yeah, considering nothing in Images is modified, it is odd that the folder tinestamp is updated. I may be able to play with this more and see if I can figure out what's happening. Also, if the view.plist is going away then that might solve the problem?
Describe the issue
The "Run without saving changes" feature is great for situations where we want to inspect the contents of a VM without making changes. When using QEMU, I use the
-snapshot
argument, and I assumed UTM is utilizing it as well.One way I can tell if I've made changes to a VM or not is whether or not the file and folder modification dates have changed. With QEMU, literally nothing gets touched, so the folder timestamp remains the same.
But with UTM, I can see the following items were changed:
In order to keep straight which VM's have been modified, it would be helpful for the "Run without saving changes" option to behave more like QEMU and not make any changes to any of the underlying resources.
Configuration
Details:
VM I hadn't touched since Jul 17 2021:
After starting the VM with the "Run without saving changes" option, I see this:
and within the VM UTM folder:
and the Images folder:
Nothing obvious was changed in here. The qcow2 drive is still unmodified. I'm not sure why efi_vars has May 13th as the date but it seems to also not have been modified.
QEMU, however, appears to respect the data folders timestamps and does not modify anything, so it's super clear later on that the VM had not been modified: