This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] losetup -f not working on SLES10

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] losetup -f not working on SLES10
From: Gary Grebus <Gary.Grebus@xxxxxxxxxx>
Date: Fri, 11 Dec 2009 10:03:55 -0500
Cc: Andre Przywara <andre.przywara@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 11 Dec 2009 07:04:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C747CF8F.423C%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C747CF8F.423C%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090825)
Keir Fraser wrote:
> Fine by me.
>  K.
> On 11/12/2009 10:03, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:
>> Hi,
>> c/s 20404 (http://xenbits.xen.org/xen-unstable.hg?rev/830bda7a9c75)
>> introduces "losetup -f" to the hotplug scripts to find a free loop
>> device. This option does not exists on SLES10, so Xen unstable does not
>> work any longer on top on SLES10. I see that using -f is much smarter
>> than the old-fashioned way, but shouldn't we keep compatibility with
>> older Dom0 userlands?

Ooops. I thought I checked that SLES10 had "-f", but apparently it was

>> Is a patch providing fallback to the old code an option?

Or maybe cleaner to just scan the output of "losetup -a" for
the first unassigned device?  I can work up a patch.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>