[Feature request] Please implement ATA TRIM command

Bug #602544 reported by Коренберг Марк
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Wishlist
Unassigned

Bug Description

Modern linuxes can use ATA TRIM command on block devices. It will be very nice if qemu translates this request to underlying block driver.

1. So, if I use RAW image (on my case - lvm partition), TRIM inside qemu should do TRIM command on my readl HDD
2. In the future, TRIM command inside qemu will free space inside qcow images.

Thomas Huth (th-huth)
Changed in qemu:
importance: Undecided → Wishlist
Revision history for this message
John Snow (jnsnow) wrote :

This was indeed implemented through support for the DATA_SET_MANAGEMENT command, in hw/ide/core.c. If you are having specific issues here in 2016, please file a more specific bug.

Thomas Huth (th-huth)
Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.