mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add 'nbd' as a valid filesystem driver type
The <filesystem> element can now accept a <driver type='nbd'/> as an alternative to 'loop'. The benefit of NBD is support for non-raw disk image formats. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user