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] [PATCH, RFC] Add sysctl to HVM hypercall table

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH, RFC] Add sysctl to HVM hypercall table
From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Date: Wed, 08 Sep 2010 12:00:06 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 08 Sep 2010 09:15:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C8ACFC11.125AF%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: National Security Agency
References: <C8ACFC11.125AF%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2
On 09/08/2010 11:38 AM, Keir Fraser wrote:
> On 08/09/2010 08:20, "Daniel De Graaf" <dgdegra@xxxxxxxxxxxxx> wrote:
>> The sysctl hypercall should be callable from HVM guests.
> Why?
>  K.

I would like to be able to call xc_domain_getinfolist from an HVM driver
domain. This uses the XEN_SYSCTL_getdomaininfolist sysctl.

>> It may be useful to add all (or almost all) hypercalls to the HVM
>> hypercall table, rather than adding them one at a time when it is found
>> that a useful one is missing. While a few hypercalls don't make sense
>> when calling from HVM, any call that can interact with global xen state
>> or another domain could be useful to an HVM driver domain. Thoughts?


Daniel De Graaf
National Security Agency

Xen-devel mailing list