mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Introduce a new 'connected' xendev op called when Connected.
Rename the existing xendev 'connect' op to 'initialised' and introduce a new 'connected' op. This new op, if defined, is called when the backend is connected. Note that since there is no state transition this may be called more than once. Signed-off-by: John Haxby <john.haxby@oracle.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
07ff2c4475
commit
384087b2fe
6 changed files with 44 additions and 15 deletions
|
|
@ -852,7 +852,7 @@ struct XenDevOps xen_blkdev_ops = {
|
|||
.flags = DEVOPS_FLAG_NEED_GNTDEV,
|
||||
.alloc = blk_alloc,
|
||||
.init = blk_init,
|
||||
.connect = blk_connect,
|
||||
.initialise = blk_connect,
|
||||
.disconnect = blk_disconnect,
|
||||
.event = blk_event,
|
||||
.free = blk_free,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue