[prev in list] [next in list] [prev in thread] [next in thread]
List: libvir-list
Subject: Re: [libvirt] [PATCH v2 2/5] Re-arrange code setting up ifs/disk loop devices for LXC
From: Eric Blake <eblake () redhat ! com>
Date: 2013-04-30 23:49:27
Message-ID: 51805887.6060300 () redhat ! com
[Download RAW message or body]
On 04/22/2013 08:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@redhat.com>
>
> The current code for setting up loop devices to LXC disks first
> does a switch() based on the disk format, then looks at the
> disk driver name. Reverse this so it first looks at the driver
> name, and then the disk format. This is more useful since the
> list of supported disk formats depends on what driver is used.
>
> The code for setting loop devices for LXC fs entries also needs
> to have the same logic added, now the XML schema supports this.
>
> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
> ---
> src/lxc/lxc_controller.c | 76 +++++++++++++++++++++++++++---------------------
> 1 file changed, 43 insertions(+), 33 deletions(-)
>
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic