Skip to content
  • Roger Pau Monné's avatar
    ffa14376
    tools/xenpvboot: remove as unable to convert to Python 3 · ffa14376
    Roger Pau Monné authored and Andrew Cooper's avatar Andrew Cooper committed
    
    
    The script heavily relies on the urlgrabber python module, which doesn't seem
    to be packaged by all distros; it's missing from newer Debian versions at
    least.
    
    Also the usage of the commands module has been deprecated since Python 2.6, and
    removed in Python 3, so the code would need to be re-written to not rely on
    urlgrabber and the commands modules.
    
    Arguably the purpose of the xenpvnetboot bootloader can also be achieved with
    an isolated script that fetches the kernel and ramdisk before attempting to
    launch the domain, without having to run in libxl context.  There are no xl.cfg
    options consumed by the bootloader apart from the base location and the
    subpaths of the kernel and ramdisk to fetch.
    
    Any interested parties in keeping such functionality are free to submit an
    updated script that works with Python 3.
    
    Resolves: xen-project/xen#172
    Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
    Reviewed-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
    Release-acked-by: default avatarHenry Wang <Henry.Wang@arm.com>
    ffa14376
    tools/xenpvboot: remove as unable to convert to Python 3
    Roger Pau Monné authored and Andrew Cooper's avatar Andrew Cooper committed
    
    
    The script heavily relies on the urlgrabber python module, which doesn't seem
    to be packaged by all distros; it's missing from newer Debian versions at
    least.
    
    Also the usage of the commands module has been deprecated since Python 2.6, and
    removed in Python 3, so the code would need to be re-written to not rely on
    urlgrabber and the commands modules.
    
    Arguably the purpose of the xenpvnetboot bootloader can also be achieved with
    an isolated script that fetches the kernel and ramdisk before attempting to
    launch the domain, without having to run in libxl context.  There are no xl.cfg
    options consumed by the bootloader apart from the base location and the
    subpaths of the kernel and ramdisk to fetch.
    
    Any interested parties in keeping such functionality are free to submit an
    updated script that works with Python 3.
    
    Resolves: xen-project/xen#172
    Signed-off-by: default avatarRoger Pau Monné <roger.pau@citrix.com>
    Reviewed-by: default avatarAndrew Cooper <andrew.cooper3@citrix.com>
    Release-acked-by: default avatarHenry Wang <Henry.Wang@arm.com>
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading