ide: Fix segfault when flushing a device that doesn't exist
authorKevin Wolf <kwolf@redhat.com>
Tue, 12 Aug 2014 16:29:41 +0000 (18:29 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:13 +0000 (18:03 +0100)
commitf7f3ff1da0c451befc8d32f977f9c352d1303f40
tree39f90c284a5603dfcd231a70b486119dc6b647db
parent2f7133b2e540342809a35bb4f52e0abdc5fff9ff
ide: Fix segfault when flushing a device that doesn't exist

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/core.c
tests/ide-test.c