[Libguestfs] [PATCH v3 0/3] Install QEMU-GA from oVirt guest tools ISO on Linux

Tomáš Golembiovský tgolembi at redhat.com
Wed Nov 7 11:53:17 UTC 2018


changes in v3:
- fix call to install_local

changes in v2:
- moved copy_drivers above copy_files
- renamed copy_files to copy_from_virtio_win
- renamed install to install_local
- use rpm instead of yum

This installs packages with QEMU Guest Agent when converting Linux machine. The
packages should be available on guest tools ISO. The patches work "as-is" but
probably deserve some more attention:

- it is "abusing" Winows_virtio code but renaming/refactoring everything to
  remove "windows" from the name and use "guest tools" seems like a lot of
  unnecesary work

- support for Debian is missing
  I don't know how to install the package only when all it's dependencies are
  already installed. dpkg cannot be used to check that (simulate the install).
  And attempting to install the package will leave it half-installed (dpkg
  cannot roll-back).

Tomáš Golembiovský (3):
  v2v: refactor copy_drivers() in Windows_virtio
  v2v: linux: install packages
  v2v: linux: install QEMU-GA (RHBZ#1619665)

 v2v/convert_linux.ml   |  2 ++
 v2v/linux.ml           | 14 ++++++++
 v2v/linux.mli          |  3 ++
 v2v/windows_virtio.ml  | 78 +++++++++++++++++++++++++++++++++---------
 v2v/windows_virtio.mli |  4 +++
 5 files changed, 84 insertions(+), 17 deletions(-)

-- 
2.19.0




More information about the Libguestfs mailing list