1. 22 2月, 2017 4 次提交
    • P
      tests: drivermodule: Make sure that all compiled storage backends can be loaded · 93a3f516
      Peter Krempa 提交于
      Add a new storage driver registration function that will force the
      backend code to fail if any of the storage backend modules can't be
      loaded. This will make sure that they work and are present.
      93a3f516
    • P
      storage: Turn storage backends into dynamic modules · 0a6d3e51
      Peter Krempa 提交于
      If driver modules are enabled turn storage driver backends into
      dynamically loadable objects. This will allow greater modularity for
      binary distributions, where heavyweight dependencies as rbd and gluster
      can be avoided by selecting only a subset of drivers if the rest is not
      necessary.
      
      The storage modules are installed into 'LIBDIR/libvirt/storage-backend/'
      and users can override the location by using
      'LIBVIRT_STORAGE_BACKEND_DIR' environment variable.
      
      rpm based distros will at this point install all the backends when
      libvirt-daemon-driver-storage package is installed.
      0a6d3e51
    • P
      spec: Don't check for storage driver backends in configure script · 4fb105f6
      Peter Krempa 提交于
      Explicitly enable --with-storage-scsi and disable --without-storage-zfs
      and --without-storage-vstorage so that the configure script doesn't
      check for them.
      
      Note that --with-storage-dir is enabled by default.
      4fb105f6
    • M
      conf: Don't accept dummy values for <memoryBacking/> attributes · 0888cb6a
      Michal Privoznik 提交于
      Our virSomeEnumTypeFromString() functions return either the value
      of item from the enum or -1 on error. Usually however the value 0
      means 'this value is not set in the domain XML, use some sensible
      default'. Therefore, we don't accept corresponding string in
      domain XML, for instance:
      
      <memoryBacking>
        <source mode="none"/>
        <access mode="default"/>
        <allocation mode="none"/>
      </memoryBacking>
      
      should be rejected as invalid XML.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      0888cb6a
  2. 21 2月, 2017 30 次提交
  3. 20 2月, 2017 6 次提交