Skip to content

Drop support for Xen 4.1 and older from qemu-xen

Ian Campbell qemu-devel xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 6 repliesIn review
  2. v2 posting 1/20 of 5 patches 0 repliesSuperseded
  3. v15 patches 15 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen: drop support for Xen 4.1 and older.configure hw/i386/xen/xen_apic.c include/hw/xen/xen.h +2 more+7 -2670 replies
1/5xen: drop support for Xen 4.1 and older.configure hw/i386/xen/xen_apic.c include/hw/xen/xen.h +2 more+7 -2672 replies
2/5xen: drop xen_xc_hvm_inject_msi wrapperinclude/hw/xen/xen_common.h xen-hvm.c+1 -70 replies
3/5xen: drop XenXC and associated interface wrappershw/xen/xen_backend.c include/hw/xen/xen_backend.h include/hw/xen/xen_common.h +2 more+44 -640 replies
4/5xen: move xenforeignmemory compat layer into common placeinclude/hw/xen/xen_common.h+14 -200 replies
4/5xen: move xenforeignmemory compat layer into common placeinclude/hw/xen/xen_common.h+14 -200 replies
5/5xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2hw/display/xenfb.c xen-hvm.c+2 -240 replies
5/5xen: Drop __XEN_LATEST_INTERFACE_VERSION__ checks from prior to Xen 4.2hw/display/xenfb.c xen-hvm.c+2 -242 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/5R-b R-b
1/5R-b R-b
2/5R-b
3/5R-b
4/5R-b R-b
4/5R-b R-b
5/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] Drop support for Xen 4.1 and older from qemu-xen

This is most easily explained by the commit log of the first patch:

    Xen 4.2 become unsupported upstream in 09/2015 (see
    http://wiki.xen.org/wiki/Xen_Release_Features). However as far as the interfaces provided by the toolstack libraries go 4.2 and 4.3 are indistinguishable.

    Therefore drop support for Xen 4.1 and earlier which removes a whole pile of compatibility code which makes future work (to use stable library interfaces provided by upstream) more difficult. In particular all supported versions now use a pointer as a libxc handle (4.1 and earlier used an integer, resulting in various shim layers).
    Also Xen 4.2 was the first version of Xen to formally support upstream QEMU (as a preview) so that makes sense as a cut-off now.

The rest of the patches are just further cleanups which become possible.