virt-manager/virtinst
Cole Robinson 381aa4050c devices: disk: Set discard=unmap by default for some cases
This recommendation came from an internal discussion. The cases are

* For block storage. This means guest requests are passed through
  to the host device, which seems a more reasonable default than
  ignoring them

* For sparse disk images we will create. discard=unmap helps preserve
  the sparseness of the disk image. If a user requests non-sparse, they
  are likely more concerned with performance than saving disk space,
  so we leave the default as is. We limit this to disk images we will
  create, since that's the easiest case to check, and it's less clear
  if we should change the behavior here for an arbitrary existing
  disk image.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2022-02-03 13:42:49 -05:00
..
devices devices: disk: Set discard=unmap by default for some cases 2022-02-03 13:42:49 -05:00
domain cli: Add --launchSecurity kernelHashes=yes|no 2022-01-26 17:08:27 -05:00
install installerinject: Add error detection for initrd injection 2022-01-04 09:39:21 +00:00
__init__.py i18n: globally install also the ngettext function 2020-07-14 11:24:14 -04:00
_progresspriv.py tests: Add full test coverage for progress text output 2021-06-09 16:52:12 -04:00
buildconfig.py Prep for release 3.2.0 2020-11-14 16:15:22 -05:00
capabilities.py i18n: fix string puzzles in capabilities lookup error msgs 2020-09-17 15:38:42 -04:00
cli.py cli: Add --memdev target.{current,block,requested} 2022-01-27 09:57:20 -05:00
cloner.py cloner: Improve error message about unimplemented rbd support 2022-01-26 16:58:45 -05:00
connection.py Fix some pylint, exclude some new warnings 2021-10-04 16:04:33 -04:00
diskbackend.py diskbackend: Restrict format->driver_type even more 2022-01-19 14:21:48 -05:00
domcapabilities.py devices: video: Use virtio default more often 2022-02-03 13:42:49 -05:00
generatename.py generatename: Move libvirt collision handling to callers 2019-06-11 17:54:45 -04:00
guest.py guest: Move uefi check into _add_default_tpm 2022-01-26 13:23:27 -05:00
logger.py tests: abide logging options for clitests 2019-12-11 17:57:28 -05:00
network.py hostnets: Remove SR-IOV info listing 2019-06-16 23:48:51 -04:00
nodedev.py nodedev: Move the CLI string format lookup to cli.py 2022-01-21 13:20:46 -05:00
osdict.py devices: video: Use virtio default more often 2022-02-03 13:42:49 -05:00
pollhelpers.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
progress.py progress: Drop tqdm and revert back to local urlgrabber copy 2021-06-09 16:52:11 -04:00
snapshot.py virtinst: move UI only functions into virtManager 2019-06-09 18:33:45 -04:00
storage.py pylint: Fix some deprecation warnings and minor bits 2022-01-11 12:32:23 -05:00
support.py object: nodedev: support isActive state 2022-01-17 14:37:06 -05:00
uri.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00
virtclone.py Remove shebangs from library paths 2021-06-22 19:54:37 -04:00
virtinstall.py virtinst: refactor setting of default vcpus count 2022-01-20 14:16:39 -05:00
virtxml.py virt-xml: Don't regenerate defaults if both hotplugging and defining 2021-10-12 15:15:08 -04:00
xmlapi.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
xmlbuilder.py xmlbuilder: Make embedded device XML print correctly 2021-10-12 15:10:39 -04:00
xmlutil.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00