1. 26 11月, 2019 3 次提交
  2. 15 11月, 2019 2 次提交
  3. 12 11月, 2019 1 次提交
  4. 25 10月, 2019 1 次提交
  5. 21 10月, 2019 1 次提交
  6. 16 10月, 2019 1 次提交
  7. 15 10月, 2019 1 次提交
  8. 14 10月, 2019 1 次提交
  9. 11 10月, 2019 1 次提交
  10. 10 9月, 2019 1 次提交
  11. 30 4月, 2019 1 次提交
  12. 20 4月, 2019 1 次提交
    • M
      libxlDriverConfigDispose: Free @configBaseDir too · 4f18b2d7
      Michal Privoznik 提交于
      Allocated in libxlDriverConfigNew(), the @configBaseDir is never
      freed.
      
       13 bytes in 1 blocks are definitely lost in loss record 36 of 125
          at 0x483579F: malloc (vg_replace_malloc.c:299)
          by 0x8012469: strdup (strdup.c:42)
          by 0x52926DE: virStrdup (virstring.c:966)
          by 0x11D46B: libxlDriverConfigNew (libxl_conf.c:1749)
          by 0x114D78: testCompareXMLToDomConfig (libxlxml2domconfigtest.c:62)
          by 0x1152A3: testCompareXMLToDomConfigHelper (libxlxml2domconfigtest.c:160)
          by 0x115925: virTestRun (testutils.c:174)
          by 0x1154A4: mymain (libxlxml2domconfigtest.c:216)
          by 0x1179E9: virTestMain (testutils.c:1096)
          by 0x1154FD: main (libxlxml2domconfigtest.c:224)
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      4f18b2d7
  13. 18 4月, 2019 1 次提交
  14. 17 4月, 2019 2 次提交
  15. 10 4月, 2019 1 次提交
  16. 03 4月, 2019 1 次提交
  17. 14 3月, 2019 1 次提交
  18. 05 3月, 2019 1 次提交
  19. 04 2月, 2019 1 次提交
  20. 14 12月, 2018 1 次提交
    • D
      Remove all Author(s): lines from source file headers · 60046283
      Daniel P. Berrangé 提交于
      In many files there are header comments that contain an Author:
      statement, supposedly reflecting who originally wrote the code.
      In a large collaborative project like libvirt, any non-trivial
      file will have been modified by a large number of different
      contributors. IOW, the Author: comments are quickly out of date,
      omitting people who have made significant contribitions.
      
      In some places Author: lines have been added despite the person
      merely being responsible for creating the file by moving existing
      code out of another file. IOW, the Author: lines give an incorrect
      record of authorship.
      
      With this all in mind, the comments are useless as a means to identify
      who to talk to about code in a particular file. Contributors will always
      be better off using 'git log' and 'git blame' if they need to  find the
      author of a particular bit of code.
      
      This commit thus deletes all Author: comments from the source and adds
      a rule to prevent them reappearing.
      
      The Copyright headers are similarly misleading and inaccurate, however,
      we cannot delete these as they have legal meaning, despite being largely
      inaccurate. In addition only the copyright holder is permitted to change
      their respective copyright statement.
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      60046283
  21. 07 12月, 2018 1 次提交
    • J
      libxl: support openvswitch interfaces · de09ae2f
      Jim Fehlig 提交于
      It is currently possible to use <interface>s of type openvswitch
      with the libxl driver in a non-standard way, e.g.
      
        <interface type='bridge'>
          <source bridge='ovsbr0'/>
          <mac address='00:16:3e:7a:35:ce'/>
          <script path='vif-openvswitch'/>
        </interface>
      
      This patch adds support for openvswitch <interface>s specified
      in typical libvirt config
      
        <interface type='bridge'>
          <source bridge='ovsbr0'/>
          <mac address='00:16:3e:7a:35:ce'/>
          <virtualport type='openvswitch'/>
        </interface>
      
      VLAN tags and trunking are also supported using the extended
      syntax for specifying an openvswitch bridge in libxl
      
         BRIDGE_NAME[.VLAN][:TRUNK:TRUNK]
      
      See Xen's networking wiki for more details on openvswitch support
      
      https://wiki.xenproject.org/wiki/Xen_Networking#Open_vSwitchSigned-off-by: NJim Fehlig <jfehlig@suse.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      de09ae2f
  22. 05 12月, 2018 1 次提交
  23. 27 11月, 2018 2 次提交
  24. 25 9月, 2018 2 次提交
  25. 23 7月, 2018 1 次提交
    • 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
  26. 19 7月, 2018 1 次提交
    • E
      qemu: Introduce a new graphics display type 'headless' · d8266ebe
      Erik Skultety 提交于
      Since 2.10 QEMU supports a new display type egl-headless which uses the
      drm nodes for OpenGL rendering copying back the rendered bits back to
      QEMU into a dma-buf which can be accessed by standard "display" apps
      like VNC or SPICE. Although this display type can be used on its own,
      for any practical use case it makes sense to pair it with either VNC or
      SPICE display. The clear benefit of this display is that VNC gains
      OpenGL support, which it natively doesn't have, and SPICE gains remote
      OpenGL support (native OpenGL support only works locally through a UNIX
      socket, i.e. listen type=socket/none).
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      d8266ebe
  27. 18 4月, 2018 6 次提交
  28. 12 4月, 2018 1 次提交
  29. 22 3月, 2018 1 次提交
    • J
      libxl: don't hardcode scheduler weight · 83edaf44
      Jim Fehlig 提交于
      Long ago in commit dfa1e1dd the scheduler weight was accidentally
      hardcoded to 1000. Weight is a setting with no unit since it is
      relative to the weight of other domains. If no weight is specified,
      libxl defaults to 256.
      
      Instead of hardcoding the weight to 1000, honor any <shares> specified
      in <cputune>. libvirt's notion of shares is synonomous to libxl's
      scheduler weight setting. If shares is unspecified, defer default
      weight setting to libxl.
      
      Removing the hardcoded weight required some test fixup. While at it,
      add an explicit test for <shares> conversion to scheduler weight.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      83edaf44