1. 24 11月, 2015 1 次提交
  2. 04 11月, 2015 2 次提交
  3. 02 10月, 2015 1 次提交
  4. 25 9月, 2015 1 次提交
    • M
      tools: Link libvirt.la and readline to libvirt_shell.a · 1fb8ac4c
      Michal Privoznik 提交于
      So, our mingw build is broken. It's because while libvirt_shell
      library is using some of our internal APIs, e.g. virStrndup, and
      readline API but it's not being linked with nor libvirt.la nor
      libreadline.  Only subsequent users of the library, like virsh,
      do link to the needed libraries. In fact, I'm surprised Linux
      linker doesn't care, because how can it make a static library
      with missing symbols is mystery to me.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      1fb8ac4c
  5. 09 9月, 2015 1 次提交
  6. 05 9月, 2015 1 次提交
  7. 04 9月, 2015 1 次提交
    • J
      examples: Add example polkit ACL rules · 29b51674
      Jiri Denemark 提交于
      Creating ACL rules is not exactly easy and existing examples are pretty
      simple. This patch adds a somewhat complex example which defines several
      roles. Admins can do everything, operators can do basic operations
      on any domain and several groups of users who act as operators but only
      on a limited set of domains.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      29b51674
  8. 02 9月, 2015 1 次提交
  9. 20 8月, 2015 2 次提交
  10. 14 8月, 2015 1 次提交
  11. 03 8月, 2015 1 次提交
  12. 22 7月, 2015 1 次提交
  13. 21 7月, 2015 1 次提交
    • M
      nodedev: add RDMA and tx-udp_tnl-segmentation NIC capabilities · ac3ed208
      Moshe Levi 提交于
      Adding functionality to libvirt that will allow
      it query the interface for the availability of RDMA and
      tx-udp_tnl-segmentation Offloading NIC capabilities
      
      Here is an example of the feature XML definition:
      
      <device>
      <name>net_eth4_90_e2_ba_5e_a5_45</name>
        <path>/sys/devices/pci0000:00/0000:00:03.0/0000:08:00.1/net/eth4</path>
        <parent>pci_0000_08_00_1</parent>
        <capability type='net'>
          <interface>eth4</interface>
          <address>90:e2:ba:5e:a5:45</address>
          <link speed='10000' state='up'/>
          <feature name='rx'/>
          <feature name='tx'/>
          <feature name='sg'/>
          <feature name='tso'/>
          <feature name='gso'/>
          <feature name='gro'/>
          <feature name='rxvlan'/>
          <feature name='txvlan'/>
          <feature name='rxhash'/>
          <feature name='rdma'/>
          <feature name='txudptnl'/>
          <capability type='80203'/>
        </capability>
      </device>
      ac3ed208
  14. 14 7月, 2015 2 次提交
  15. 08 7月, 2015 1 次提交
  16. 02 7月, 2015 1 次提交
  17. 28 6月, 2015 1 次提交
  18. 19 6月, 2015 1 次提交
  19. 17 6月, 2015 1 次提交
  20. 16 6月, 2015 5 次提交
    • M
      Revert "Example virt-admin" · 220393bf
      Martin Kletzander 提交于
      This reverts commit 4e7ccf87.
      
      I mistakenly pushed it along with the Admin API series.
      220393bf
    • M
      Change livbirt version to 1.3.0 for the next release · 9a8d916e
      Martin Kletzander 提交于
      Since the background for Admin API is merged upstream, we are bumping
      the minor release version as discussed previously
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      9a8d916e
    • M
      Example virt-admin · 4e7ccf87
      Martin Kletzander 提交于
      You had only one job.  That's what you can say about this example
      binary.  In future, parts of virsh that are usable for this binary
      should be split into separate shell-utils and virt-admin should gain all
      the cool features of virsh without too much code addition.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      4e7ccf87
    • M
      Add libvirt-admin library · 55e0c840
      Martin Kletzander 提交于
      Initial scratch of the admin library.  It has its own virAdmConnectPtr
      that inherits from virAbstractConnectPtr and thus trivially supports
      error reporting.
      
      There's pkg-config file added and spec-file adjusted as well.
      
      Since the library should be "minimalistic" and not depend on any other
      library, the list of files is especially crafted for it.  Most of them
      could've been put to it's own sub-libraries that would be LIBADD'd to
      libvirt_util, libvirt_net_rpc and libvirt_setuid_rpc_client to minimize
      the number of object files being built, but that's a refactoring that
      isn't the orginal aim of this commit.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      55e0c840
    • G
      configure: Remove check for pkcheck_supports_uid · ecb9a7a1
      Guido Günther 提交于
      We're using Polkit's DBus API so no need to check wether this feature is
      supported. We don't use the result or the path to the pkcheck program
      anywhere.
      ecb9a7a1
  21. 03 6月, 2015 1 次提交
    • E
      build: silence ar warnings on rawhide · 2db6a447
      Eric Blake 提交于
      Newer binutils 'ar' has added an option 'D' for deterministic
      builds, and at least on rawhide, this option is enabled by default.
      But it conflicts with the 'u' optimization where the linker only
      modifies libraries based on file timestamps, but can result in
      different library ordering based on which files were touched last.
      Thus, it results in some noisy compilation, for every CCLD line:
      
        CCLD     libvirt_driver_qemu_impl.la
        ar: `u' modifier ignored since `D' is the default (see `U')
      
      Upstream automake has decided that defaulting ARFLAGS to 'cru' is
      no longer beneficial, and that switching the default to 'cr' will
      both silence the noise and not penalize modern build systems.
      
      https://lists.gnu.org/archive/html/automake-patches/2015-06/msg00000.html
      
      But rather than wait for newer automake to propagate to all systems
      that already have newer binutils, we might as well just use the new
      default ourselves, even on older platforms.
      
      * configure.ac: Default AR[_]FLAGS to 'cr', not 'cru'.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      2db6a447
  22. 01 6月, 2015 1 次提交
  23. 04 5月, 2015 1 次提交
  24. 23 4月, 2015 2 次提交
  25. 15 4月, 2015 1 次提交
  26. 02 4月, 2015 1 次提交
  27. 20 3月, 2015 1 次提交
    • J
      libxl: use xenlight pkgconfig file if present · 2adba7d3
      Jim Fehlig 提交于
      xen.git commit babeca32 added a pkgconfig file for libxenlight,
      allowing libxl apps to determine the location of Xen binaries
      such as firmware blobs, device emulator, etc.
      
      This patch adds support for xenlight.pc in the libxl driver, falling
      back to the previous configure logic if not found.  It introduces
      LIBXL_FIRMWARE_DIR and LIBXL_EXECBIN_DIR to define the firmware and
      libexec_bin locations.  If xenlight.pc does not exist, the defines
      are set to the current hardcoded paths.  The capabilities'
      <emulator> and <loader> elements are updated to use the paths.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      2adba7d3
  28. 18 3月, 2015 1 次提交
  29. 17 3月, 2015 1 次提交
    • P
      rpm-build: use pkg-config to detect wireshark presence · 37397320
      Pavel Hrdina 提交于
      Wireshark supports pkg-config since 1.11.3.  Right now we build
      wireshark-dissectior tool as default trough rpm build only on
      fedora >= 21 and there is new wireshark that supports pkg-config.
      If someone wants to build libvirt with wireshark-dissector against old
      wireshark, they should specify the location by hand.
      
      This patch is mainly to fix wrong dependency on wireshark binary as it
      doesn't make sense to require that binary file to just get version info
      of that package in makefile.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      37397320
  30. 13 3月, 2015 1 次提交
    • P
      virnetdev: fix build with old kernel · 48461b16
      Pavel Hrdina 提交于
      Commit c9027d8f added a detection of NIC HW features, but some of them
      are not available in old kernel.  Very old kernels lack enum
      ethtool_flags and even if this enum is present, not all values are
      available for all kernels.  To be sure that we have everything in kernel
      that we need, we must check for existence of most of that flags, because
      only few of them were defined at first.
      
      Also to successfully build libvirt with older kernel we need to include
      <linux/types.h> before <linux/ethtool.h> to have __u32 and friends
      defined.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      48461b16
  31. 02 3月, 2015 1 次提交
  32. 12 2月, 2015 1 次提交