diff options
Diffstat (limited to 'kvmx')
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -547,6 +547,11 @@ function kvmx_up { image_opts="-cdrom $image" else image_opts="-drive file=$image,if=$drive_interface" + + # TRIM support + if [ "$image_discards" != "n" ]; then + image_opts="$image_opts,discard=unmap" + fi fi if [ ! -z "$virtio_rng" ]; then |