xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/18] libxl: domain save/restore: run in a separate process
@ 2012-06-15 11:53 Ian Jackson
  2012-06-15 11:53 ` [PATCH 01/21] libxc: xc_domain_restore, make toolstack_restore const-correct Ian Jackson
                   ` (22 more replies)
  0 siblings, 23 replies; 36+ messages in thread
From: Ian Jackson @ 2012-06-15 11:53 UTC (permalink / raw)
  To: xen-devel

This is v4 of my series to asyncify save/restore.  All comments have
been addressed.

I have retested this with HVM (RHEL) and PV guests, for both localhost
migration and save/restore.  RHEL seems to have some unreliability
which occurs with the baseline too.  I was not able to test stub dms
at all because when trying to boot my RHEL guest with a stub dm the dm
domain immediately crashed.  (I discovered that my previous tests had
occasionally not been using all of the new code.)

In the list below "A" indicates a patch which has been acked
sufficiently to go in (assuming its dependencies were to go in too).
"*" indicates a new patch in v4 and "+" indicates a patch with
nontrivial changes from v3.

Preparatory fixes:

   A libxc: xc_domain_restore, make toolstack_restore const-correct
 *   libxc: Do not segfault if (e.g.) switch_qemu_logdirty fails

Preparatory reshuffling:

   A libxl: domain save: rename variables etc.
   A libxl: domain restore: reshuffle, preparing for ao
 +   libxl: domain save: API changes for asynchrony

The meat:

 +   libxl: domain save/restore: run in a separate process

Some more fixups:

   A libxl: rename libxl_dom:save_helper to physmap_path
   A libxl: provide libxl__xs_*_checked and libxl__xs_transaction_*
 + A libxl: wait for qemu to acknowledge logdirty command

Asyncify writing of qemu save file, too:

   A libxl: datacopier: provide "prefix data" facility
   A libxl: prepare for asynchronous writing of qemu save file
   A libxl: Make libxl__domain_save_device_model asynchronous

Fix gc_opt handling:

   A libxl: Add a gc to libxl_get_cpu_topology
   A libxl: Do not pass NULL as gc_opt; introduce NOGC
   A libxl: Get compiler to warn about gc_opt==NULL

Work on essentially-unrelated bugs:

   A xl: Handle return value from libxl_domain_suspend correctly
   A libxl: do not leak dms->saved_state
   A libxl: do not leak spawned middle children
   A libxl: do not leak an event struct on ignored ao progress
     libxl: further fixups re LIBXL_DOMAIN_TYPE
     libxl: DO NOT APPLY enforce prohibition on internal

Thanks,
Ian.

^ permalink raw reply	[flat|nested] 36+ messages in thread
* [PATCH v5 00/21] libxl: domain save/restore: run in a separate process
@ 2012-06-26 17:54 Ian Jackson
  2012-06-26 17:55 ` [PATCH 18/21] libxl: do not leak spawned middle children Ian Jackson
  0 siblings, 1 reply; 36+ messages in thread
From: Ian Jackson @ 2012-06-26 17:54 UTC (permalink / raw)
  To: xen-devel

This is v5 of my series to asyncify save/restore, rebased to tip and
retested.  There are minor changes to 3 patches, as discussed on-list,
marked with "*" below:

    01/21 libxc: xc_domain_restore, make toolstack_restore const-correct
    02/21 libxc: Do not segfault if (e.g.) switch_qemu_logdirty fails
    03/21 libxl: domain save: rename variables etc.
    04/21 libxl: domain restore: reshuffle, preparing for ao
  * 05/21 libxl: domain save: API changes for asynchrony
  * 06/21 libxl: domain save/restore: run in a separate process
    07/21 libxl: rename libxl_dom:save_helper to physmap_path
    08/21 libxl: provide libxl__xs_*_checked and libxl__xs_transaction_*
    09/21 libxl: wait for qemu to acknowledge logdirty command
    10/21 libxl: datacopier: provide "prefix data" facility
    11/21 libxl: prepare for asynchronous writing of qemu save file
    12/21 libxl: Make libxl__domain_save_device_model asynchronous
    13/21 libxl: Add a gc to libxl_get_cpu_topology
    14/21 libxl: Do not pass NULL as gc_opt; introduce NOGC
    15/21 libxl: Get compiler to warn about gc_opt==NULL
    16/21 xl: Handle return value from libxl_domain_suspend correctly
    17/21 libxl: do not leak dms->saved_state
    18/21 libxl: do not leak spawned middle children
    19/21 libxl: do not leak an event struct on ignored ao progress
  * 20/21 libxl: further fixups re LIBXL_DOMAIN_TYPE
  ! 21/21 libxl: DO NOT APPLY enforce prohibition on internal

All of these apart from the last have been acked and I intend to
commit those to xen-unstable.hg soon.

However, first I will invite Shriram to check that Remus is still
working.  (I can't conveniently do this with this message due to
shoddiness in git-send-email.)

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2012-06-26 17:55 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15 11:53 [PATCH v3 00/18] libxl: domain save/restore: run in a separate process Ian Jackson
2012-06-15 11:53 ` [PATCH 01/21] libxc: xc_domain_restore, make toolstack_restore const-correct Ian Jackson
2012-06-15 11:53 ` [PATCH 02/21] libxc: Do not segfault if (e.g.) switch_qemu_logdirty fails Ian Jackson
2012-06-21  8:47   ` Ian Campbell
2012-06-15 11:53 ` [PATCH 03/21] libxl: domain save: rename variables etc Ian Jackson
2012-06-15 11:53 ` [PATCH 04/21] libxl: domain restore: reshuffle, preparing for ao Ian Jackson
2012-06-15 11:53 ` [PATCH 05/21] libxl: domain save: API changes for asynchrony Ian Jackson
2012-06-22 11:47   ` Ian Campbell
2012-06-26 16:48     ` Ian Jackson
2012-06-15 11:53 ` [PATCH 06/21] libxl: domain save/restore: run in a separate process Ian Jackson
2012-06-22 11:59   ` Ian Campbell
2012-06-26 16:52     ` Ian Jackson
2012-06-15 11:53 ` [PATCH 07/21] libxl: rename libxl_dom:save_helper to physmap_path Ian Jackson
2012-06-15 11:53 ` [PATCH 08/21] libxl: provide libxl__xs_*_checked and libxl__xs_transaction_* Ian Jackson
2012-06-15 11:53 ` [PATCH 09/21] libxl: wait for qemu to acknowledge logdirty command Ian Jackson
2012-06-15 11:53 ` [PATCH 10/21] libxl: datacopier: provide "prefix data" facility Ian Jackson
2012-06-15 11:53 ` [PATCH 11/21] libxl: prepare for asynchronous writing of qemu save file Ian Jackson
2012-06-15 11:53 ` [PATCH 12/21] libxl: Make libxl__domain_save_device_model asynchronous Ian Jackson
2012-06-15 11:53 ` [PATCH 13/21] libxl: Add a gc to libxl_get_cpu_topology Ian Jackson
2012-06-15 11:53 ` [PATCH 14/21] libxl: Do not pass NULL as gc_opt; introduce NOGC Ian Jackson
2012-06-15 11:54 ` [PATCH 15/21] libxl: Get compiler to warn about gc_opt==NULL Ian Jackson
2012-06-15 11:54 ` [PATCH 16/21] xl: Handle return value from libxl_domain_suspend correctly Ian Jackson
2012-06-15 11:54 ` [PATCH 17/21] libxl: do not leak dms->saved_state Ian Jackson
2012-06-15 11:54 ` [PATCH 18/21] libxl: do not leak spawned middle children Ian Jackson
2012-06-15 11:54 ` [PATCH 19/21] libxl: do not leak an event struct on ignored ao progress Ian Jackson
2012-06-15 11:54 ` [PATCH 20/21] libxl: further fixups re LIBXL_DOMAIN_TYPE Ian Jackson
2012-06-22 11:42   ` Ian Campbell
2012-06-15 11:54 ` [PATCH 21/21] libxl: DO NOT APPLY enforce prohibition on internal Ian Jackson
2012-06-22 11:45   ` Ian Campbell
2012-06-26 15:41     ` Ian Jackson
2012-06-15 13:40 ` [PATCH v3 00/18] libxl: domain save/restore: run in a separate process Stefano Stabellini
2012-06-22 13:39   ` Ian Campbell
2012-06-22 13:49     ` Ian Campbell
2012-06-22 12:22 ` Ian Campbell
2012-06-26 17:06   ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2012-06-26 17:54 [PATCH v5 00/21] " Ian Jackson
2012-06-26 17:55 ` [PATCH 18/21] libxl: do not leak spawned middle children Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).