Re: [Qemu-block] [PATCH v3 10/38] hw/usb-storage: Check whether BB is inserted

2015-06-05 Thread Max Reitz
On 03.06.2015 22:37, Eric Blake wrote: On 06/03/2015 01:43 PM, Max Reitz wrote: Only call bdrv_add_key() on the BlockDriverState if it is not NULL. Signed-off-by: Max Reitz mre...@redhat.com --- hw/usb/dev-storage.c | 30 -- 1 file changed, 16 insertions(+), 14

Re: [Qemu-block] [PATCH v3 10/38] hw/usb-storage: Check whether BB is inserted

2015-06-03 Thread Eric Blake
On 06/03/2015 01:43 PM, Max Reitz wrote: Only call bdrv_add_key() on the BlockDriverState if it is not NULL. Signed-off-by: Max Reitz mre...@redhat.com --- hw/usb/dev-storage.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git