1. 13 12月, 2019 4 次提交
  2. 09 12月, 2019 1 次提交
  3. 12 11月, 2019 1 次提交
  4. 25 10月, 2019 1 次提交
  5. 21 10月, 2019 3 次提交
  6. 16 10月, 2019 5 次提交
  7. 06 9月, 2019 1 次提交
  8. 04 9月, 2019 1 次提交
  9. 27 8月, 2019 1 次提交
  10. 26 8月, 2019 1 次提交
  11. 18 7月, 2019 4 次提交
  12. 07 5月, 2019 1 次提交
    • E
      conf: Add parameter to virDomainDiskSourceFormat · 1ec3e397
      Eric Blake 提交于
      Commits 4bc42986 and 218c81ea removed virDomainStorageSourceFormat on
      the grounds that there were no external callers; however, the upcoming
      backup code wants to output a <target> (push mode) or <scratch> (pull
      mode) element that is in all other respects identical to a domain's
      <source> element, where the previous virDomainStorageSourceFormat fit
      the bill nicely. But rather than reverting the commits, it's easier to
      just add an additional parameter for the element name to use, and
      update all callers.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      1ec3e397
  13. 17 4月, 2019 1 次提交
  14. 03 4月, 2019 2 次提交
  15. 20 3月, 2019 2 次提交
  16. 18 2月, 2019 2 次提交
  17. 13 2月, 2019 1 次提交
  18. 12 10月, 2018 1 次提交
    • P
      util: storage: Properly parse URIs with missing trailing slash · 6e7e965d
      Peter Krempa 提交于
      The URI parser used by libvirt does not populate uri->path if the
      trailing slash is missing. The code virStorageSourceParseBackingURI
      would then not populate src->path.
      
      As only NBD network disks are allowed to have the 'name' field in the
      XML defining the disk source omitted we'd generate an invalid XML which
      we'd not parse again.
      
      Fix it by populating src->path with an empty string if the uri is
      lacking slash.
      
      As pointed out above NBD is special in this case since we actually allow
      it being NULL. The URI path is used as export name. Since an empty
      export does not make sense the new approach clears the src->path if the
      trailing slash is present but nothing else.
      
      Add test cases now to cover all the various cases for NBD and non-NBD
      uris as there was to time only 1 test abusing the quirk witout slash for
      NBD and all other URIs contained the slash or in case of NBD also the
      export name.
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      6e7e965d
  19. 20 9月, 2018 1 次提交
  20. 04 9月, 2018 1 次提交
  21. 13 8月, 2018 2 次提交
  22. 18 7月, 2018 2 次提交
  23. 05 6月, 2018 1 次提交