Re: [libvirt] [PATCH 3/3] Implmentation of new APIs to checking state/persistence of objects

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

 



On Wed, Oct 21, 2009 at 07:15:25PM +0100, Daniel P. Berrange wrote:
> This implements the virConnectIsSecure, virConnectIsEncrypted,
> virDomainIsPersistent, virDomainIsActive, virNetworkIsActive,
> virNetworkIsPersistent, virStoragePoolIsActive,
> virStoragePoolIsPersistent, virInterfaceIsActive APIs in
> (nearly) all drivers. Exceptions are:
> 
>  phyp: missing domainIsActive/Persistent
>  esx: missing domainIsPersistent
>  opennebula: missing domainIsActive/Persistent
> 
> * src/remote/remote_protocol.x: Define remote wire ABI for newly
>   added APIs.
> * daemon/remote_dispatch*.h: Re-generated from remote_protocol.x
> * src/esx/esx_driver.c, src/lxc/lxc_driver.c, src/network/bridge_driver.c,
>   src/opennebula/one_driver.c, src/openvz/openvz_conf.c,
>   src/openvz/openvz_driver.c, src/phyp/phyp_driver.c,
>   src/remote/remote_driver.c, src/storage/storage_driver.c,
>   src/test/test_driver.c, src/uml/uml_driver.c, src/vbox/vbox_tmpl.c,
>   src/xen/xen_driver.c, src/xen/xen_driver.h, src/xen/xen_inotify.c,
>   src/xen/xen_inotify.h: Implement all the new APIs where possible
> ---
>  daemon/remote.c                     |  202 ++++++++++++++++++++++++++
>  daemon/remote_dispatch_args.h       |    7 +
>  daemon/remote_dispatch_prototypes.h |   64 +++++++++
>  daemon/remote_dispatch_ret.h        |    8 +
>  daemon/remote_dispatch_table.h      |   40 ++++++
>  src/esx/esx_driver.c                |  106 +++++++++++++-
>  src/lxc/lxc_driver.c                |   68 +++++++++-
>  src/network/bridge_driver.c         |   50 ++++++-
>  src/opennebula/one_driver.c         |   21 +++-
>  src/openvz/openvz_conf.c            |    2 +
>  src/openvz/openvz_driver.c          |   66 ++++++++-
>  src/phyp/phyp_driver.c              |   25 +++-
>  src/qemu/qemu_driver.c              |   65 ++++++++-
>  src/remote/remote_driver.c          |  266 +++++++++++++++++++++++++++++++++--
>  src/remote/remote_protocol.c        |  137 ++++++++++++++++++-
>  src/remote/remote_protocol.h        |  112 +++++++++++++++
>  src/remote/remote_protocol.x        |   87 +++++++++++-
>  src/storage/storage_driver.c        |   46 ++++++
>  src/test/test_driver.c              |  184 +++++++++++++++++++++++--
>  src/uml/uml_driver.c                |   67 ++++++++-
>  src/vbox/vbox_tmpl.c                |  108 ++++++++++++++-
>  src/xen/xen_driver.c                |   98 ++++++++++++-
>  src/xen/xen_driver.h                |    2 +
>  src/xen/xen_inotify.c               |    8 +-
>  src/xen/xen_inotify.h               |    1 +
>  25 files changed, 1772 insertions(+), 68 deletions(-)
> 
> diff --git a/daemon/remote.c b/daemon/remote.c
> index 4296fc3..1f239cd 100644

  ACK though there are some cleanups as part of the patch, and Matthias
  has some good points.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]