1. 20 9月, 2018 1 次提交
  2. 17 9月, 2018 1 次提交
  3. 08 8月, 2018 2 次提交
  4. 20 7月, 2018 2 次提交
  5. 10 7月, 2018 1 次提交
  6. 08 6月, 2018 1 次提交
  7. 05 6月, 2018 2 次提交
  8. 16 5月, 2018 4 次提交
  9. 11 5月, 2018 4 次提交
  10. 07 5月, 2018 2 次提交
  11. 03 5月, 2018 3 次提交
  12. 18 4月, 2018 1 次提交
  13. 08 3月, 2018 2 次提交
  14. 20 2月, 2018 1 次提交
  15. 14 2月, 2018 2 次提交
  16. 09 2月, 2018 1 次提交
    • D
      storage: move storage file backend framework into util directory · 064fec69
      Daniel P. Berrangé 提交于
      The QEMU driver loadable module needs to be able to resolve all ELF
      symbols it references against libvirt.so. Some of its symbols can only
      be resolved against the storage_driver.so loadable module which creates
      a hard dependancy between them. By moving the storage file backend
      framework into the util directory, this gets included directly in the
      libvirt.so library. The actual backend implementations are still done as
      loadable modules, so this doesn't re-add deps on gluster libraries.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      064fec69
  17. 31 1月, 2018 1 次提交
  18. 14 12月, 2017 1 次提交
  19. 24 11月, 2017 1 次提交
  20. 08 11月, 2017 1 次提交
  21. 07 11月, 2017 2 次提交
    • P
      storage: Store RBD image name as pool and image name · 90521d07
      Peter Krempa 提交于
      Similarly to how we store gluster names, split the name into a pool and
      image portions when paring the XML and store them separately.
      90521d07
    • P
      storage: Don't store leading '/' in image name when splitting out volume · bb14d989
      Peter Krempa 提交于
      Libvirt historically stores storage source path including the volume as
      one string in the XML, but that is not really flexible enough when
      dealing with the fields in the code. Previously we'd store the slash
      separating the two as part of the image name. This was fine for gluster
      but it's not necessary and does not scale well when converting other
      protocols.
      
      Don't store the slash as part of the path. The resulting change from
      absolute to relative path within the gluster driver should be okay,
      as the root directory is the default when accessing gluster.
      bb14d989
  22. 20 10月, 2017 2 次提交
    • J
      conf: Add/Allow parsing the auth in the disk source · 8002d3cb
      John Ferlan 提交于
      Since the virStorageAuthDefPtr auth; is a member of _virStorageSource
      it really should be allowed to be a subelement of the disk <source>
      for the RBD and iSCSI prototcols. That way we can set up to allow
      the <auth> element to be formatted within the disk source.
      
      Since we've allowed the <auth> to be a child of <disk>, we'll need
      to keep track of how it was read so that when writing out we'll know
      whether to format as child of <disk> or <source>. For the argv2xml
      parsing, let's format under <source> as a preference. Do not allow
      <auth> to be both a child of <disk> and <source>.
      
      Modify the qemuxml2argvtest to add a parse failure when there is an
      <auth> as a child of <disk> *and* an <auth> as a child of <source>.
      
      Add tests to validate that if the <auth> was found in <source>, then
      the resulting xml2xml and xml2arg works just fine.  The two new .args
      file are exact copies of the non "-source" version of the file.
      
      The virschematest will read the new test files and validate from a
      RNG viewpoint things are fine
      
      Update the virstoragefile, virstoragetest, and args2xml file to show
      the "preference" to place <auth> as a child of <source>.
      8002d3cb
    • J
      util: storage: Introduce privateData for _virStorageSource · 1f38445e
      John Ferlan 提交于
      Introduce the bare necessities to add privateData to _virStorageSource.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      1f38445e
  23. 18 10月, 2017 1 次提交
  24. 17 10月, 2017 1 次提交
    • P
      Terminate backing chains explicitly · a693fdba
      Peter Krempa 提交于
      Express a properly terminated backing chain by putting a
      virStorageSource of type VIR_STORAGE_TYPE_NONE in the chain. The newly
      used helpers simplify this greatly.
      
      The change fixes a bug as formatting an incomplete backing chain and
      parsing it back would end up in expressing a terminated chain since
      src->backingStoreRaw was not populated. By relying on the terminator
      object this can be now processed appropriately.
      a693fdba