1. 04 2月, 2016 1 次提交
    • R
      configure: zfs: enable on Linux · 82f17fbe
      Roman Bogorodskiy 提交于
      ZFS-on-Linux implementation of ZFS starting with version 0.6.4
      contains all the features we use. Additionally, as we support
      'volmode' option handling that's not available on ZoL but is
      available on FreeBSD, there is no need to block ZFS storage driver
      on Linux anymore.
      
      So un-mark zfs storage driver as FreeBSD-only.
      82f17fbe
  2. 18 1月, 2016 1 次提交
  3. 13 1月, 2016 1 次提交
  4. 12 1月, 2016 3 次提交
  5. 10 1月, 2016 1 次提交
    • C
      examples: Use one top level makefile · da176bf6
      Cole Robinson 提交于
      Using one Makefile per example subdirectory essentially serializes 'make'
      calls. Convert to one example/Makefile that builds and distributes
      all the subdir files. This reduces example/ rebuild time from about 5.8
      seconds to 1.5 seconds on my machine.
      
      One slight difference is that we no longer ship Makefile.am with the
      examples in the rpm. This was virtually useless anyways since the Makefile
      was very specific to libvirt infrastructure, so wasn't generically
      reusable anyways.
      
      Tested with 'make distcheck' and 'make rpm'
      da176bf6
  6. 17 12月, 2015 3 次提交
    • C
      Allow building lxc without virt-login-shell · bec787ee
      Cédric Bosdonnat 提交于
      Add a configure option to disable virt-login-shell build even if lxc is
      enabled.
      bec787ee
    • A
      process: Add virProcessGetMaxMemLock() · bbefc9cc
      Andrea Bolognani 提交于
      This function can be used to retrieve the current locked memory
      limit for a process, so that the setting can be later restored.
      
      Add a configure check for getrlimit(), which we now use.
      bbefc9cc
    • E
      build: disable vbox on cygwin · df2fadfc
      Eric Blake 提交于
      Cygwin cannot build the vbox driver yet:
      
        CC       vbox/libvirt_driver_vbox_impl_la-vbox_glue.lo
      In file included from vbox/vbox_glue.c:27:0:
      vblox/vbox_XPCOMCGlue.c:63:3: error: #error "Port me"
       # error "Port me"
         ^
      In file included from vbox/vbox_XPCOMCGlue.c:45:0,
                       from vbox/vbox_glue.c:27:
      vbox/vbox_XPCOMCGlue.c: In function 'tryLoadOne':
      vbox/vbox_XPCOMCGlue.c:98:46: error: 'DYNLIB_NAME' undeclared (first use in this function)
               if (virAsprintf(&name, "%s/%s", dir, DYNLIB_NAME) < 0)
      	                                      ^
      ./util/virstring.h:245:31: note: in definition of macro 'virAsprintf'
                               strp, __VA_ARGS__)
      			       ^
      
      Rather than trying to figure out how to get dynamic loading of
      vbox to work under cygwin (since I don't even have a working vbox
      setup to test whether it works), I'm going to be lazy and just
      default to not even trying vbox on cygwin.
      df2fadfc
  7. 16 12月, 2015 1 次提交
    • I
      libxl: Use libxentoollog in preference to libxenctrl if available. · 716be257
      Ian Campbell 提交于
      Upstream Xen is in the process of splitting the (stable API) xtl_*
      interfaces out from the (unstable API) libxenctrl library and into a
      new (stable API) libxentoollog.
      
      In order to be compatible with Xen both before and after this
      transition check for xtl_createlogger_stdiostream in a libxentoollog
      library and use it if present. If it is not present assume it is in
      libxenctrl.
      
      Compile tested on Xen 4.6 and a development tree with the split in
      place.
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      716be257
  8. 09 12月, 2015 1 次提交
  9. 30 11月, 2015 1 次提交
    • E
      libvirt: introduce libvirt/libvirt-common.h.in · a20b6237
      Erik Skultety 提交于
      As it turned out, we need to share some enums and declarations between
      libvirt.h and libvirt-admin.h, but since our policy forbids direct includes of
      libvirt*.h, there has to be some header exempt from this rule. This patch moves
      the relevant part of code from libvirt.h.in to libvirt-common.h.in. Moreover,
      since there is no need to have libvirt.h generated anymore, introduce a new
      header libvirt.h which was previosly ignored from git and make the common
      header ignored and generated instead.
      a20b6237
  10. 24 11月, 2015 1 次提交
  11. 04 11月, 2015 2 次提交
  12. 02 10月, 2015 1 次提交
  13. 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
  14. 09 9月, 2015 1 次提交
  15. 05 9月, 2015 1 次提交
  16. 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
  17. 02 9月, 2015 1 次提交
  18. 20 8月, 2015 2 次提交
  19. 14 8月, 2015 1 次提交
  20. 03 8月, 2015 1 次提交
  21. 22 7月, 2015 1 次提交
  22. 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
  23. 14 7月, 2015 2 次提交
  24. 08 7月, 2015 1 次提交
  25. 02 7月, 2015 1 次提交
  26. 28 6月, 2015 1 次提交
  27. 19 6月, 2015 1 次提交
  28. 17 6月, 2015 1 次提交
  29. 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