1. 24 11月, 2017 2 次提交
  2. 13 11月, 2017 2 次提交
  3. 07 11月, 2017 10 次提交
  4. 18 10月, 2017 2 次提交
  5. 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
  6. 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
  7. 25 9月, 2017 2 次提交
  8. 20 9月, 2017 3 次提交
  9. 27 7月, 2017 4 次提交
  10. 24 7月, 2017 1 次提交
  11. 17 7月, 2017 1 次提交
  12. 14 7月, 2017 4 次提交
  13. 27 4月, 2017 1 次提交
  14. 27 3月, 2017 3 次提交
    • P
      qemu: block: Add code to fetch block node data by node name · 51c4b744
      Peter Krempa 提交于
      To allow updating stats based on the node name, add a helper function
      that will fetch the required data from 'query-named-block-nodes' and
      return it in hash table for easy lookup.
      51c4b744
    • P
      qemu: block: Add code to detect node names when necessary · 0feebab2
      Peter Krempa 提交于
      Detect the node names when setting block threshold and when reconnecting
      or when they are cleared when a block job finishes. This operation will
      become a no-op once we fully support node names.
      0feebab2
    • P
      qemu: block: Add code to allow detection of auto-allocated node names · dbad8f8a
      Peter Krempa 提交于
      qemu for some time already sets node names automatically for the block
      nodes. This patch adds code that attempts a best-effort detection of the
      node names for the backing chain from the output of
      'query-named-block-nodes'. The only drawback is that the data provided
      by qemu needs to be matched by the filename as seen by qemu and thus
      if two disks share a single backing store file the detection won't work.
      
      This will allow us to use qemu commands such as
      'block-set-write-threshold' which only accepts node names.
      
      In this patch only the detection code is added, it will be used later.
      dbad8f8a