WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] do_domctl and EAGAIN

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] do_domctl and EAGAIN
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 10:36:07 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 07 Apr 2009 01:36:35 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1239093410; x=1270629410; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Juergen=20Gross=20<juergen.gross@xxxxxxxxxxxxxx> |Subject:=20Re:=20[Xen-devel]=20do_domctl=20and=20EAGAIN |Date:=20Tue,=2007=20Apr=202009=2010:36:07=20+0200 |Message-ID:=20<49DB1077.5070601@xxxxxxxxxxxxxx>|To:=20Ke ir=20Fraser=20<keir.fraser@xxxxxxxxxxxxx>|CC:=20"xen-deve l@xxxxxxxxxxxxxxxxxxx"=20<xen-devel@xxxxxxxxxxxxxxxxxxx> |MIME-Version:=201.0|Content-Transfer-Encoding:=207bit |In-Reply-To:=20<C600C384.80D8%keir.fraser@xxxxxxxxxxxxx> |References:=20<C600C384.80D8%keir.fraser@xxxxxxxxxxxxx>; bh=tsn0KECnK3FMDi49hT1rxBKtTRloQ3gxCjvoZgGCGB4=; b=L2yekeeBgnEBqeWVwqibzhC+1ZeantVQJjtS48BaMVCFbP0NphgC75YF 0E72Mticb0bzyhxwa9wSB4Z9qVNu+BWW33JSwQ882YOm2P+5YcXzDGVq8 zcvVfY7Q9gEFfwEl6VUnFe/x4ZwSl92da4fIzVrZFI7YesrlAcfn7vRcO 4ZvjALDTrbTEKrKcY8iqXRX0m3zzIaRVQBRqhlBOAksOLJRMK+fRRy8ds tS/4LvHSQyVtVZUeBNAhf7gHd7w7h;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=MLoOCFgkzx8YhYOT34UVLgOHXC1C0/OY6wgli/CUiAzCgMUD6ANK+VE9 mr3r4V3uaekRYnMJSkn1Flj6nrbL2P1i8hooJlIeiQGIwe8i+/dJpv4v7 XeGBTXuFZZAIdbM+uj3/OVU3JnxuTmoOZ7vRRlemJx45rblqPXiyFDfY3 C6Z/DrkU6r+733bBofNGMCC51u0RR4mmfLFhJWRQnZQWIQ7l9L/8TXLA5 kG8vbZoWeTLidKBgXWzW8qpUw1zoR;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C600C384.80D8%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>
Organization: Fujitsu Technology Solutions
References: <C600C384.80D8%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Keir Fraser wrote:
> On 07/04/2009 08:41, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> wrote:
> 
>> Keir Fraser wrote:
>>> Only DOMCTL_destroydomain returns EAGAIN. No domctl returns EINTR.
>> do_domctl uses ioctl.
>> ioctl can return EINTR if a signal is caught.
>>
>> Other hypercalls do return EAGAIN.
> 
> Which ones?

XEN_SYSCTL_pm_op (this one is tested by caller)
xenstore calls (tested by caller)
mmuext_op (NOT always checked by caller)


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@xxxxxxxxxxxxxx
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel