[PATCH v2 0/1] storage: vstorage support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch supports pool and volume managment using Vistuozzo Storage (vstorage)
as a backend.
To define pool use:
virsh -c qemu+unix:///system pool-define-as --name VZ --type vstorage
 --source-name vz7-vzstorage  --target /vzstorage_pool
The resulting  XML:
<pool type='vstorage'>
  <name>VZ</name>
  <uuid>5f45665b-66fa-4b18-84d1-248774cff3a1</uuid>
  <capacity unit='bytes'>107374182400</capacity>
  <allocation unit='bytes'>1441144832</allocation>
  <available unit='bytes'>105933037568</available>
  <source>
    <name>vz7-vzstorage</name>
  </source>
  <target>
    <path>/vzstorage_pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>
</pool>

For the vstorage pool the only obligatory parameter, which stores cluster name,
is --source-name.

v2:
 - maximum code reusage
 - fixed name issue - we use vstorage
 - simplified findPoolSources
Olga Krishtal (1):
  storage: vz storage pool support

 configure.ac                      |  28 ++++++++++
 docs/schemas/storagepool.rng      |  13 +++++
 include/libvirt/libvirt-storage.h |   1 +
 src/conf/storage_conf.c           |  16 +++++-
 src/conf/storage_conf.h           |   4 +-
 src/storage/storage_backend.c     |   3 +
 src/storage/storage_backend_fs.c  | 114 ++++++++++++++++++++++++++++++++++++--
 src/storage/storage_backend_fs.h  |   3 +
 src/storage/storage_driver.c      |   2 +
 tools/virsh-pool.c                |   2 +
 tools/virsh.c                     |   3 +
 11 files changed, 181 insertions(+), 8 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]