tools/libs/gnttab: decouple more from mini-os
authorJuergen Gross <jgross@suse.com>
Sun, 16 Jan 2022 08:23:45 +0000 (09:23 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 18 Jan 2022 14:58:28 +0000 (14:58 +0000)
commit11788ab3b9354ae1b4892e51f9d0232bf6825b70
tree14ca6584f2955a9abcea44e853f1d55eb068da3e
parent93753cecc8830c22ad522ccb29724ef3a5decdc4
tools/libs/gnttab: decouple more from mini-os

libgnttab is using implementation details of Mini-OS. Change that by
letting libgnttab use the new alloc_file_type() and get_file_from_fd()
functions and the generic dev pointer of struct file from Mini-OS.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libs/gnttab/minios.c