the <code>type</code> attribute selects the primary
backend driver name, while the <code>format</code>
attribute provides the format type. For example, LXC
- supports a type of "loop", with a format of "raw". QEMU
- supports a type of "path" or "handle", but no formats.
+ supports a type of "loop", with a format of "raw" or
+ "nbd" with any format. QEMU supports a type of "path"
+ or "handle", but no formats.
</li>
</ul>
</dd>
VIR_DOMAIN_FS_DRIVER_TYPE_PATH,
VIR_DOMAIN_FS_DRIVER_TYPE_HANDLE,
VIR_DOMAIN_FS_DRIVER_TYPE_LOOP,
+ VIR_DOMAIN_FS_DRIVER_TYPE_NBD,
VIR_DOMAIN_FS_DRIVER_TYPE_LAST
};
<source file='/root/container.img'/>
<target dir='/'/>
</filesystem>
+ <filesystem type='file' accessmode='passthrough'>
+ <driver type='nbd' format='qcow2'/>
+ <source file='/root/container.qcow2'/>
+ <target dir='/home'/>
+ </filesystem>
<console type='pty'>
<target type='lxc' port='0'/>
</console>