UTM
UTM copied to clipboard
Support drive resizing
Add UTMLogToMemory to capture output of "qemu-img info", which we can parse the JSON output of in order to determine the virtual size of the drive.
Use the same widget style for resizing as we do for creating a drive (GB/MB), although require clicking "Resize" to do the resize itself.
Currently doesn't warn about having not clicked "resize" though.
Fair warning: I'm pretty sure this is the first time in nearly 20 years I've looked at Objective-C code, and my Swift knowledge is sketchy at best.
Thanks for the PR. There has been a lot of changes to the backend, so I picked up your changes to UTMQemuImage (using the new delegate interface for UTMLogging) and then reworked the UI to be coherent across all the different disk operations.