diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-15 11:46:11 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-29 12:48:46 +0100 |
commit | d53cdb307a6f6d7a5136898902659f2ded8f6582 (patch) | |
tree | 3212f794bd05f0e486063d091ee8e6753425af4a /path.c | |
parent | a2df5fa324cd09a31225701e5b2f9fb067c237cd (diff) |
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 'path.c')
0 files changed, 0 insertions, 0 deletions