[PATCH v2 0/3] Drivers: hv: add kexec support

Vitaly Kuznetsov vkuznets at redhat.com
Wed Jun 3 15:13:02 UTC 2015


Changes since v1:
- rebased on top of current Greg's char-misc-next tree.

To make general-purpose kexec (not just kdump) possible for Hyper-V guests
we need to perform some additional cleanup before starting new kernel (see
[PATCH 2/3] for the detailed description).

Know limitations: kexec with balloned out memory is not possible as the
newly loaded kernel doesn't know about this memory and there is no way to
ask the host to bring all the memory back on cleanup (or at least I'm not
aware of such a way). Kexec with hotplugged memory leads to reboot (not
exactly sure why).

Vitaly Kuznetsov (3):
  Drivers: hv: vmbus: remove hv_synic_free_cpu() call from
    hv_synic_cleanup()
  Drivers: hv: vmbus: add special kexec handler
  Drivers: hv: don't do hypercalls when hypercall_page is NULL

 arch/x86/include/asm/mshyperv.h |  2 ++
 arch/x86/kernel/cpu/mshyperv.c  | 30 ++++++++++++++++++++++++++++++
 drivers/hv/hv.c                 | 15 ++++++++-------
 drivers/hv/vmbus_drv.c          | 15 +++++++++++++++
 4 files changed, 55 insertions(+), 7 deletions(-)

-- 
1.9.3



More information about the devel mailing list