Max Reitz 7d3467d903 hw/usb-storage: Check whether BB is inserted
Only call bdrv_add_key() on the BlockDriverState if it is not NULL.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-10-23 18:18:23 +02:00
..
2015-05-08 13:01:06 +02:00
2015-05-08 13:01:06 +02:00
2015-05-08 13:01:07 +02:00
2015-05-08 13:01:07 +02:00
2015-07-27 14:12:18 +01:00
2015-05-08 13:01:07 +02:00
2015-05-08 13:01:07 +02:00