]> git.ipfire.org Git - thirdparty/qemu.git/commit - block/iscsi.c
block: Add notes to iSCSI's .bdrv_open and .bdrv_reopen_prepare
authorJeff Cody <jcody@redhat.com>
Tue, 4 Feb 2014 19:12:44 +0000 (14:12 -0500)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 14 Feb 2014 12:38:35 +0000 (13:38 +0100)
commit28f106afb35a86aa01e1907ef7632e015fabce02
tree13ea4f9bc744c6f078889fc34ff42c888afc9740
parentee13ed1cbc5f7f848e417f587c93ca1f36d83eb0
block: Add notes to iSCSI's .bdrv_open and .bdrv_reopen_prepare

iSCSI currently does not need to do any actions to support the
current usage of bdrv_reopen().  However, it is important to note
a couple of things: 1.) A connection will not be re-established to
an iSCSI target, and 2.) If iscsi_open() is changed to parse 'flags',
then iscsi_reopen_prepare() may need to be more than a stub.

In light of the above, this commit adds comments above both of the
functions to bring attention to these facts.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/iscsi.c