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

Support drive resizing #4087

Closed
wants to merge 1 commit into from
Closed

Conversation

stewartsmith
Copy link
Contributor

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.

Screen Shot 2022-06-01 at 22 58 28

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.
@osy osy added this to the v4.0 milestone Jul 30, 2022
@osy osy force-pushed the master branch 3 times, most recently from fb33cb2 to 3260ced Compare August 9, 2022 17:08
@osy osy closed this in 346e568 Sep 5, 2022
@osy
Copy link
Contributor

osy commented Sep 5, 2022

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.

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

Successfully merging this pull request may close these issues.

2 participants