]> git.proxmox.com Git - qemu.git/commit
dmg: fix ->open failure
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Jan 2010 13:06:54 +0000 (14:06 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Jan 2010 19:41:00 +0000 (13:41 -0600)
commit1559ca00bc90ce6917c2798ed81098e4be67f58e
treef0c131cfe3480b020afe2086c82077323a86c38d
parent49e75cf38848e6da70c0e9ddb4d994e9d71a9625
dmg: fix ->open failure

Currently the dmg image format driver simply opens the images as raw
if any kind of failure happens.  This is contrarty to the behaviour
of all other image formats which just return an error and let the
block core deal with it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/dmg.c