[libvirt] [PATCH 0/8] lxc: add job support

Katerina Koukiou k.koukiou at googlemail.com
Mon May 16 21:36:46 UTC 2016


This patch series adds job support to the lxc driver, using techiques from the
libxl driver. One benefit 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 patch adds the job support machinery, followed by several patches
that make use of it.
Although this might look not needed that much right now, it is preparing
environment for future work.

This patch series has been reviewed by Michal Privoznik who is my mentor
for GSoC 2016.


Katerina Koukiou (8):
  lxc: Add job support to lxc driver
  lxc: use job functions in lxcDomain{CreateXMLWithFiles,
    CreateWithFiles}
  lxc: use job functions in lxcDomainSetMemoryFlags
  lxc: use job functions in lxcDomain{Suspend, Resume}
  lxc: use job functions in lxcDomain{AttachDeviceFlags,
    DetachDeviceFlags, UpdateDeviceFlags}
  lxc: add job functions in lxcDomainSetAutostart
  lxc: use job functions in lxcDomain* functions that do query
    operations.
  lxc: use job functions in lxcDomain* functions that perform modify
    actions.

 src/lxc/lxc_domain.c | 154 ++++++++++++++++++++--
 src/lxc/lxc_domain.h |  37 ++++++
 src/lxc/lxc_driver.c | 351 ++++++++++++++++++++++++++++++++++++---------------
 3 files changed, 428 insertions(+), 114 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list