summaryrefslogtreecommitdiff
path: root/qemu-all/fix-trim-ide.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-all/fix-trim-ide.patch')
-rw-r--r--qemu-all/fix-trim-ide.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/qemu-all/fix-trim-ide.patch b/qemu-all/fix-trim-ide.patch
deleted file mode 100644
index 65714e0ca..000000000
--- a/qemu-all/fix-trim-ide.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/hw/ide/core.c b/hw/ide/core.c
-index db191a6..7256592 100644
---- a/hw/ide/core.c
-+++ b/hw/ide/core.c
-@@ -688,7 +688,8 @@ void ide_dma_cb(void *opaque, int ret)
- sector_num, n, s->dma_cmd);
- #endif
-
-- if (!ide_sect_range_ok(s, sector_num, n)) {
-+ if ((s->dma_cmd == IDE_DMA_READ || s->dma_cmd == IDE_DMA_WRITE) &&
-+ !ide_sect_range_ok(s, sector_num, n)) {
- dma_buf_commit(s);
- ide_dma_error(s);
- return;

Generated by cgit