Re: [Qemu-devel] [PATCH] sd: Avoid access to NULL BlockDriverState

2013-10-17 Thread Stefan Hajnoczi
On Wed, Oct 16, 2013 at 03:24:01PM +0200, Andreas Färber wrote: Commit 4f8a066b5fc254eeaabbbde56ba4f5b29cc68fdf (blockdev: Remove IF_* check for read-only blockdev_init) added a usage of bdrv_is_read_only() to sd_init(), which is called for versatilepb, versatileab and xilinx-zynq-a9 machines

[Qemu-devel] [PATCH] sd: Avoid access to NULL BlockDriverState

2013-10-16 Thread Andreas Färber
Commit 4f8a066b5fc254eeaabbbde56ba4f5b29cc68fdf (blockdev: Remove IF_* check for read-only blockdev_init) added a usage of bdrv_is_read_only() to sd_init(), which is called for versatilepb, versatileab and xilinx-zynq-a9 machines among others with NULL argument by default, causing the new qom-test