1. 04 2月, 2016 9 次提交
    • J
      logical: Clarify pieces of lvs regex · 7de8b442
      John Ferlan 提交于
      Rather than have a unwieldy regex string - split it up into its components
      each having it's own #define and then combine in a different #define
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      7de8b442
    • J
      libxl: set net device prefix · a040ba9e
      Joao Martins 提交于
      Use the newly added virCapabilitiesSetNetPrefix to set
      the network prefix for the driver. This in return will
      be use by NetDefFormat() and NetDefParseXML() routines
      to free any interface name that start with the registered
      prefix.
      Acked-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      a040ba9e
    • J
      conf: add caps to virDomainSaveConfig · cd57b7c7
      Joao Martins 提交于
      virDomainSaveConfig calls virDomainDefFormat which was setting the caps
      to NULL, thus keeping the old behaviour (i.e. not looking at
      netprefix). This patch adds the virCapsPtr to the function and allows
      the configuration to be saved and skipping interface names that were
      registered with virCapabilitiesSetNetPrefix().
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      cd57b7c7
    • J
      conf: add caps to virDomainDefFormat* · d239a542
      Joao Martins 提交于
      And use the newly added caps->host.netprefix (if it exists) for
      interface names that match the autogenerated target names.
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      d239a542
    • J
      conf: add prefix in virDomainNetDefParseXML · 481e9bd0
      Joao Martins 提交于
      And use the newly added caps->host.netprefix for free interface
      names that match the autogenerated target names.
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      481e9bd0
    • J
      conf: add net device prefix to capabilities · 819d1d94
      Joao Martins 提交于
      In the reverted commit d2e5538b, the libxl driver was changed to copy
      interface names autogenerated by libxl to the corresponding network def
      in the domain's virDomainDef object. The copied name is freed when the
      domain transitions to the shutoff state. But when migrating a domain,
      the autogenerated name is included in the XML sent to the destination
      host.  It is possible an interface with the same name already exists on
      the destination host, causing migration to fail.
      
      This patch defines a new capability for setting the network device
      prefix that will be used in the driver. Valid prefixes are
      VIR_NET_GENERATED_PREFIX or the one announced by the driver.
      Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
      819d1d94
    • R
      virsh: display if ZFS storage backend is enabled · 6221b894
      Roman Bogorodskiy 提交于
      Make 'virsh -V' list ZFS storage backend if it's enabled.
      6221b894
    • 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
    • R
      storage: zfs: flexible use of 'volmode' option · c94f6d4d
      Roman Bogorodskiy 提交于
      There are slight differences in various ZFS implementations.
      Specifically, ZFS on FreeBSD requires to set value of 'volmode'
      option to 'dev' to expose volumes as raw disk device (that's what
      we need) rather than geom provides, for example.
      
      With ZFS on Linux, however, such option is not available and
      volumes exposed like we need by default.
      
      To make our implementation more flexible, only pass 'volmode'
      when it's supported. Support is checked by parsing usage
      information of the 'zfs get' command.
      c94f6d4d
  2. 03 2月, 2016 21 次提交
  3. 02 2月, 2016 6 次提交
  4. 01 2月, 2016 3 次提交
  5. 30 1月, 2016 1 次提交
    • M
      includes: Install libvirt-common.h · a70f3b1c
      Michal Privoznik 提交于
      The libvirt-common.h is build time generated file from .in.
      Obviously, it's generated into builddir and not srcdir. Problem
      is, the list of header files to install, virinc_HEADERS contains
      only $(srcdir)/*.h and this misses libvirt-common.h. This problem
      is pretty obvious when doing a VPATH build.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      a70f3b1c