Displaying 2 results from an estimated 2 matches for "priob".
Did you mean:
prior
2020 Jan 28
0
[v2v PATCH v2 3/3] v2v: try to get windows driver files from libosinfo
...uot; -> true
+ | _ -> false
+ )
+ with Invalid_argument _ -> false
+ ) drivers in
+ (* Sort the drivers by priority, like libosinfo does. *)
+ let drivers =
+ List.sort (
+ fun { Libosinfo.priority = prioA } { Libosinfo.priority = prioB } ->
+ compare prioB prioA
+ ) drivers in
+ (* Any driver available? *)
+ if drivers = [] then
+ raise Not_found;
+ let driver = List.hd drivers in
+ let uri = Xml.parse_uri driver.Libosinfo.location in
+ let basedir =
+ match uri.Xml.uri_path with
+ |...
2020 Jan 28
4
[v2v PATCH v2 0/3] Use libosinfo for query device drivers
This patch series integrates libosinfo in virt-v2v to get the list of
files for Windows from libosinfo, if possible. The actual data is still
from virtio-win, just unpacked.
Changes from v1:
- adapt to use the priority in libosinfo 1.7.0+
- filter out non-pre-installable drivers
- collect all the drivers matching the requirements, not just the first,
sorting them by priority like libosinfo does