1. 12 6月, 2018 3 次提交
  2. 06 6月, 2018 1 次提交
  3. 05 6月, 2018 1 次提交
  4. 28 5月, 2018 3 次提交
  5. 12 5月, 2018 1 次提交
  6. 27 4月, 2018 1 次提交
  7. 25 4月, 2018 5 次提交
  8. 24 4月, 2018 1 次提交
  9. 20 4月, 2018 2 次提交
    • D
      remote: always build generated source files · 6b06f359
      Daniel P. Berrangé 提交于
      The generated source files for dispatching libvirtd RPC messages contain
      translations and are thus listed in POTFILES. This means they are
      required in order to build libvirt.pot. Rather than changing the files
      that go into libvirt.pot dynamically, just unconditionally build the
      remote driver sources so they are always available for building
      libvirt.pot. This ensures we don't silently loose translation messages
      based on configure args.
      
      This fixes the mingw build which needs to create libvirt.pot but has
      libvirtd disabled.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      6b06f359
    • J
      remote: Fix usage of ATTRIBUTE_FALLTHROUGH · 4f995eab
      John Ferlan 提交于
      Move to within the #if since the #else portion ends with a goto
      and that raised concern by Coverity.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      4f995eab
  10. 18 4月, 2018 1 次提交
  11. 12 4月, 2018 1 次提交
  12. 09 4月, 2018 10 次提交
  13. 28 3月, 2018 1 次提交
  14. 23 3月, 2018 2 次提交
    • D
      remote: remove some __sun conditionals · da1ade7a
      Daniel P. Berrangé 提交于
      The libvirtd daemon has some arbitrary logic to drop privileges, but
      only on Solaris platforms. This was added during Xen days, when Xen was
      the only driver running in libvirtd. There's no expectation or testing
      that this works with the new libxl stack, nor whether dropping
      privileges breaks any of the secondary drivers. Finally, we'll be
      splitting drivers out into their own independant daemons, so this won't
      be applicable to libvirtd in future anyway.
      
      The remote driver client meanwhile arbitrarily disables daemon
      auto-spawn when connecting as non-root, breaking a key feature of
      libvirt unprivileged connections.
      
      Since we've not had any contributions for Solaris since circa 2012
      and we don't do any CI testing we should consider this platform
      unmaintained and thus reasonable to remove this cruft. If someone steps
      forward to maintain Solaris again, this code would need re-evaluating to
      come up with something more targetted.
      
      There's various __sun conditionals in the Xen driver code, but those are
      not touched. This is all for the legacy Xen driver, which will be
      entirely removed at some point in future, so not benefit to hacking out
      just the Solaris parts.
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      da1ade7a
    • D
      rpc: remove remains of obsolete log_buffer_size config parameter · 65824a7e
      Daniel P. Berrangé 提交于
      The global log buffer feature was deleted in:
      
        commit c0c8c1d7
        Author: Daniel P. Berrange <berrange@redhat.com>
        Date:   Mon Mar 3 14:54:33 2014 +0000
      
          Remove global log buffer feature entirely
      
          A earlier commit changed the global log buffer so that it only
          records messages that are explicitly requested via the log
          filters setting. This removes the performance burden, and
          improves the signal/noise ratio for messages in the global
          buffer. At the same time though, it is somewhat pointless, since
          all the recorded log messages are already going to be sent to an
          explicit log output like syslog, stderr or the journal. The
          global log buffer is thus just duplicating this data on stderr
          upon crash.
      
          The log_buffer_size config parameter is left in the augeas
          lens to prevent breakage for users on upgrade. It is however
          completely ignored hereafter.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      
      This was in the 1.2.3 release, and 4 years is sufficient time for a
      graceful upgrade path for augeas, so all remaining traces are now
      removed.
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      65824a7e
  15. 16 3月, 2018 4 次提交
  16. 15 3月, 2018 1 次提交
  17. 14 3月, 2018 2 次提交