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] Hypercalls from user-space

To: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Hypercalls from user-space
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 05 Oct 2010 23:09:42 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Oct 2010 15:10:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=3vVZyX8lx9d40nJVtR1D6HCeNqSVzpsqn8K5+hxNArY=; b=irx8+dQll4JmAf1alud+masELe8QwkpTMuKgQHRFlK25ZNmH/Nkn2Fjvf7YPjkxQa6 ACQKUQXkW9Ai9/ECmdVP4hMW4ivHKJH8pvHqrCPVnb2P1b7NlKj2wjiO/06H7NRkT5jI /zQYlt939iJCOybptZ2Bq1/ezc7h+KvkrET4o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=w1+hPg4wTsqe3XHmzmoiwPJz9ZF563YHjdp1b8iHy4GfdesXmjXpz1ROAQJl34LL0w iJl5E4q7GUl5M5hUwn/pnyw1shbStKUUUlRCXDMw4VSbwEUdlWm2sXkP9mubx2MN9izz jxKoYdiC08IOB+eBCgxZnWXbaF/QUlvPY2uMQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=f=C1KYhFieoQOvt8Vc5Bm=YfMNnbp9_cEJ7GZ@xxxxxxxxxxxxxx>
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: Actk2gKh5sKOHtZjEUm+XDU0Xx1vIw==
Thread-topic: [Xen-devel] Hypercalls from user-space
User-agent: Microsoft-Entourage/12.26.0.100708
/proc/xen/privcmd should be available in domU as well. You might need to
enable some dom0 build config options to get it though.

 -- Keir

On 05/10/2010 22:31, "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx> wrote:

> Hi Jeremy,
> 
> I am able to do hypercalls in privileged domain. i want to invoke hypercalls
> (to send EVENT notifications) from DomU.
> Amy pointers for the same would be appreciated.
> 
> --
> Srujan D. Kotikela
> 
> 
> On Fri, Sep 24, 2010 at 2:14 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>>  On 09/24/2010 11:38 AM, Srujan D. Kotikela wrote:
>>> Hi,
>>> 
>>> Can anyone tell me how to invoke hypercalls from user space? Or any
>>> pointers for the same.
>>> 
>>> It's urgent, please help.
>>> 
>> 
>> You can't directly invoke hypercalls from userspace.   In a privileged
>> domain you can use ioctls on /proc/xen/privcmd.
>> 
>>     J
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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

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