Skip to content

Conversation

wfdewith
Copy link
Contributor

@wfdewith wfdewith commented Oct 27, 2024

I've put a restriction of only resizing when the desired size is larger than the original size. Even though libvirt allows shrinking (but only when VIR_STORAGE_VOL_RESIZE_SHRINK is specified), this is not an operation that is readily supported by most VM images.

@wfdewith
Copy link
Contributor Author

I see that #1122 touches something related to this change. If both are merged, we probably need to update some stuff to reuse the same code paths for resizing images.

I've put a restriction of only resizing when the desired size is larger
than the original size. Even though libvirt allows shrinking (but only
when VIR_STORAGE_VOL_RESIZE_SHRINK is specified), this is not an
operation that is readily supported by most VM images.
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.

1 participant