1. 04 10月, 2017 1 次提交
    • L
      qemu: Support multiqueue virtio-blk · abca72fa
      Lin Ma 提交于
      qemu 2.7.0 introduces multiqueue virtio-blk(commit 2f27059).
      This patch introduces a new attribute "queues". An example of
      the XML:
      
      <disk type='file' device='disk'>
        <driver name='qemu' type='qcow2' queues='4'/>
      
      The corresponding QEMU command line:
      
      -device virtio-blk-pci,scsi=off,num-queues=4,id=virtio-disk0
      Signed-off-by: NLin Ma <lma@suse.com>
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      abca72fa
  2. 28 9月, 2017 1 次提交
    • A
      util: Add TLS attributes to virStorageSource · f1705485
      Ashish Mittal 提交于
      Add an optional virTristateBool haveTLS to virStorageSource to
      manage whether a storage source will be using TLS.
      
      Sample XML for a VxHS disk:
      
      <disk type='network' device='disk'>
        <driver name='qemu' type='raw' cache='none'/>
        <source protocol='vxhs' name='eb90327c-8302-4725-9e1b-4e85ed4dc251' tls='yes'>
          <host name='192.168.0.1' port='9999'/>
        </source>
        <target dev='vda' bus='virtio'/>
      </disk>
      
      Additionally add a tlsFromConfig boolean to control whether the TLS
      setting was due to domain configuration or qemu.conf global setting
      in order to decide whether to Format the haveTLS setting for either
      a live or saved domain configuration file.
      
      Update the qemuxml2xmltest in order to add a test to show the proper
      parsing.
      
      Also update the docs to describe the tls attribute.
      Signed-off-by: NAshish Mittal <Ashish.Mittal@veritas.com>
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      f1705485
  3. 21 9月, 2017 1 次提交
  4. 06 9月, 2017 1 次提交
  5. 05 9月, 2017 1 次提交
  6. 29 8月, 2017 1 次提交
  7. 27 8月, 2017 1 次提交
  8. 22 8月, 2017 1 次提交
  9. 18 8月, 2017 3 次提交
    • P
      conf: add infrastructure for tolerating certain post parse callback failures · 7c5cf498
      Peter Krempa 提交于
      Some failures of the post parse callback can be tolerated. This is
      specifically desired when loading the configs of existing VMs. In such
      case the post parse callback should not really be modifying anything
      in the definition.
      
      This patch adds a parse flag VIR_DOMAIN_DEF_PARSE_ALLOW_POST_PARSE_FAIL
      which will allow the callbacks to report non-fatal failures by returning
      a positive return value. In such case the field 'postParseFailed' in the
      domain definition is set to true, to notify the drivers that the
      callback failed and possibly needs to be re-run.
      7c5cf498
    • P
      conf: Add callbacks that allocate per-def private data · e168bc8a
      Peter Krempa 提交于
      Some drivers use def-specific private data across callbacks (e.g.
      qemuCaps in the qemu driver). Currently it's mostly allocated in every
      single callback. This is rather wasteful, given that every single call
      to the device callback allocates it.
      
      The new callback will allocate the data (if not provided externally) and
      then use it for the VM, address and device post parse callbacks.
      e168bc8a
    • P
      conf: Add 'basic' post parse callback · 2f19c932
      Peter Krempa 提交于
      Add yet another post parse callback, which is executed prior the real
      one without @parseOpaque. This is meant to set basics before
      @parseOpaque (in case of the qemu driver qemuCaps) can be allocated.
      
      This callback will allow to optimize passing of custom parseOpaque
      through the callbacks.
      2f19c932
  10. 02 8月, 2017 1 次提交
  11. 25 7月, 2017 3 次提交
  12. 21 7月, 2017 2 次提交
  13. 15 7月, 2017 3 次提交
  14. 11 7月, 2017 4 次提交
  15. 27 6月, 2017 1 次提交
  16. 16 6月, 2017 1 次提交
  17. 08 6月, 2017 9 次提交
  18. 07 6月, 2017 1 次提交
  19. 05 6月, 2017 1 次提交
  20. 26 5月, 2017 1 次提交
  21. 15 5月, 2017 2 次提交