]> xenbits.xensource.com Git - libvirt.git/commit
Add support for disks backed by plain files in LXC
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 4 Mar 2013 18:09:23 +0000 (18:09 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Mar 2013 18:56:52 +0000 (18:56 +0000)
commiteaf7d4ddffe5c51c21422ad50ab6e90840c5d373
tree7241b0c23fa1b0b81e7e2c2d464ddef151b225a5
parentf0bfb6302d49442d4a924b1eae5772cc952e0def
Add support for disks backed by plain files in LXC

By using a loopback device, disks backed by plain files can
be made available to LXC containers. We make no attempt to
auto-detect format if <driver type="raw"/> is not set,
instead we unconditionally treat that as meaning raw. This
is to avoid the security issues inherent with format
auto-detection

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_controller.c