xen: remove unnecessary code from dataplane/xen-block.c
commitca072800754a3c64bd57f8c02328c2bd70377027
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 8 Jan 2019 14:48:54 +0000 (8 14:48 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 14 Jan 2019 13:45:40 +0000 (14 13:45 +0000)
tree6669b02198b3710430649dff01af2ae1d6025471
parent4ea7d1a7f1e6555be1222f0a873eba3d603c1335
xen: remove unnecessary code from dataplane/xen-block.c

Not all of the code duplicated from xen_disk.c is required as the basis for
the new dataplane implementation so this patch removes extraneous code,
along with the legacy #includes and calls to the legacy xen_pv_printf()
function. Error messages are changed to be reported using error_report().

NOTE: The code is still not yet built. Further transformations will be
      required to make it correctly interface to the new XenBus/XenDevice
      framework. They will be delivered in a subsequent patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/block/dataplane/xen-block.c