--- src/lxc/lxc_native.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lxc/lxc_native.c b/src/lxc/lxc_native.c index 1997370..9a16523 100644 --- a/src/lxc/lxc_native.c +++ b/src/lxc/lxc_native.c @@ -286,6 +286,10 @@ lxcAddFstabLine(virDomainDefPtr def, lxcFstabPtr fstab) goto error; } + /* Is it a block device that needs special favor? */ + if (STRPREFIX(fstab->src, "/dev/")) + type = VIR_DOMAIN_FS_TYPE_BLOCK; + /* Do we have ro in options? */ readonly = virStringArrayHasString(options, "ro"); -- 1.8.5.2
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list