[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH v2 0/4] v2v: simplify driver copying from virtio-win iso

Libguestfs supports passing an ISO image as a source of virtio windows
drivers to v2v.

That support, however, looks too heavy-weight: in order to access those
drivers, a separate guestfs handle is created (and thus a new emulator
process is started), which runs until v2v triggers garbage collection.

This series attempts to make it simpler and lighter-weight, by making
the relevant code more local, and by hot-adding the image into the main
guestfs handle if supported by the backend.

Roman Kagan (4):
  v2v: consolidate virtio-win file copying
  v2v: copy virtio drivers without guestfs handle leak
  v2v: drop useless forced gc
  v2v: reuse main guestfs for virtio win drivers iso

changes since v1:
 - rebased to latest master (in particular, updated usage of string
 - add missing and remove excessive parentheses
 - reorder patches
 - preserve support for backends with no hot-add capability

 v2v/convert_windows.ml | 206 ++++++++++++++++++++++++++---------------------
 v2v/utils.ml           | 212 +++++++++++++++----------------------------------
 v2v/v2v.ml             |   8 --
 3 files changed, 179 insertions(+), 247 deletions(-)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]