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
..
2022-02-24 14:18:41 -05:00
2022-02-24 14:18:41 -05:00
2022-06-20 18:06:40 -04:00
2020-11-21 14:47:22 -05:00
2024-08-26 12:33:51 -04:00
2024-09-08 11:25:32 -04:00
2023-10-24 10:30:37 +02:00
2024-08-26 12:33:51 -04:00
2024-04-06 15:54:09 -04:00
2021-07-27 16:04:15 -04:00
2024-08-26 11:27:03 -04:00
2020-07-12 09:15:52 -04:00
2021-01-24 18:49:55 -05:00
2024-09-08 11:25:32 -04:00
2019-06-09 18:59:50 -04:00
2019-06-09 18:33:45 -04:00
2020-04-21 13:05:42 -04:00
2021-07-27 15:55:00 -04:00
2019-05-14 11:57:50 -04:00
2022-02-26 14:11:56 -05:00
2022-02-19 08:36:28 -05:00
2024-09-08 11:25:32 -04:00
2019-01-15 13:55:53 -05:00
2019-06-09 18:33:45 -04:00