1. 27 4月, 2017 11 次提交
  2. 26 4月, 2017 16 次提交
  3. 25 4月, 2017 2 次提交
  4. 24 4月, 2017 6 次提交
    • Y
      Fix minor typos · 5efa7f2a
      Yuri Chornoivan 提交于
      5efa7f2a
    • R
      util: relax virNetDevSetCoalesce() stub · 5e010605
      Roman Bogorodskiy 提交于
      Currently, virNetDevSetCoalesce() stub is always returning error. As
      it's used by virNetDevTapCreateInBridgePort(), it essentially breaks
      bridged networking if coalesce is not supported.
      
      To make it work, relax the stub to trigger error only when its
      coalesce argument is not NULL, otherwise report success.
      5e010605
    • E
      nodedev: udevProcessPCI: Drop syspath variable · 93476521
      Erik Skultety 提交于
      Since we have that information provided by @def which is not a private
      object, there is really no need for the variable.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      93476521
    • E
      conf: nodedev: Split virNodeDeviceDefFormat into more functions · bfaaaf10
      Erik Skultety 提交于
      Make the code look cleaner by moving the capability specific bits into
      separate functions.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      bfaaaf10
    • E
      nodedev: Make use of the compile-time missing enum in switch error · 364c912c
      Erik Skultety 提交于
      So udevGetDeviceDetails was one those functions using an enum in a
      switch, but since it had a 'default' case, compiler didn't warn about an
      unhandled enum. Moreover, the error about an unsupported device type
      reported in the default case is unnecessary, since by the time we get
      there, udevGetDeviceType (which was called before) already made sure
      that any unrecognized device types had been handled properly.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      364c912c
    • Y
      rpc: fix keep alive timer segfault · ab5bb6f3
      Yi Wang 提交于
      ka maybe have been freeed in virObjectUnref, application using
      virKeepAliveTimer will segfault when unlock ka. We should keep
      ka's refs positive before using it.
      
      #0  0x00007fd8f79970e8 in virClassIsDerivedFrom (klass=0xdeadbeef, parent=0x7fd8e8001b80) at util/virobject.c:169
      #1  0x00007fd8f799742e in virObjectIsClass (anyobj=anyobj entry=0x7fd8e800b9c0, klass=<optimized out>) at util/virobject.c:365
      #2  0x00007fd8f79974e4 in virObjectUnlock (anyobj=0x7fd8e800b9c0) at util/virobject.c:338
      #3  0x00007fd8f7ac477e in virKeepAliveTimer (timer=<optimized out>, opaque=0x7fd8e800b9c0) at rpc/virkeepalive.c:177
      #4  0x00007fd8f7e5c9cf in libvirt_virEventInvokeTimeoutCallback () from /usr/lib64/python2.7/site-packages/libvirtmod.so
      #5  0x00007fd8ff64db94 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #6  0x00007fd8ff64f1ad in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #7  0x00007fd8ff64d85f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #8  0x00007fd8ff64d950 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #9  0x00007fd8ff64d950 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
      #10 0x00007fd8ff64f1ad in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
      #11 0x00007fd8ff5dc098 in function_call () from /lib64/libpython2.7.so.1.0
      #12 0x00007fd8ff5b7073 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #13 0x00007fd8ff5c6085 in instancemethod_call () from /lib64/libpython2.7.so.1.0
      #14 0x00007fd8ff5b7073 in PyObject_Call () from /lib64/libpython2.7.so.1.0
      #15 0x00007fd8ff648ff7 in PyEval_CallObjectWithKeywords () from /lib64/libpython2.7.so.1.0
      #16 0x00007fd8ff67d7e2 in t_bootstrap () from /lib64/libpython2.7.so.1.0
      #17 0x00007fd8ff358df3 in start_thread () from /lib64/libpthread.so.0
      #18 0x00007fd8fe97d3ed in clone () from /lib64/libc.so.6
      Signed-off-by: NYi Wang <wang.yi59@zte.com.cn>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ab5bb6f3
  5. 23 4月, 2017 2 次提交
  6. 21 4月, 2017 3 次提交