[Feature request] Please implement ATA TRIM command
Bug #602544 reported by
Коренберг Марк
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.
Changed in qemu: | |
importance: | Undecided → Wishlist |
Changed in qemu: | |
status: | New → Fix Released |
To post a comment you must log in.
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.