1. 09 2月, 2016 5 次提交
  2. 08 2月, 2016 24 次提交
  3. 07 2月, 2016 1 次提交
  4. 06 2月, 2016 8 次提交
    • J
      util: Fix virCgroupNewMachine ATTRIBUTE_NONNULL args · b8c0f186
      John Ferlan 提交于
      Commit id 'c3bd0019' removed arg3, but forgot to adjust the numbers
      for NONNULL - caused build failure for coverity
      b8c0f186
    • R
      bhyve: fix preprocessor indentation · dcb3d87d
      Roman Bogorodskiy 提交于
      Syntax-check fails with:
      
      cppi: src/bhyve/bhyve_driver.h: line 26: not properly indented
      cppi: src/bhyve/bhyve_driver.h: line 27: not properly indented
      maint.mk: incorrect preprocessor indentation
      
      Fix by properly indenting '#include's.
      
      Pushed as trivial.
      dcb3d87d
    • M
      bhyve: Fix the build · 5147f4f3
      Michal Privoznik 提交于
      After 1036ddad we use bhyveDriverGetCapabilities from other
      sources too, not only from bhyve_driver.c. However, the function
      was static so not properly expose to other files. In order to
      expose it, we need to move couple of #include-s too.
      Then, there has been a copy paste error in
      virBhyveProcessReconnect: s/privconn/data->driver/.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5147f4f3
    • C
      tests: qemuargv2xml: separate from qemuxml2argv data · e117bf64
      Cole Robinson 提交于
      Most of the qemuargv2xml tests are parsing old style qemu command
      lines (with -disk, -serial, etc), and it gets its input from
      qemuxml2argv output.
      
      But since we've raise the minimum supported qemu version to 0.12.0,
      which supports -device, once that changes propagates through libvirt
      the vast majority of qemuxml2argv output is _not_ going to be using
      old style qemu options.
      
      In preparation for this, switch qemuargv2xml to use its own copies
      of input and output, so it's not tied to qemuxml2argv results.
      
      This is just a straight copy of the current tests.
      e117bf64
    • C
      tests: Run test-wrap-argv with REGENERATE_OUTPUT · 3e9033f7
      Cole Robinson 提交于
      To get properly wrapped output
      3e9033f7
    • W
      rbd: Use %zu for uint64_t instead of casting to unsigned long long · 2aed051d
      Wido den Hollander 提交于
      This was only used in debugging messages and not in any real code.
      
      Ceph/RBD uses uint64_t for sizes internally and they can be printed
      with %zu without any need for casting.
      Signed-off-by: NWido den Hollander <wido@widodh.nl>
      2aed051d
    • W
      rbd: Code styling cleanup · f4981ebf
      Wido den Hollander 提交于
      Through the years the RBD storage pool code hasn't maintained the
      same or correct coding standard which applies to libvirt.
      
      This patch doesn't change any logic in the code, it only applies
      the proper coding standards to the code where possible without
      making large changes.
      
      This way the code style used in this storage pool is consistent
      throughout the whole file.
      Signed-off-by: NWido den Hollander <wido@widodh.nl>
      f4981ebf
    • M
      virSystemdGetMachineNameByPID: Initialize @reply · a3b168d0
      Michal Privoznik 提交于
      I've noticed that variable @reply is not initialized and if
      something at the beginning of the function fails, e.g.
      virDBusGetSystemBus(), the control jump straight to cleanup label
      where dbus_message_unref() is then called over this uninitialized
      variable.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a3b168d0
  5. 05 2月, 2016 2 次提交