Skip to content

kexec-tools: add support for Xen 4.4

David Vrabel kexec xen-devel 10 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest4 patches 21 repliesApplied
  2. v6 posting 2/24 patches 0 repliesSuperseded
  3. v6 posting 1/20 of 4 patches 0 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v5 posting 3/34 patches0 repliesSuperseded
v5 posting 2/30 of 4 patches0 repliesSuperseded
v5 posting 1/34 patches5 repliesSuperseded
v4 posting 2/25 patches14 repliesSuperseded
v4 posting 1/20 of 5 patches0 repliesSuperseded
v20 of 4 patches4 repliesSuperseded
v14 patches14 repliesSuperseded

Changes in v7 from the cover letter

- extend extra segment to 0-1 MiB so the VGA memory is accesible by the image.

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/4kexec/xen: require libxc from Xen 4.4configure.ac kexec/arch/i386/crashdump-x86.c kexec/arch/i386/kexec-x86-common.c +1 more+1 -2293 replies
2/4kexec/xen: use libxc to get location of crash noteskexec/crashdump-xen.c+40 -272 replies
3/4kexec/xen: switch to use xc_kexec_get_range for get_xen_vmcoreinfo.kexec/crashdump-xen.c kexec/crashdump.c+25 -50 replies
4/4kexec/xen: directly load images images into Xenkexec/Makefile kexec/arch/i386/crashdump-x86.c kexec/crashdump-xen.c +4 more+218 -80 replies
4/4kexec/xen: directly load images images into Xenkexec/Makefile kexec/arch/i386/crashdump-x86.c kexec/crashdump-xen.c +4 more+218 -88 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel KiperDon Slutz
SeriesR-b T-b R-b T-b T-b T-b
1/4R-b R-b R-b
2/4R-b R-b R-b
3/4R-b
4/4R-b R-b R-b R-b
4/4R-b R-b R-b R-b

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

Read the v7 thread

Cover letter [PATCHv7 0/4] kexec-tools: add support for Xen 4.4

The series adds support for the new hypercall ABI which should be provided by Xen 4.4. Images are loaded into Xen directly with no kernel involvement.

Please do not apply until the hypervisor side patches are applied to Xen.

Patch 1 makes libxc 4.4 mandatory for Xen support.

Patch 2-3 remove uses of /proc/iomem in favour of libxc.

Patch 4 adds the support for loading, unloading, and exec'ing an image in Xen.

This series explicitly drops support for older version of libxc/Xen as supporting kexec on these hypervisors requires kernel support that will never be available upstream.

Changes in v7:
- extend extra segment to 0-1 MiB so the VGA memory is accesible by the image.

Changes in v6:
- Close libxc handle a few error paths.

Changes in v5:
- Dropped the purgatory patch.

Changes in v4:
- KEXEC_ARCH_DEFAULT => EM_386
- add segment in the crash case for the backup src.

Changes in v3 (not posted):
- Rebased

Changes in v2:
- Patch from Don Sultz: use libxc for vmcoreinfo.
- Use xc_get_max_cpus() to get number of PCPUs.
- Enable unload and exec of images.

David