[libvirt] [PATCH 0/2] Split driver StateAutoStart from StateInitialization

John Ferlan jferlan at redhat.com
Thu Jul 25 18:32:55 UTC 2013


The post push review/comments for the chap authentication determined that
trying to connect to qemu driver from within the storage auto start would
not be successful, see the following and followups

https://www.redhat.com/archives/libvir-list/2013-July/msg01409.html

These patches will split the virStateInitialize() into two phases - the
first being the bulk of the existing code and the second being just running
the auto start functionality for each of the drivers that needs/support it.

I realize it's probably too late for 1.1.1, but figured it'd be good to be
ready when the barn door opens again.

John Ferlan (2):
  Separate out StateAutoStart from StateInitialize
  virStateDriver - Separate AutoStart from Initialize

 src/driver.h                 |  4 ++++
 src/libvirt.c                | 23 ++++++++++++++++++++++-
 src/libxl/libxl_driver.c     | 18 +++++++++++++++---
 src/lxc/lxc_driver.c         | 18 ++++++++++++++++--
 src/network/bridge_driver.c  | 20 +++++++++++++++++++-
 src/qemu/qemu_driver.c       | 18 ++++++++++++++++--
 src/storage/storage_driver.c | 19 ++++++++++++++++++-
 src/uml/uml_driver.c         | 18 ++++++++++++++++--
 8 files changed, 126 insertions(+), 12 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list