]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use loop-control to allocate loop device.
authorIan Main <imain@redhat.com>
Thu, 5 Sep 2013 11:04:33 +0000 (12:04 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 5 Sep 2013 11:31:08 +0000 (12:31 +0100)
commit9ba230d4f2f031e2fda2b6aa98a290394c2ddaaf
tree7a13650c233dcbe0ed9da716275fac647b184f92
parent1583dfda7c4e5ad71efe0615c06e5676528d8203
Use loop-control to allocate loop device.

This patch changes virFileLoopDeviceOpen() to use the new loop-control
device to allocate a new loop device.  If this behavior is unsupported
we fall back to the previous method of searching /dev for a free device.

With this patch you can start as many image based LXC domains as you
like (well almost).

Fixes bug https://bugzilla.redhat.com/show_bug.cgi?id=995543
configure.ac
src/util/virfile.c