[libvirt] [PATCH V3] Use loop-control to allocate loop device.

2013-09-03 Thread Ian Main
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 alm

Re: [libvirt] [PATCH V3] Use loop-control to allocate loop device.

2013-09-05 Thread Daniel P. Berrange
On Tue, Sep 03, 2013 at 11:45:51AM -0700, Ian Main wrote: > 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

Re: [libvirt] [PATCH V3] Use loop-control to allocate loop device.

2013-09-09 Thread Ian Main
On Thu, Sep 05, 2013 at 12:33:44PM +0100, Daniel P. Berrange wrote: > On Tue, Sep 03, 2013 at 11:45:51AM -0700, Ian Main wrote: > > 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 t