]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce <driver> under <filesystem> to support open-by-handle
authorHarsh Prateek Bora <harsh@linux.vnet.ibm.com>
Tue, 11 Oct 2011 11:30:40 +0000 (17:00 +0530)
committerEric Blake <eblake@redhat.com>
Wed, 12 Oct 2011 18:15:28 +0000 (12:15 -0600)
commitda8127e6b383f9ba555209319849ab0581130c97
tree5daaa305ef9a5374727788ee7ceb7eac62eb8650
parent7f197559f2546c5f65c4cbdb068dbb83bd1781ef
Introduce <driver> under <filesystem> to support open-by-handle

VirtFS allows the user to choose between path/handle based fs driver.
As of now, libvirt hardcoded path based driver only. This patch provides
a solution to allow user to choose between path/handle based fs driver.

Sample:

    <filesystem type='mount'>
      <driver type='handle'/>
      <source dir='/folder/to/share1'/>
      <target dir='mount_tag1'/>
    </filesystem>

    <filesystem type='mount'>
      <driver type='path'/>
      <source dir='/folder/to/share2'/>
      <target dir='mount_tag2'/>
    </filesystem>

Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-fs9p.args
tests/qemuxml2argvdata/qemuxml2argv-fs9p.xml