diff options
| author | Paolo Bonzini | 2012-02-15 11:46:11 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2012-02-29 12:48:46 +0100 |
| commit | d53cdb307a6f6d7a5136898902659f2ded8f6582 (patch) | |
| tree | 3212f794bd05f0e486063d091ee8e6753425af4a /block | |
| parent | fdc: DIR (Digital Input Register) should return status of current drive... (diff) | |
| download | qemu-d53cdb307a6f6d7a5136898902659f2ded8f6582.tar.gz qemu-d53cdb307a6f6d7a5136898902659f2ded8f6582.tar.xz qemu-d53cdb307a6f6d7a5136898902659f2ded8f6582.zip | |
ide: fail I/O to empty disk
Requesting a read or a write operation on an empty disk can lead
to QEMU dumping core.
Also fix a few braces here and there.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
