[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC PATCH 0/3] Improve kexec support in Xen hypervisor

This series of patches improves the kexec hypercall in the Xen
hypervisor.  It is an incomplete prototype but I posting it early for
comments on the proposed ABI/API.

This allows a privileged Xen guest to load kexec images into the
hypervisor from a userspace tool without using the Linux kernel's
kexec subsystem.  It is the first step to supporting kexec of crash
kernels from a pv-ops dom0 kernel (the required kernel and kexec-tools
patches will be posted later).

The kernel will require a kexec hypercall somewhere in the
crash_kexec() path to actually exec the loaded image.  Any preferences
on how the hook for this should be implemented?  Note that the kernel
won't be aware that an image as been loaded as it is loaded directly
into the hypervisor and not via the kernel's kexec_load system call.

Since the kexec hypercall is for use by dom0 I have removed the
implementation of the old load/unload ops and thus guests will require
updated kexec-tools to load images.  Is this acceptable?


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.