Skip to contentSkip to conversation

Please implement ATA TRIM command

Qemu-devel Коренберг Марк 1 participant 4 messages Jul 7, 2010 – Nov 10, 2016

lore
Share & tools
lore
#0 lore raw

Public bug reported:

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.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 12 lines
[Feature request] Please implement ATA TRIM command
https://bugs.launchpad.net/bugs/602544
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

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.
#1 lore raw

** Changed in: qemu
Importance: Undecided => Wishlist

Signature · 19 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/602544

Title:
  [Feature request] Please implement ATA TRIM command

Status in QEMU:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/602544/+subscriptions
author
#2 lore raw
In reply to Коренберг Марк

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.

Signature · 19 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/602544

Title:
  [Feature request] Please implement ATA TRIM command

Status in QEMU:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/602544/+subscriptions
#3 lore raw
In reply to Коренберг Марк

** Changed in: qemu
Status: New => Fix Released

Signature · 19 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/602544

Title:
  [Feature request] Please implement ATA TRIM command

Status in QEMU:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/602544/+subscriptions