1. 26 6月, 2019 3 次提交
  2. 25 6月, 2019 2 次提交
  3. 21 6月, 2019 4 次提交
    • P
      tests: qemuxml2argv: Test qemu namespace capability tweaking · 03f224cd
      Peter Krempa 提交于
      Show that the capability tweaking stuff works by enabling blockdev in
      the 'qemu-ns' test even in versions where it's not yet fully supported.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      03f224cd
    • P
      tests: qemuxml2argv: Modernize and fork 'qemu-ns' test · 47f42f74
      Peter Krempa 提交于
      Use the DO_TEST_CAPS_LATEST/VER infrastructure to run a more modern
      version of this and also fork it to a pre-blockdev version so that we
      can check the qemu namespace capability tweaking.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      47f42f74
    • P
      qemu: Add support for controling qemu capabilities via the qemu XML namespace · c6da5913
      Peter Krempa 提交于
      Similarly how we allow adding arbitrary command line arguments and
      environment variables this patch introduces the ability to control
      libvirt's perception of the qemu process by tweaking the capability bits
      for testing purposes.
      
      The idea is to allow developers and users either test a new feature by
      enabling it early or disabling it to see whether it introduced
      regressions.
      
      This feature is not meant for production use though, so users should
      handle it with care.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      c6da5913
    • D
      remote: delete the avahi mDNS support · 5a148ce8
      Daniel P. Berrangé 提交于
      Libvirtd has long had integration with avahi for advertising libvirtd
      using mDNS when TCP/TLS listening is enabled. For a long time the
      virt-manager application had support for auto-detecting libvirtds
      on the local network using mDNS, but this was removed last year
      
        commit fc8f8d5d7e3ba80a0771df19cf20e84a05ed2422
        Author: Cole Robinson <crobinso@redhat.com>
        Date:   Sat Oct 6 20:55:31 2018 -0400
      
          connect: Drop avahi support
      
          Libvirtd can advertise itself over avahi. The feature is disabled by
          default though and in practice I hear of no one actually using it
          and frankly I don't think it's all that useful
      
          The 'Open Connection' wizard has a disproportionate amount of code
          devoted to this feature, but I don't think it's useful or worth
          maintaining, so let's drop it
      
      I've never heard of any other applications having support for using
      mDNS to detect libvirtd instances. Though it is theoretically possible
      something exists out there, it is clearly going to be a niche use case
      in the virt ecosystem as a whole.
      
      By removing avahi integration we can cut down the dependency chain for
      the basic libvirtd install and reduce our code maint burden.
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      5a148ce8
  4. 20 6月, 2019 27 次提交
  5. 19 6月, 2019 1 次提交
  6. 18 6月, 2019 1 次提交
    • Y
      storage: escape ipv6 for ceph mon hosts to librados · cdd362e0
      Yi Li 提交于
      Hosts for rbd are ceph monitor daemons. These have fixed IP addresses,
      so they are often referenced by IP rather than hostname for
      convenience, or to avoid relying on DNS. Using IPv4 addresses as the
      host name works already, but IPv6 addresses require rbd-specific
      escaping because the colon is used as an option separator in the
      string passed to librados.
      
      Escape these colons, and enclose the IPv6 address in square brackets
      so it is distinguished from the port, which is currently mandatory.
      Signed-off-by: NYi Li <yili@winhong.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      Signed-off-by: NJán Tomko <jtomko@redhat.com>
      cdd362e0
  7. 17 6月, 2019 2 次提交