1. 11 8月, 2009 11 次提交
  2. 10 8月, 2009 3 次提交
    • M
      Handle kernels with no ipv6 support · f5a8f969
      Mark McLoughlin 提交于
      If the ipv6 kernel module is not loaded, then we get this when starting
      a virtual network:
      
        libvir: Network Config error :
        cannot enable /proc/sys/net/ipv6/conf/virbr0/disable_ipv6:
        No such file or directory
      
      If disable_ipv6 is not present, we should just merrily continue on our
      way.
      
      * src/network_driver.c: make networkDisableIPV6() not fail if the kernel
        has no ipv6 support
      f5a8f969
    • M
      Set perms on /var/lib/libvirt/boot to 0711 · f9bfa107
      Mark McLoughlin 提交于
      Allow qemu user to open kernel/initrds in this dir, but still prevent
      others from listing it.
      
      * libvirt.spec.in: set /var/lib/libvirt/boot perms to 0711
      f9bfa107
    • M
      chown kernel/initrd before spawning qemu · c42b3978
      Mark McLoughlin 提交于
      If we're running qemu unprivileged, we need to chown any supplied kernel
      or initrd before spawning it.
      
      * src/qemu_driver.c: rename qemuDomainSetDiskOwnership() to
        qemuDomainSetFileOwnership(), pass it a path string instead of a disk
        definition and use it for chowning the kernel/initrd in
        qemuDomainSetAllDeviceOwnership()
      c42b3978
  3. 07 8月, 2009 2 次提交
  4. 06 8月, 2009 8 次提交
    • A
      Update logging documentation · 7534be6f
      Amy Griffis 提交于
      * docs/logging.html[.in] try to include a little more description about
        the corner cases, things someone might get hung up on on.
      7534be6f
    • A
      Consolidate code for parsing the logging env · 63fbcc69
      Amy Griffis 提交于
      * src/logging.c src/logging.h src/libvirt_private.syms:
        define new functions virLogSetFromEnv and virLogParseDefaultPriority
      * qemud/qemud.c src/libvirt.c tests/eventtest.c: cleanup to use the
        unified functions
      63fbcc69
    • A
      Cleanup VIR_LOG_DEBUG parsing in eventtest · e542d52a
      Amy Griffis 提交于
      * tests/eventtest.c: don't covert high priority levels to debug level.
        Consider an invalid priority level setting a setup failure.
      e542d52a
    • A
      Several fixes to libvirtd's log setup · 9147bf2a
      Amy Griffis 提交于
      * qemud/qemud.c src/logging.[ch]: Similar as for general libvirt, don't
        convert high priority levels to debug level. Ignore LIBVIRT_LOG_FILTERS
        and LIBVIRT_LOG_OUTPUTS when they're set to the empty string, otherwise
        they can override a valid setting from the config file. Send all
        settings through the parser functions for validation, so that the
        existence of a bad setting doesn't nullify a good setting that should
        have applied -- particularly the default output. Keep the order of
        precedence consistent for all variables between the environment and
        the config file.  Warn when an invalid log level, filter, or output
        is ignored.
      * src/libvirt_private.syms: export internally a few convenience functions
      9147bf2a
    • A
      Tighten libvirt's parsing of logging env · 22a1ec68
      Amy Griffis 提交于
      * src/libvirt.c src/logging.c: Don't convert high priority levels to the
        debug level. Don't parse LIBVIRT_LOG_FILTERS and LIBVIRT_LOG_OUTPUTS
        when they're set to the empty string. Warn when the user specifies an
        invalid value (empty string remains a noop).
      * po/POTFILES.in: src/logging.c now include translatable strings
      22a1ec68
    • M
      Cleanup structure name naming · a9e96b1e
      Matthias Bolte 提交于
      * src/esx/esx_driver.c src/esx/esx_util.[ch] src/esx/esx_vi.[ch]:
        just a name change
      a9e96b1e
    • M
      Fix memleak if esxOpen fails · 5f48643e
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: if esxOpen failed, priv->transport wasn't freed
      5f48643e
    • M
      Add proper OOM reporting for esxDomainGetOSType · a7c76142
      Matthias Bolte 提交于
      * src/esx/esx_driver.c: catch an unchecked strdup in
        esxDomainGetOSType()
      a7c76142
  5. 05 8月, 2009 16 次提交