1. 22 11月, 2019 1 次提交
  2. 12 4月, 2019 1 次提交
  3. 15 3月, 2019 2 次提交
  4. 23 7月, 2018 2 次提交
  5. 03 7月, 2018 1 次提交
    • D
      qemu: format serial and geometry on frontend disk device · b340c6c6
      Daniel P. Berrangé 提交于
      Currently we format the serial, geometry and error policy on the -drive
      backend argument.
      
      QEMU added the ability to set serial and geometry on the frontend in
      the 1.2 release deprecating use of -drive, with support being deleted
      from -drive in 3.0.
      
      We keep formatting error policy on -drive for now, because we don't
      ahve support for that with -device for usb-storage just yet.
      
      Note that some disk buses (sd) still don't support -device. Although
      QEMU allowed these properties to be set on -drive for if=sd, they
      have been ignored so we now report an error in this case.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      b340c6c6
  6. 06 6月, 2018 1 次提交
  7. 05 6月, 2018 2 次提交
  8. 18 5月, 2018 2 次提交
  9. 17 4月, 2018 5 次提交
  10. 16 4月, 2018 1 次提交
  11. 12 4月, 2018 3 次提交
  12. 05 12月, 2017 1 次提交
  13. 07 11月, 2017 1 次提交
    • P
      qemu: block: Use proper type for servers for VxHS disks · bd372137
      Peter Krempa 提交于
      Original implementation used 'SocketAddress' equivalent from qemu for
      the disk server field, while qemu documentation specifies
      'InetSocketAddress'. The backing store parser uses the correct parsing
      function but the formatter used the incorrect one (and also with the
      legacy mode enabled which was wrong).
      bd372137
  14. 29 9月, 2017 1 次提交
  15. 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