ide: add TRIM support
authorChristoph Hellwig <hch@lst.de>
Thu, 19 May 2011 08:58:19 +0000 (10:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 15 Jun 2011 12:36:16 +0000 (14:36 +0200)
commitd353fb72f59cd0e1f67baf773e74719cda761a89
tree994311cabf1fd896af097c7165fa4176b991c09c
parent4e1e00515e2522bbae98a0653ea2692ec20851ac
ide: add TRIM support

Add support for TRIM sub function of the data set management command,
and wire it up to the qemu discard infrastructure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c
hw/ide/internal.h
hw/ide/macio.c
hw/ide/pci.c
hw/ide/qdev.c