v3: Sigh, fix my thinko: "if (!(...))", not "if !(...)" v2: Make sure we only abort PIO commands if BCL is zero, not DMA.
________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch atapi-bclimit https://github.com/jnsnow/qemu/tree/atapi-bclimit This version is tagged atapi-bclimit-v3: https://github.com/jnsnow/qemu/releases/tag/atapi-bclimit-v3 John Snow (1): atapi: abort transfers with 0 byte limits hw/ide/atapi.c | 32 +++++++++++++++++++++++++++----- hw/ide/core.c | 2 +- hw/ide/internal.h | 1 + 3 files changed, 29 insertions(+), 6 deletions(-) -- 2.4.3