Skip to content

misc changes for kexec in pv-on-hvm guests

Olaf Hering xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 19 repliesIn review
  2. v16 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11kexec: add kexec_is_loaded functioninclude/linux/kexec.h kernel/kexec.c kernel/ksysfs.c+10 -33 replies
2/11xen: remove BUG_ON from xen_teardown_timerarch/x86/xen/time.c+0 -10 replies
3/11xen: use static initializers in xen-balloon.cdrivers/xen/xen-balloon.c+8 -100 replies
4/11xen/hvm kexec: unregister timer interrupt during rebootarch/x86/xen/time.c+28 -20 replies
5/11xen/hvm kexec: unregister debugirq during rebootarch/x86/xen/smp.c+22 -01 reply
6/11xen/hvm kexec: unregister shutdown+sysrq watches during rebootdrivers/xen/manage.c+17 -00 replies
7/11xen/hvm kexec: unregister memory/target watch in xen-balloon.cdrivers/xen/xen-balloon.c+15 -00 replies
8/11xen/hvm kexec: unregister the watch of the "backend" node during rebootdrivers/xen/xenbus/xenbus_probe_backend.c+15 -00 replies
9/11xen/hvm kexec: unregister the watch of the "device" node during rebootdrivers/xen/xenbus/xenbus_probe_frontend.c+15 -00 replies
10/11xen kexec: reset device state to Initializing during rebootdrivers/xen/xenbus/xenbus_probe.c+23 -20 replies
11/11xen/hvm kdump: reset PV devices in crash kerneldrivers/xen/xenbus/xenbus_comms.c drivers/xen/xenbus/xenbus_probe_frontend.c+100 -112 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 00/11] [v2] misc changes for kexec in pv-on-hvm guests

The following series implement kexec in a pv-on-hvm guest. I send it here once more for further review before bothering lkml.

With this series doing kexec in a loop is now possible.

A fixed kexec-tools-2.0.2 package is required:
http://lists.infradead.org/pipermail/kexec/2011-May/005026.html
However, as I just found out, xenfs unconditionally adds /proc/xen/capabilities even for hvm guest.

So: how is a hvm guest supposed to be detected in 3.0?

Olaf