commit | ef8104378c4a0497be079e48ee5ac5a89c68f978 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Tue Dec 02 18:32:42 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Dec 10 10:31:19 2014 +0100 |
tree | d990ad85348d396320214a2ad02e0de7624a48d7 | |
parent | 5f535a941e52229d81e55603eb69b2bd449b937a [diff] |
block: Omit bdrv_find_format for essential drivers We can always assume raw, file and qcow2 being available; so do not use bdrv_find_format() to locate their BlockDriver objects but statically reference the respective objects. Cc: qemu-stable@nongnu.org Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>