Home
last modified time | relevance | path

Searched hist:da557aac181fa71fde6a2a7c7a1eb2aea20caf64 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock.hdiff da557aac181fa71fde6a2a7c7a1eb2aea20caf64 Fri Dec 20 12:28:11 CST 2013 Max Reitz <mreitz@redhat.com> block: Add bdrv_open_image()

Add a common function for opening images to be used for block drivers
specified through BlockdevRefs in an option QDict. The difference from
bdrv_file_open() is that this function may invoke bdrv_open() instead,
allowing auto-detection of the driver to be used; and second, it
automatically extracts the BlockdevRef from the option QDict.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff da557aac181fa71fde6a2a7c7a1eb2aea20caf64 Fri Dec 20 12:28:11 CST 2013 Max Reitz <mreitz@redhat.com> block: Add bdrv_open_image()

Add a common function for opening images to be used for block drivers
specified through BlockdevRefs in an option QDict. The difference from
bdrv_file_open() is that this function may invoke bdrv_open() instead,
allowing auto-detection of the driver to be used; and second, it
automatically extracts the BlockdevRef from the option QDict.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>