• M
    block: Make essential BlockDriver objects public · 5f535a94
    Max Reitz 提交于
    There are some block drivers which are essential to QEMU and may not be
    removed: These are raw, file and qcow2 (as the default non-raw format).
    Make their BlockDriver objects public so they can be directly referenced
    throughout the block layer without needing to call bdrv_find_format()
    and having to deal with an error at runtime, while the real problem
    occurred during linking (where raw, file or qcow2 were not linked into
    qemu).
    
    Cc: qemu-stable@nongnu.org
    Signed-off-by: NMax Reitz <mreitz@redhat.com>
    Signed-off-by: NKevin Wolf <kwolf@redhat.com>
    5f535a94
raw-win32.c 20.5 KB