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] [PATCH 0/5] x86: properly propagate errors to hypercall

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/5] x86: properly propagate errors to hypercall callee
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Fri, 11 Mar 2011 09:45:07 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 11 Mar 2011 01:45:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:user-agent:date:subject:from:to:cc:message-id :thread-topic:thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=lvAcD2i+Sq4cAoo8I1/s/MMs3UT+rxZdY4D510qJezk=; b=m247zUfQSx1HnfE+sbp1GFX+6uRphigWzXhqOzaVrlGVeCmYqHQ7joRsYyKuw8/Hph HkZVcM9PUxI34CKp3DK9aOHM7bLGz3M+4eUtbF9YfQiFRHC1cDirpSGtds0gWTX93EVo ndzWbLQWwrc2TAlE0LBj4V5IPOZQzwOzKbXGQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=IRdOobqqDTGgVpYe2Fx60HlL/DpEqVctozjGgc9HN5zzG8MUx3NQ9dW3arPn2HpfKm mOYu91WkIlKyuiEAL6q4Gt6flJkH69qKrTJcxJq4Ce+XcWmmpuyf7w73xNC1Tq7rQnvP F8ZU7ha8y/V5iRI+uAtOvAvp49eaARo4NmJxw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D79F89A0200007800035C4D@xxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acvf0QEc5LNOLwt1P0eY0gtXWImhsw==
Thread-topic: [Xen-devel] [PATCH 0/5] x86: properly propagate errors to hypercall callee
User-agent: Microsoft-Entourage/12.28.0.101117
On 11/03/2011 09:25, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

>>>> On 09.03.11 at 12:07, Keir Fraser <keir.xen@xxxxxxxxx> wrote:
>> It seems unfortunate to propagate this to guests. Perhaps we should be
>> making a memory pool for Xen's 1:1 mappings, big enough to allow a 4kB
>> mapping of every page of RAM in the system, and allocate/free pagetables to
>> that pool? The overhead of this would be no more than 0.2% of system memory,
>> which seems reasonable to avoid an error case that is surely hard for a
>> guest to react to or fix.
> 
> Before starting to look into eventual Linux side changes - do you
> then have plans to go that pool route (which would make guest
> side recovery attempts pointless)?

Not really. I was thinking about having a Linux-style mempool for making
allocations more likely to succeed, but it's all a bit ugly really. It'll be
interesting to see what you can do Linux-side, and whether it can pass
muster for the Linux maintainers. You might at least be able to make the io
remappings from device drivers failable (and maybe they are already).

 -- Keir

> Jan
> 



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