xemu/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 atapi: make change media detection for guests easier 2012-11-30 11:33:24 +01:00
cmd646.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
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 softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
isa.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
macio.c ide/macio: QOM'ify MacIO IDE 2013-01-25 22:02:54 +01:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
microdrive.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
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 ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
qdev.c blockdev: enable discard by default 2013-02-22 21:29:44 +01:00
via.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00