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

Roman Kagan rkagan at virtuozzo.com
Mon Aug 10 15:55:28 UTC 2015


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 completes.

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.

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

 v2v/convert_windows.ml | 184 ++++++++++++++++++++--------------------
 v2v/utils.ml           | 224 ++++++++++++++++---------------------------------
 v2v/v2v.ml             |   8 --
 3 files changed, 163 insertions(+), 253 deletions(-)

-- 
2.4.3




More information about the Libguestfs mailing list