1. 04 9月, 2009 1 次提交
  2. 02 9月, 2009 1 次提交
    • M
      Add support for encrypted (qcow) volume creation. · 46acb0f2
      Miloslav Trmač 提交于
      Supports only virStorageVolCreateXML, not virStorageVolCreateXMLFrom.
      
      Curiously, qemu-img does not need the passphrase for anything to create
      an encrypted volume.  This implementation thus does not need to touch
      any secrets to work with cooperating clients.  More generic passphrase
      handling is added in the next patch.
      
      * src/storage_backend.c: Request encryption when creating qcow/qcow2
        files
      * src/storage_backend_disk.c, src/storage_backend_fs.c,
        src/storage_backend_logical.c: Refuse to create volumes with
        encryption params set.
      46acb0f2
  3. 05 8月, 2009 1 次提交
  4. 24 7月, 2009 1 次提交
  5. 22 7月, 2009 1 次提交
  6. 17 7月, 2009 5 次提交
  7. 16 7月, 2009 1 次提交
    • J
      remove all trailing blank lines · 07613d20
      Jim Meyering 提交于
      by running this command:
      git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/'
      This is in preparation for a more strict make syntax-check
      rule that will detect trailing blank lines.
      07613d20
  8. 17 6月, 2009 1 次提交
  9. 02 6月, 2009 1 次提交
    • D
      NPIV implementation for node device create and destroy · 81d0ffbc
      Daniel Veillard 提交于
      * src/Makefile.am src/node_device.[ch] src/node_device_conf.[ch]
        src/node_device_hal.[ch] src/node_device_hal_linux.c
        src/qemu_driver.c src/remote_internal.c src/storage_backend.c
        src/virsh.c src/xen_unified.c tests/nodedevxml2xmltest.c
        po/POTFILES.in: implementation for node device create and destroy
        in NPIV support, patch by David Allan
      Daniel
      81d0ffbc
  10. 19 5月, 2009 1 次提交
  11. 13 5月, 2009 1 次提交
  12. 03 4月, 2009 2 次提交
  13. 02 4月, 2009 1 次提交
  14. 03 3月, 2009 1 次提交
  15. 28 1月, 2009 1 次提交
  16. 21 1月, 2009 1 次提交
  17. 18 12月, 2008 1 次提交
  18. 02 12月, 2008 1 次提交
  19. 28 11月, 2008 2 次提交
    • C
      Instead of relying solely on polling for /dev devices to appear in libvirt, we · a9567e09
      Chris Lalancette 提交于
      really should be synchronizing against udev.  This is generally done by a call
      to udevsettle, which is exactly what this patch implements for the storage
      backends that are likely to create new /dev nodes.  I believe I've read that
      even after udevsettle, you are not guaranteed that devices are all the way
      created, so we still need the polling in the rest of the sources, but this
      should give us a much better chance of things existing as we expect.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      a9567e09
    • C
      Currently libvirt can race with udev · d20d6b1b
      Chris Lalancette 提交于
      creation of /dev/disk/by-{id,path}, so if we fail to open the directory, retry
      up to 5 seconds.  This is only likely to happen on hosts that are:
      
      1) diskless (so /dev/disk/by-{id,path} doesn't exist already), and
      2) slow, and/or heavily loaded (meaning that udev can take some time to create
      the /dev nodes).
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      d20d6b1b
  20. 17 11月, 2008 1 次提交
  21. 13 11月, 2008 1 次提交
  22. 11 11月, 2008 1 次提交
  23. 05 11月, 2008 1 次提交
  24. 03 11月, 2008 1 次提交
    • C
      Give iSCSI and disk storage backend drivers the · 17a9e03c
      Chris Lalancette 提交于
      ability to resolve any kind of volume path to the pool target volume
      path.  For instance, if the pool was defined with a
      <target><path>/dev/disk/by-id</path></target> section, and one of the
      volumes is /dev/disk/by-id/scsi-S_beaf11, then you would be able to
      call virStorageVolLookupByPath("/dev/sdc"), and get the correct volume
      back.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      17a9e03c
  25. 29 10月, 2008 2 次提交
    • J
      avoid compiler warning when all storage backends are disabled · 487d57b3
      Jim Meyering 提交于
      * src/storage_backend.c (backends): Add a NULL terminator.
      (virStorageBackendForType): Use NULL terminator rather than
      warning-provoking (possibly 0) array size.
      487d57b3
    • J
      use ARRAY_CARDINALITY more · 05589b72
      Jim Meyering 提交于
      * tests/nodeinfotest.c: Include "util.h".
      * src/xen_internal.c: Likewise.
      * src/qemu_conf.c (qemudCapsInit): Use ARRAY_CARDINALITY.
      * src/storage_backend.c (virStorageBackendForType): Likewise.
      * src/storage_backend_fs.c (virStorageBackendProbeFile): Likewise.
      * src/xen_internal.c (xenHypervisorMakeCapabilitiesInternal): Likewise.
      * src/xend_internal.c (xenDaemonParseSxpr): Likewise.
      * tests/nodeinfotest.c (mymain): Likewise.
      * tests/qparamtest.c (DO_TEST): Likewise.
      05589b72
  26. 16 10月, 2008 1 次提交
    • C
      Add support for detecting the partition table type when scanning · eeff3cdc
      Chris Lalancette 提交于
      iSCSI volumes.  This is implemented in the
      virStorageBackendUpdateVolInfoFD function, so all future callers will
      automatically benefit.  This is a somewhat large patch because the
      conversion of the virStorageBackendPartTableTypeToString necessitated
      a change to the formatToString and formatFromString function pointers,
      which caused fallout in other places in the storage stuff.  The good
      news is that most of these callers are now converted over to the
      VIR_ENUM_IMPL, which means a lot of redundant code is now gone.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      eeff3cdc
  27. 05 9月, 2008 1 次提交
  28. 27 8月, 2008 1 次提交
  29. 20 8月, 2008 1 次提交
  30. 08 8月, 2008 1 次提交
  31. 19 7月, 2008 1 次提交
    • J
      remove unnecessary "V = NULL;" stmts after VIR_FREE(V) · 3ff5480d
      Jim Meyering 提交于
      * src/domain_conf.c (virDomainChrDefParseXML)
      (virDomainNetDefParseXML): Likewise.
      * src/iptables.c (iptRuleFree): Likewise.
      * src/storage_backend.c (virStorageBackendRunProgRegex): Likewise.
      * src/test.c (testOpenFromFile): Likewise.
      * src/xmlrpc.c (xmlRpcCallRaw): Likewise.
      3ff5480d
  32. 24 6月, 2008 1 次提交
  33. 17 6月, 2008 1 次提交