]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/xen/xen-bus.h
xen: add implementations of xen-block connect and disconnect functions...
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 8 Jan 2019 14:48:59 +0000 (14:48 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 14 Jan 2019 13:45:40 +0000 (13:45 +0000)
commitb6af8926fb858c4f1426e5acb2cfc1f0580ec98a
tree51cdeee977b3bd6cad7fef1985c1273fbf826654
parentd4683cf952d3bdcbcbfcfd982d77cb6b02041040
xen: add implementations of xen-block connect and disconnect functions...

...and wire in the dataplane.

This patch adds the remaining code to make the xen-block XenDevice
functional. The parameters that a block frontend expects to find are
populated in the backend xenstore area, and the 'ring-ref' and
'event-channel' values specified in the frontend xenstore area are
mapped/bound and used to set up the dataplane.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/block/xen-block.c
hw/xen/trace-events
hw/xen/xen-bus.c
include/hw/xen/xen-block.h
include/hw/xen/xen-bus.h