1. 04 9月, 2018 1 次提交
  2. 03 9月, 2018 1 次提交
  3. 30 8月, 2018 1 次提交
  4. 28 8月, 2018 2 次提交
  5. 24 8月, 2018 5 次提交
  6. 21 8月, 2018 1 次提交
  7. 17 8月, 2018 3 次提交
  8. 15 8月, 2018 1 次提交
  9. 14 8月, 2018 2 次提交
    • B
      conf: Add memory bandwidth allocation capability of host · 7995fecc
      Bing Niu 提交于
      Add new XML section to report host's memory bandwidth allocation
      capability. The format as below example:
      
       <host>
       .....
         <memory_bandwidth>
           <node id='0' cpus='0-19'>
             <control granularity='10' min ='10' maxAllocs='8'/>
           </node>
         </memory_bandwidth>
      </host>
      
      granularity   ---- granularity of memory bandwidth, unit percentage.
      min           ---- minimum memory bandwidth allowed, unit percentage.
      maxAllocs     ---- maximum memory bandwidth allocation group supported.
      Signed-off-by: NBing Niu <bing.niu@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      7995fecc
    • B
      conf: Add support for memorytune XML processing for resctrl MBA · 6956b7ee
      Bing Niu 提交于
      Introduce a new section memorytune to support memory bandwidth allocation.
      This is consistent with existing cachetune. As the example:
      below:
        <cputune>
          ......
          <memorytune vcpus='0'>
            <node id='0' bandwidth='30'/>
          </memorytune>
        </cputune>
      
      vpus      --- vpus subjected to this memory bandwidth.
      id        --- on which node memory bandwidth to be set.
      bandwidth --- the memory bandwidth percent to set.
      Signed-off-by: NBing Niu <bing.niu@intel.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      6956b7ee
  10. 13 8月, 2018 2 次提交
  11. 08 8月, 2018 4 次提交
  12. 07 8月, 2018 1 次提交
  13. 06 8月, 2018 5 次提交
  14. 27 7月, 2018 2 次提交
    • M
      Forget last daemon/ dir artefacts · cfdc0c77
      Michal Privoznik 提交于
      The most important part is LIBVIRTD_PATH env var fix. It is used
      in virFileFindResourceFull() from tests. The libvirtd no longer
      lives under daemon/.
      
      Then, libvirtd-fail test was still failing (as expected) but not
      because of missing config file but because it was trying to
      execute (nonexistent) top_builddir/daemon/libvirtd which
      fulfilled expected outcome and thus test did not fail.
      
      Thirdly, lcov was told to generate coverage for daemon/ dir too.
      
      Fourthly, our compiling documentation was still suggesting to run
      daemonn/libvirtd.
      
      And finally, some comments in a systemtap file and a probes file
      were still referring to daemon/libvirtd.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      cfdc0c77
    • H
      news: Usb and sata for virsh attach-disk --address · 1f1e1e0d
      Han Han 提交于
      Signed-off-by: NHan Han <hhan@redhat.com>
      1f1e1e0d
  15. 25 7月, 2018 1 次提交
  16. 23 7月, 2018 2 次提交
    • A
      util: Improve virStrncpy() implementation · 7d70a63b
      Andrea Bolognani 提交于
      We finally get rid of the strncpy()-like semantics
      and implement our own, more sensible ones instead.
      
      As a bonus, this also fixes compilation on MinGW.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      7d70a63b
    • A
      src: Make virStr*cpy*() functions return an int · 6c0d0210
      Andrea Bolognani 提交于
      Currently, the functions return a pointer to the
      destination buffer on success or NULL on failure.
      
      Not only does this kind of error handling look quite
      alien in the context of libvirt, where most functions
      return zero on success and a negative int on failure,
      but it's also somewhat pointless because unless there's
      been a failure the returned pointer will be the same
      one passed in by the user, thus offering no additional
      value.
      
      Change the functions so that they return an int
      instead.
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      6c0d0210
  17. 19 7月, 2018 6 次提交