Skip to content

QEMU crashes with CD device without media

Denis V. Lunev qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hmp: block qemu-io command for device without mediahmp.c+3 -01 reply
2/2ide: fix crash in IDE cdrom readhw/ide/atapi.c hw/ide/core.c+30 -68 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for 2.11 0/2] QEMU crashes with CD device without media

There are 2 cases I have spotted so far:
1) IDE ATAPI read processing. Actually this was reported from field
2) QEMU IO hmp command (found during evaluation of (1))

SCSI code checks during access that blk_is_available(). These patches add same checks on different code paths.

Pls decide whether these patches should go through sub-system trees or via block tree.

CC "Dr. David Alan Gilbert" <[email protected]>
CC John Snow <[email protected]>
CC Kevin Wolf <[email protected]>
CC Stefan Hajnoczi <[email protected]>