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

[Xen-devel] [RFC PATCH 0/3] Xen hvm saving improvements



This series is *very* RFC at the moment - it is only compile tested.  I would
very much appreciate review on the design. (and I shall see about sorting out
some dev testing tomorrow)

The ultimate purpose is to fix that the fact that
XEN_DOMCTL_gethvmcontext_partial is very unreliable at providing the correct
subset of information.

All the changes are supposed to be internal to Xen.  There should be no
difference at all to the result of XEN_DOMCTL_gethvmcontext (which can be used
as a useful dev test for the validity of the changes).

George: As for whether this is intended for 4.5, I have no idea.  On the one
hand, it is fixing a hypercall which doesn't function correctly, but on the
other hand, it is a very large and complicated set of changes relevant to
migration.  Then again, the majority of the changes were largely mechanical,
and there is a simple test to prove whether there are bugs or not.  I shall
defer to others for comments on the risk/rewards of this series.

Andrew Cooper (3):
  xen/hvm-save: Refactor HVM_REGISTER_SAVE_RESTORE
  xen/hvm-save: Extend hvm_save_handler to take an instance parameter
  xen/hvm-save: Adjust calling of multi-instance save handlers.

 xen/arch/x86/cpu/mcheck/vmce.c |   34 +++---
 xen/arch/x86/hvm/hpet.c        |    8 +-
 xen/arch/x86/hvm/hvm.c         |  249 ++++++++++++++++++++--------------------
 xen/arch/x86/hvm/i8254.c       |    8 +-
 xen/arch/x86/hvm/irq.c         |   24 ++--
 xen/arch/x86/hvm/mtrr.c        |   61 +++++-----
 xen/arch/x86/hvm/pmtimer.c     |    8 +-
 xen/arch/x86/hvm/rtc.c         |    8 +-
 xen/arch/x86/hvm/vioapic.c     |    7 +-
 xen/arch/x86/hvm/viridian.c    |   31 ++---
 xen/arch/x86/hvm/vlapic.c      |   38 ++----
 xen/arch/x86/hvm/vpic.c        |   18 +--
 xen/common/hvm/save.c          |  108 ++++++++++-------
 xen/include/xen/hvm/save.h     |   65 +++++++----
 14 files changed, 337 insertions(+), 330 deletions(-)

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CC: Keir Fraser <keir@xxxxxxx>
CC: Jan Beulich <JBeulich@xxxxxxxx>
CC: Don Slutz <dslutz@xxxxxxxxxxx>
CC: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

--
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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