xen_disk: remove use of grant map/unmap
commit06454c24adf54114a56524444b4e3e915e1879bc
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 17 May 2018 15:35:55 +0000 (17 16:35 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 May 2018 18:43:21 +0000 (22 11:43 -0700)
treef4bea920b904dffcb61cc2f868a47769a507591f
parent3fe12b8403111021e6eaae3b44d01a34922c176a
xen_disk: remove use of grant map/unmap

Now that the (native or emulated) xen_be_copy_grant_refs() helper is
always available, the xen_disk code can be significantly simplified by
removing direct use of grant map and unmap operations.

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