]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block/blkio: move blkio_connect() in the drivers functions
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 27 Jul 2023 16:10:17 +0000 (18:10 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 27 Jul 2023 19:51:46 +0000 (15:51 -0400)
commit69785d66ae1ec43f77fc65109a21721992bead9f
tree0e24b598a706a2d0dc2c5e0aa57b04dbd604b805
parentef256751e970bff435d40a8348dd51d81e67e52e
block/blkio: move blkio_connect() in the drivers functions

This is in preparation for the next patch, where for virtio-blk
drivers we need to handle the failure of blkio_connect().

Let's also rename the *_open() functions to *_connect() to make
the code reflect the changes applied.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20230727161020.84213-2-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/blkio.c