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. 29 9月, 2017 1 次提交
  3. 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
  4. 21 9月, 2017 4 次提交
  5. 20 9月, 2017 1 次提交
  6. 18 9月, 2017 1 次提交
  7. 15 9月, 2017 2 次提交
    • J
      conf: Add invalid domain disk encryption test · 411cdb61
      John Ferlan 提交于
      Add a test to prove checking for invalid luks disk formatting check.
      The error message will indicate supplying the <cipher> element is
      unnecessary.
      411cdb61
    • J
      conf: Add invalid secrettype checks · fbad3ed0
      John Ferlan 提交于
      Add a couple of tests to "validate" checks in domain_conf that either
      a missing secrettype (CONFIG_UNSUPPORTED) or an mismatched secrettype
      of ceph for an iSCSI disk (INTERNAL_ERROR) will cause a parsing error.
      fbad3ed0
  8. 11 9月, 2017 1 次提交
    • J
      tests: merge iommu tests · 190a5bc1
      Ján Tomko 提交于
      Using intremap without <ioapic driver='qemu'/> does not work.
      Merge the tests to avoid a duplicit test once we start validating it.
      190a5bc1
  9. 05 9月, 2017 1 次提交
  10. 30 8月, 2017 1 次提交
    • P
      qemu: set bind mode for chardev while parsing XML · be6a415e
      Pavel Hrdina 提交于
      Currently while parsing domain XML we clear the UNIX path if it matches
      one of the auto-generated paths by libvirt.  After that when the guest
      is started new path is generated but the mode is also changed to "bind".
      
      In the real-world use-case the mode should not change, it only happens
      if a user provides a mode='connect' and path that matches one of the
      auto-generated path or not provides a path at all.
      
      Before *reconnect* feature was introduced there was no issue, but with
      the new feature we need to make sure that it's used only with "connect"
      mode, therefore we need to move the mode change into parsing in order
      to have a proper error reported by validation code.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      be6a415e
  11. 29 8月, 2017 2 次提交
  12. 21 8月, 2017 1 次提交
  13. 17 8月, 2017 1 次提交
    • C
      tests: add qemu x86 kvm 32-on-64 test · 21de51c3
      Cole Robinson 提交于
      There's some specific logic in qemuBuildCpuCommandLine to support
      auto adding -cpu qemu 32 for arch=i686 with an x86_64 qemu binary.
      Add a test case for it
      21de51c3
  14. 10 8月, 2017 1 次提交
  15. 07 8月, 2017 1 次提交
  16. 02 8月, 2017 1 次提交
  17. 27 7月, 2017 1 次提交
  18. 26 7月, 2017 1 次提交
  19. 21 7月, 2017 1 次提交
    • S
      qemu: Enable NUMA node tag in pci-root for PPC64 · e5a05799
      Shivaprasad G Bhat 提交于
      This patch addresses the same aspects on PPC the bug 1103314 addressed
      on x86.
      
      PCI expander bus creates multiple primary PCI busses, where each of these
      busses can be assigned a specific NUMA affinity, which, on x86 is
      advertised through ACPI on a per-bus basis.
      
      For SPAPR, a PHB's NUMA affinities are assigned on a per-PHB basis, and
      there is no mechanism for advertising NUMA affinities to a guest on a
      per-bus basis. So, even if qemu-ppc manages to get some sort of multi-bus
      topology working using PXB, there is no way to expose the affinities
      of these busses to the guest. It can only be exposed on a per-PHB/per-domain
      basis.
      
      So patch enables NUMA node tag in pci-root controller on PPC.
      
      The way to set the NUMA node is through the numa_node option of
      spapr-pci-host-bridge device. However for the implicit PHB, the only way
      to set the numa_node is from the -global option. The -global option applies
      to all the PHBs unless explicitly specified with the option on the
      respective PHB of CLI. The default PHB has the emulated devices only, so
      the patch prevents setting the NUMA node for the default PHB.
      Signed-off-by: NShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      e5a05799
  20. 15 7月, 2017 5 次提交
  21. 11 7月, 2017 5 次提交
  22. 20 6月, 2017 1 次提交
  23. 19 6月, 2017 1 次提交
  24. 14 6月, 2017 1 次提交
  25. 13 6月, 2017 3 次提交