1. 07 5月, 2018 3 次提交
  2. 04 5月, 2018 1 次提交
  3. 03 4月, 2018 1 次提交
    • P
      util: json: Fix freeing of objects appended to virJSONValue · ea520f6b
      Peter Krempa 提交于
      It was not possible to determine whether virJSONValueObjectAddVArgs and
      the functions using it would consume a virJSONValue or not when used
      with the 'a' or 'A' modifier depending on when the loop failed.
      
      Fix this by passing in a pointer to the pointer so that it can be
      cleared once it's successfully consumed and the callers don't have to
      second-guess leaving a chance of leaking or double freeing the value
      depending on the ordering.
      
      Fix all callers to pass a double pointer too.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      ea520f6b
  4. 14 2月, 2018 2 次提交
  5. 24 11月, 2017 2 次提交
  6. 13 11月, 2017 2 次提交
  7. 07 11月, 2017 10 次提交
  8. 18 10月, 2017 2 次提交
  9. 17 10月, 2017 1 次提交
    • P
      util: storagefile: Add helpers to check presence of backing store · 0a294a8e
      Peter Krempa 提交于
      Add helpers that will simplify checking if a backing file is valid or
      whether it has backing store. The helper virStorageSourceIsBacking
      returns true if the given virStorageSource is a valid backing store
      member. virStorageSourceHasBacking returns true if the virStorageSource
      has a backing store child.
      
      Adding these functions creates a central points for further refactors.
      0a294a8e
  10. 28 9月, 2017 1 次提交
    • A
      qemu: Add TLS support for Veritas HyperScale (VxHS) · 6885b51e
      Ashish Mittal 提交于
      Alter qemu command line generation in order to possibly add TLS for
      a suitably configured domain.
      
      Sample TLS args generated by libvirt -
      
          -object tls-creds-x509,id=objvirtio-disk0_tls0,dir=/etc/pki/qemu,\
          endpoint=client,verify-peer=yes \
          -drive file.driver=vxhs,file.tls-creds=objvirtio-disk0_tls0,\
          file.vdisk-id=eb90327c-8302-4725-9e1b-4e85ed4dc251,\
          file.server.type=tcp,file.server.host=192.168.0.1,\
          file.server.port=9999,format=raw,if=none,\
          id=drive-virtio-disk0,cache=none \
          -device virtio-blk-pci,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
          id=virtio-disk0
      
      Update the qemuxml2argvtest with a couple of examples. One for a
      simple case and the other a bit more complex where multiple VxHS disks
      are added where at least one uses a VxHS that doesn't require TLS
      credentials and thus sets the domain disk source attribute "tls = 'no'".
      
      Update the hotplug to be able to handle processing the tlsAlias whether
      it's to add the TLS object when hotplugging a disk or to remove the TLS
      object when hot unplugging a disk.  The hot plug/unplug code is largely
      generic, but the addition code does make the VXHS specific checks only
      because it needs to grab the correct config directory and generate the
      object as the command line would do.
      Signed-off-by: NAshish Mittal <Ashish.Mittal@veritas.com>
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      6885b51e
  11. 25 9月, 2017 2 次提交
  12. 20 9月, 2017 3 次提交
  13. 27 7月, 2017 4 次提交
  14. 24 7月, 2017 1 次提交
  15. 17 7月, 2017 1 次提交
  16. 14 7月, 2017 4 次提交