xen_disk: remove open-coded use of libxengnttab
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 17 May 2018 15:35:52 +0000 (16:35 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 May 2018 18:43:21 +0000 (11:43 -0700)
commit5ee1d999138f17ad54657f1dba6408f6aefc3cc2
tree221da86afb5aa438798eacfe7d00aa22fbb1eb7e
parent9838824affced9e4db01a369dd28c14f694fa9b9
xen_disk: remove open-coded use of libxengnttab

Now that helpers are present in xen_backend, this patch removes open-coded
calls to libxengnttab from the xen_disk code.

This patch also fixes one whitspace error in the assignment of the
XenDevOps initialise method.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/block/xen_disk.c