virt-manager/virtinst/devices
Lin Ma 4782dd1cce cli: Add --disk driver.discard_no_unref=on|off
E.g.
  virt-install \
  ... \
  --disk /tmp/disk0.qcow2,size=16,driver.type=qcow2,driver.discard=unmap,\
  driver.discard_no_unref=on

It results in the following domain xml:
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' discard='unmap' discard_no_unref='on'/>
      <source file='/tmp/disk0.qcow2'/>
      <target dev='vda' bus='virtio'/>
    </disk>

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Lin Ma <lma@suse.de>
2024-09-08 11:25:32 -04:00
..
__init__.py cli: Add basic --audio type=XXX,id=Y support 2022-02-24 14:18:41 -05:00
audio.py cli: Add basic --audio type=XXX,id=Y support 2022-02-24 14:18:41 -05:00
char.py cli: Add --serial source.tls=on|off 2022-06-20 18:06:40 -04:00
controller.py virtinst: add support for controller target subelement 2020-11-21 14:47:22 -05:00
device.py virtinst: fix compare for audio devices 2024-08-26 12:33:51 -04:00
disk.py cli: Add --disk driver.discard_no_unref=on|off 2024-09-08 11:25:32 -04:00
filesystem.py Fix filesystem socket.source 2023-10-24 10:30:37 +02:00
graphics.py virtinst: add/remove spice devices when updating graphics type 2024-08-26 12:33:51 -04:00
hostdev.py hostdev: Fix error when mdev type_id is missing 2024-04-06 15:54:09 -04:00
input.py cli: --input: add support for evdev inputs 2021-07-27 16:04:15 -04:00
interface.py virt-install: implement passt backend for user network interface 2024-08-26 11:27:03 -04:00
iommu.py virtinst: add support for configuring the IOMMU 2020-07-12 09:15:52 -04:00
memballoon.py cli: Add --memballoon freePageReporting= 2021-01-24 18:49:55 -05:00
memory.py cli: Add --memdev target.address_base for virtio-mem and virtio-pmem 2024-09-08 11:25:32 -04:00
panic.py virtinst: Add a lot of test code coverage 2019-06-09 18:59:50 -04:00
redirdev.py virtinst: move UI only functions into virtManager 2019-06-09 18:33:45 -04:00
rng.py rng: add builtin rng backend model 2020-04-21 13:05:42 -04:00
shmem.py cli: --shmem: added support for shared memory devices 2021-07-27 15:55:00 -04:00
smartcard.py cli: --smartcard: support database= and certificate[0-9]*= 2019-05-14 11:57:50 -04:00
sound.py sound: Use ich9 more generally for PCIe, not just q35 2022-02-26 14:11:56 -05:00
tpm.py devices: tpm: Rework defaults 2022-02-19 08:36:28 -05:00
video.py cli: Add --video model.blob=on|off 2024-09-08 11:25:32 -04:00
vsock.py Remove Author lines from files 2019-01-15 13:55:53 -05:00
watchdog.py virtinst: move UI only functions into virtManager 2019-06-09 18:33:45 -04:00