[libvirt] [PATCH 00/12] New API: virDominShutdownFlags

Michal Privoznik mprivozn at redhat.com
Thu Jul 21 20:53:49 UTC 2011


This series creates new API which adds flags to
virDomainShutdown. As mentioned here many times, it is
a bad luck all APIs don't have flags parameter.

Parameter for this might be needed to select different
ways of shutting down a domain.

Currently, no new functionality is implemented, but
this paves the way for creating multiple ways of domain
shutting down. Therefore, calling this new API is the
same as calling its predecessor.

Michal Privoznik (12):
  shutdown: Define new public API virDomainShutdownFlags
  shutdown: Wire up the remote protocol
  shutdown: Implement internal API for qemu driver
  shutdown: Implement internal API for ESX driver
  shutdown: Implement internal API for libxl driver
  shutdown: Implement internal API for openvz driver
  shutdown: Implement internal API for phyp driver
  shutdown: Implement internal API for uml driver
  shutdown: Implement internal API for vbox driver
  shutdown: Implement internal API for vmware driver
  shutdown: Implement internal API for xen driver
  shutdown: Implement internal API for xenapi driver

 include/libvirt/libvirt.h.in |    6 ++++
 src/driver.h                 |    4 +++
 src/esx/esx_driver.c         |   12 ++++++++-
 src/libvirt.c                |   54 ++++++++++++++++++++++++++++++++++++++++++
 src/libvirt_public.syms      |    1 +
 src/libxl/libxl_driver.c     |   12 ++++++++-
 src/openvz/openvz_driver.c   |    1 +
 src/phyp/phyp_driver.c       |   12 ++++++++-
 src/qemu/qemu_driver.c       |   12 ++++++++-
 src/remote/remote_driver.c   |    1 +
 src/remote/remote_protocol.x |    8 +++++-
 src/remote_protocol-structs  |    5 ++++
 src/uml/uml_driver.c         |   15 +++++++++++-
 src/vbox/vbox_tmpl.c         |   14 ++++++++++-
 src/vmware/vmware_driver.c   |    1 +
 src/xen/xen_driver.c         |   14 ++++++++--
 src/xen/xen_driver.h         |    2 +-
 src/xen/xen_hypervisor.c     |    2 +-
 src/xen/xen_inotify.c        |    2 +-
 src/xen/xend_internal.c      |   10 +++++--
 src/xen/xend_internal.h      |    2 +-
 src/xen/xm_internal.c        |    2 +-
 src/xen/xs_internal.c        |   10 +++++--
 src/xen/xs_internal.h        |    3 +-
 src/xenapi/xenapi_driver.c   |   25 ++++++++++++++++++-
 25 files changed, 206 insertions(+), 24 deletions(-)

-- 
1.7.5.rc3




More information about the libvir-list mailing list