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

[libvirt] [PATCH V2 00/13] libxl: add job support



This patch series adds job support to the libxl driver, using a simplified
version of the technique used in the qemu driver.  One benefit of this
series is no longer blocking get operations during long running modify
operations.  E.g. with these patches 'vish dominfo dom' will work while
'virsh save dom ...' is in progress.

The first two patches are new to the series, following review of V1.
Patch1 changes the cleanup logic to unconditionally set dom id to -1 on
domain shutdown.  Patch2 removes libxlVmReap, giving callers more control
over domain destruction/cleanup.

The remaining patches are updates to V1 based on Daniel's and Michal's
comments.

Jim Fehlig (13):
  libxl: always set vm id to -1 on shutdown
  libxl: remove libxlVmReap function
  libxl: Add job support to libxl driver
  libxl: use job functions in libxlVmStart
  libxl: use job functions in libxlDomainSetMemoryFlags
  libxl: use job functions in libxlDomain{Suspend,Resume}
  libxl: use job functions when cleaning up a domain
  libxl: use job functions in domain save operations
  libxl: use job functions in libxlDomainCoreDump
  libxl: use job functions in vcpu set and pin functions
  libxl: use job functions in device attach and detach functions
  libxl: use job functions in libxlDomainSetAutostart
  libxl: use job functions in libxlDomainSetSchedulerParametersFlags

 src/libxl/libxl_domain.c | 128 +++++++++++++++
 src/libxl/libxl_domain.h |  38 +++++
 src/libxl/libxl_driver.c | 405 +++++++++++++++++++++++++++++++----------------
 3 files changed, 432 insertions(+), 139 deletions(-)

-- 
1.8.1.4


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