1. 26 11月, 2016 21 次提交
  2. 25 11月, 2016 13 次提交
  3. 24 11月, 2016 6 次提交
    • R
      tests: eventtest: fix build on macOS · a4234291
      Roman Bogorodskiy 提交于
      macOS doesn't support clock_gettime(2), at least versions prior 10.12
      (I didn't actually check 10.12 though). So, use its own routines in
      eventtest.
      
       * configure.ac: check for requires symbols and define
         HAVE_MACH_CLOCK_ROUTINES if found
       * tests/eventtest.c: add clock_get_time() based implementation
      a4234291
    • R
      tests: eventtest: fix LDADD · 0d1c147f
      Roman Bogorodskiy 提交于
      Don't explicitly LDADD -lrt, use $(LIB_CLOCK_GETTIME) because
      not all platforms have clock_gettime(2) and librt available.
      0d1c147f
    • R
      genprotocol.pl: add darwin to fixup list · e4cb6601
      Roman Bogorodskiy 提交于
      e4cb6601
    • D
      vbox: get rid of g_pVBoxGlobalData · 63586535
      Dawid Zamirski 提交于
      now that we have a new global vboxDriver object, remove the old
      vboxGlobalData struct and all references to it.
      63586535
    • D
      vbox: change how vbox API is initialized. · 04518c36
      Dawid Zamirski 提交于
      * add vboxDriver object to serve as a singleton global object that
        holds references to IVirtualBox and ISession to be shared among
        multiple connections. The vbox_driver is instantiated only once in
        the first call vboxGetDriverConnection function that is guarded by
        a mutex.
      
      * call vbox API initialize only when the first connection is
        established, and likewise uninitialize when last connection
        disconnects. The prevents each subsequent connection from overwriting
        IVirtualBox/ISession instances of any other active connection that
        led to libvirtd segfaults. The virConnectOpen and virConnectClose
        implementations are guarded by mutex on the global vbox_driver_lock
        where the global vbox_driver object counts connectios and decides
        when it's safe to call vbox's init/uninit routines.
      
      * add IVirutalBoxClient to vboxDriver and use it to in tandem with newer
        pfnClientInitialize/pfnClientUninitalize APIs for vbox versions that
        support it, to avoid usage of the old pfnComInitialize/Uninitialize.
      04518c36
    • M
      qemu: Removed an outdated comment in qemuDomainSaveImageStartVM() · b270ef99
      Marc Hartmayer 提交于
      Removed the comment 'Set the migration source' as it isn't valid anymore
      and 'start it up' isn't useful as qemuProcessStart() is already a
      speaking name.
      Signed-off-by: NMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
      b270ef99