]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
xen: remove unnecessary code from dataplane/xen-block.c
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 14 Nov 2018 16:29:22 +0000 (16:29 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 11 Dec 2018 15:51:14 +0000 (15:51 +0000)
commit2cf2475c8b9b21750d3c40db046581bcc4beac1d
tree35cbf216f265e35da9bb92da6844871b7901ec73
parentf4f7d00066074d906469541a17195e21c1a8b0a0
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>
---
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>
v4:
 - Fix boilerplate

v2:
 - Leave existing boilerplate alone, other than removing the now-incorrect
   description
hw/block/dataplane/xen-block.c