Permalink
Commits on Jul 11, 2012
Commits on Jul 10, 2012
Commits on Jun 23, 2012
Commits on Jun 20, 2012
Commits on Jun 19, 2012
Commits on Jun 18, 2012
  1. Remove bogus check against -1 of gvir_config_genum_get_value return v…

    …alue
    
    The gvir_config_domain_disk class was checking the return value
    of gvir_config_genum_get_value against -1. This is impossible,
    since this method will return the default enum value
    berrange committed Jun 18, 2012
  2. Fix generation of filesystem device source XML element

    When setting the filesystem source type, the code forgot to
    update priv->type. Thus when setting the source element,
    the incorrect attribute was being used.
    berrange committed Jun 15, 2012
Commits on Jun 13, 2012
  1. build: allow building with newer glibc-headers and -O0

    Commit log and autoconf snippet written by Eric Blake for libvirt.
    
    glibc 2.15 (on Fedora 17) coupled with explicit disabling of
    optimization during development dies a painful death:
    
    In file included from /usr/include/limits.h:27:0,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:169,.
                     from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/syslimits.h:7,
                     from /usr/lib/gcc/x86_64-redhat-linux/4.7.0/include/limits.h:34,
                     from util/bitmap.c:26:
    /usr/include/features.h:314:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
    cc1: all warnings being treated as errors
    
    Work around this by only conditionally defining _FORTIFY_SOURCE,
    in the case where glibc can actually use it.  The trick is using
    AH_VERBATIM instead of AC_DEFINE.
    
    * m4/virt-compile-warnings.m4 (LIBVIRT_GLIB_COMPILE_WARNINGS): Squelch
    _FORTIFY_SOURCE when needed to avoid glibc #warnings.
    cfergeau committed Jun 13, 2012
Commits on Jun 4, 2012
  1. API to get/set domain title

    zeenix committed Jun 2, 2012
Commits on Jun 1, 2012
  1. glib-events: Allow zero timeouts for timer

    In libvirt, it's perfectly possible and widely used to have disabled
    timers (timeout=-1) and fire them up 'randomly' with timeout=0.
    However, with current mapping into glib mainloop it's not possible
    and causing troubles.
    zippy2 committed May 22, 2012
Commits on May 25, 2012
  1. Add gvir_config_object_get_attribute_uint64()

    Another internal libvirt-gconfig helper to get uint64 XML attributes.
    zeenix committed May 22, 2012
Commits on May 23, 2012
  1. Check arguments to public libvirt-gobject methods

    Some public methods in libvirt-gobject don't have g_return_if_fail
    checks on their arguments. It happens that GNOME Boxes tries to call
    gvir_connection_find_storage_pool_by_name with a NULL GVirConnection
    causing a crash https://bugzilla.gnome.org/show_bug.cgi?id=676216 While
    GNOME Boxes needs to be fixed not to pass an invalid value to this
    function, it's better if libvirt-object sanity checks the argument it is
    passed by the caller before using them.  In this commit, I've went over
    all libvirt-gobject public functions to add g_return_if_fail checks
    where needed.
    cfergeau committed May 18, 2012
Commits on May 22, 2012
Commits on May 21, 2012
  1. Check arguments to public GVirConfigObject methods

    GVirConfigObject public methods don't have g_return_if_fail checks
    on their arguments. It happens that GNOME Boxes tries to call
    gvir_config_object_to_xml with a NULL GVirConfigObject causing a
    crash https://bugzilla.gnome.org/show_bug.cgi?id=676308
    While GNOME Boxes needs to be fixed not to pass an invalid value
    to gvir_config_object_to_xml, it's better if libvirt-gconfig sanity
    checks the argument it is passed by the caller before using them.
    cfergeau committed May 18, 2012
Commits on May 16, 2012
Commits on May 15, 2012
  1. Make sure %with_vala is defined for newer RHELs

    We want to build the vala bindings on recent RHELs. Given than
    %with_introspection is defined for fedora >= 15 and rhel > 6 which
    are exactly the versions for which we want to build the vala bindings,
    and given that the vala bindings are to be disabled when introspection
    is disabled, we can set %with_vala to the same value as %with_introspection.
    cfergeau committed May 15, 2012
Commits on May 14, 2012
  1. Add missing domain OS type enums

    zeenix committed May 14, 2012
  2. Add guest capabilities API

    Not quite complete but its a good start.
    zeenix committed Apr 29, 2012
  3. Add host capabilities API

    Not quite complete but its a good start.
    zeenix committed Apr 25, 2012
Commits on May 11, 2012
  1. Make memory-handling more explicit in API doc

    Explain how the return value of the (transfer full) methods should
    be freed. I also made some cosmetic changes in the API doc of some
    of the files as I was modifying them.
    cfergeau committed May 11, 2012
  2. Allow unsetting of object properties

    This changes gvir_config_object_attach_replace to accept a NULL
    child object. Since we need to be able to find the node to remove
    when this happens, gvir_config_object_attach_replace gets a third
    argument with the name of the node to add/remove.
    zeenix committed May 10, 2012
  3. Allow unsetting of string properties

    This changes gvir_config_object_set_node_content to accept a NULL
    content and to remove the corresponding node when this happens
    zeenix committed May 10, 2012
  4. Add gvir_config_domain_get_os()

    zeenix committed May 3, 2012
Commits on May 10, 2012
  1. More internal helpers for GVirConfigObject subclasses

    - gvir_config_object_get_child()
    - gvir_config_object_get_child_with_type()
    zeenix committed May 8, 2012
Commits on May 9, 2012
  1. Correct gvir_config_domain_source_pty_set_path()

    This function should set 'path' as attribute of 'source' node rather
    than as child node.
    zeenix committed May 9, 2012
Commits on May 8, 2012
  1. Remove a redundant struct field

    zeenix committed May 8, 2012
Commits on May 2, 2012
  1. Corrections to satisfy latest GIR

    zeenix committed Apr 25, 2012
  2. Add complete docs for the Libvirt GLib library

    Flesh out the section intros for each of the Libvirt GLib
    library modules, providing using examples where needed, and
    adding any missing function docs.
    berrange committed Apr 27, 2012
Commits on May 1, 2012
  1. Bump version

    zeenix committed May 1, 2012
Commits on Apr 27, 2012
  1. Prep NEWS for 0.0.8 release

    berrange committed Apr 27, 2012