aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-03-06 20:02:40 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-06 20:02:40 +0100
commit0d2e91c17829729812bf5d22d20dd0f5d2554ec2 (patch)
tree9d1c42597f6d426e6c59300dca3519bd1db6d9d4 /net.c
parentnet: Use iov helper functions (diff)
downloadqemu-kvm-0d2e91c17829729812bf5d22d20dd0f5d2554ec2.tar.gz
qemu-kvm-0d2e91c17829729812bf5d22d20dd0f5d2554ec2.tar.bz2
qemu-kvm-0d2e91c17829729812bf5d22d20dd0f5d2554ec2.zip
hw/sd.c: fix sd_set_cb() crash when bdrv == NULL
sd_set_cb() calls bdrv_is_read_only() and bdrv_is_inserted() even if no block driver is associated with the card reader. This patch fixes the issues by not setting the irq in this case, this fixes ARM versatile crash. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'net.c')
0 files changed, 0 insertions, 0 deletions