1. 30 3月, 2016 8 次提交
    • R
      nss: FreeBSD support · 45408cd8
      Roman Bogorodskiy 提交于
       * tools/nss/libvirt_nss.[ch]: add BSD-comptabile wrappers and
         register via the nss_module_register() interface
       * m4/virt-nss.m4: add checks if we're building NSS for FreeBSD
       * tools/Makefile.am: handle target library name differences, as
         Linux needs libnss_libvirt.so.2 and FreeBSD needs
         nss_libvirt.so.1. Also, different syms files have to be used
         as Linux needs to export all the methods while FreeBSD
         only needs to have nss_module_register()
       * tests/nsstest.c, tests/nssmock.c: s/__linux__/NSS/
       * tests/nssmock.c: pass int instead of mode_t to va_arg() to please
         gcc 4.8
       * libvirt_nss_bsd.syms: FreeBSD syms file
      45408cd8
    • J
      libxl: only disable domain death events in libxlDomainCleanup · e23a640c
      Jim Fehlig 提交于
      Remove disabling domain death events from libxlDomainStart error
      path. The domain death event is already disabled in libxlDomainCleanup.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      e23a640c
    • C
      libxl: fix resource leaks in libxlDomainStart error paths · 45fc2c14
      Chunyan Liu 提交于
      libxlDomainStart allocates and reserves resources that were not
      being released in error paths. libxlDomainCleanup already handles
      the job of releasing resources, and libxlDomainStart should call
      it when encountering a failure.
      
      Change the error handling logic to call libxlDomainCleanup on
      failure. This includes acquiring the lease sooner and allowing
      it to be released in libxlDomainCleanup on failure, similar to
      the way other resources are reclaimed. With the lease now
      released in libxlDomainCleanup, the release_dom label can be
      renamed to cleanup_dom to better reflect its changed semantics.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      45fc2c14
    • J
      libxl: rename cleanup_dom label · a75e35a0
      Jim Fehlig 提交于
      Rename cleanup_dom label to destroy_dom, which better describes what
      it does.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      a75e35a0
    • P
      5c633e0f
    • P
      conf: decrease iterations complexity when formatting iothreads · 0b4b5869
      Peter Krempa 提交于
      Create a bitmap of iothreads that have scheduler info set so that the
      transformation algorithm does not have to iterate the empty bitmap many
      times. By reusing self-expanding bitmaps the bitmap size does not need
      to be pre-calculated.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1264008
      0b4b5869
    • P
      util: bitmap: Introduce self-expanding bitmap APIs · 917426c8
      Peter Krempa 提交于
      In some cases it's impractical to use the regular APIs as the bitmap
      size needs to be pre-declared. These new APIs allow to use bitmaps that
      self expand.
      
      The new code adds a property to the bitmap to track the allocation of
      memory so that VIR_RESIZE_N can be used.
      917426c8
    • R
      perf: fix build on non-Linux · 4ed5937d
      Roman Bogorodskiy 提交于
       * Sync stubbed functions with prototypes
       * Add missing ATTRIBUTE_UNUSED where needed
      
      Pushing under the build breaker rule.
      4ed5937d
  2. 29 3月, 2016 32 次提交
新手
引导
客服 返回
顶部