[Libguestfs] [PATCH v4 2/9] v2v: linux: Fix Xen PV-only detection.

Pino Toscano ptoscano at redhat.com
Fri Apr 7 08:59:33 UTC 2017


On Thursday, 6 April 2017 12:04:20 CEST Richard W.M. Jones wrote:
> Our previous test was wrong.  It tested whether the xennet.ko module
> exists.  This module was renamed in more recent kernels (to
> xen-netfront.ko), so it happened to not detect modern kernels as
> PV-only, but this was by chance.

Just stumbled upon this bit in v2v/convert_linux.ml:

    if family = `SUSE_family then (
      (* Remove xen modules from INITRD_MODULES and DOMU_INITRD_MODULES. *)
      let variables = ["INITRD_MODULES"; "DOMU_INITRD_MODULES"] in
      let xen_modules = ["xennet"; "xen-vnif"; "xenblk"; "xen-vbd"] in

should the list above be updated with the newer names of the Xen
modules?

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170407/f8fb784f/attachment.sig>


More information about the Libguestfs mailing list