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] Testing for shadow modes

To: Daniel Stodden <stodden@xxxxxxxxxx>
Subject: Re: [Xen-devel] Testing for shadow modes
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: Mon, 8 Oct 2007 09:29:26 +0100
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 08 Oct 2007 01:32:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1191765454.7238.5.camel@xxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1191765454.7238.5.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
At 15:57 +0200 on 07 Oct (1191772654), Daniel Stodden wrote:
> I'm looking for the 'correct' way to inquire about the present shadow
> mode of a running domain. OP_ENABLE_TEST sounds interesting, but does
> not look like what I mean it to do.
>
> Is this just missing, or am I missing something?

Yep, it's just missing.  You _can_ query how much shadow memory is
allocated for the domain, and it would be straightforward to add a
shadow operation to query the current mode.  If you're the control
tools, you might remember what you've done to the domain before.  Also,
operations like enabling shadow mode ought to be idempotent.

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508

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

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