qemu/hw/ide
Paolo Bonzini 215e47b9ea blockdev: enable discard by default
Because discard is now a host parameter, we can always fake it as enabled
in the guest.  This is an extension of the current choice to ignore
"not supported" errors from the host when discard_granularity is set
to nonzero.

The default granularity is set to the logical block size or 4k, whichever
is largest, because cluster sizes below 4k are rarely used and 4K is a
typical block size for files.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-02-22 21:29:44 +01:00
..
ahci.c ahci: Add migration support 2013-01-25 18:18:36 +01:00
ahci.h ahci: Add migration support 2013-01-25 18:18:36 +01:00
atapi.c
cmd646.c
core.c ide: Add fall through annotations 2013-01-25 18:27:10 +01:00
ich.c ahci: Add migration support 2013-01-25 18:18:36 +01:00
internal.h
isa.c
macio.c ide/macio: QOM'ify MacIO IDE 2013-01-25 22:02:54 +01:00
Makefile.objs
microdrive.c
mmio.c ide/mmio: QOM'ify MMIO IDE for R2D 2013-02-01 00:13:41 +01:00
pci.c ide: Remove wrong assertion 2013-01-17 10:51:11 +01:00
pci.h
piix.c
qdev.c blockdev: enable discard by default 2013-02-22 21:29:44 +01:00
via.c