Paolo Bonzini d53cdb307a 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>
2012-02-29 12:48:46 +01:00
..
2012-02-22 13:29:07 +01:00
2011-09-21 14:32:20 +02:00
2012-02-15 09:39:21 -06:00
2012-02-29 12:48:46 +01:00
2012-02-15 09:39:21 -06:00
2012-01-27 10:50:49 -06:00
2012-02-15 09:39:21 -06:00
2011-12-15 12:40:08 +01:00
2011-11-24 18:31:59 +02:00
2011-08-08 10:15:54 -05:00
2012-02-15 09:39:21 -06:00
2012-02-15 09:39:21 -06:00